a.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  1. @charset "utf-8";
  2. //font
  3. $table:98px*0.5;
  4. $a :0.5;
  5. $z1 :10;
  6. $z2 :50;
  7. $z3 :100;
  8. body {
  9. padding-bottom : $table;
  10. font-size : 1.5rem;
  11. height : 100%;
  12. position : relative;
  13. max-width : 500px;
  14. margin : auto;
  15. div{
  16. height: 100%;
  17. }
  18. .table {
  19. position : fixed;
  20. bottom : 0;
  21. width : 100%;
  22. height : $table;
  23. margin : 0;
  24. background-color: #fff;
  25. padding : 5px 0;
  26. z-index : 10000;
  27. max-width : 500px;
  28. ul {
  29. width : 100%;
  30. height: 100%;
  31. a:nth-child(1) li {
  32. background-image: url(../static/img/ztb.png);
  33. }
  34. a:nth-child(2) li {
  35. background-image: url(../static/img/gc.png);
  36. }
  37. a:nth-child(3) li {
  38. background-image: url(../static/img/xm.png);
  39. }
  40. a:nth-child(4) li {
  41. background-image: url(../static/img/me.png);
  42. }
  43. a:nth-child(1) li.selected {
  44. background-image: url(../static/img/ztb1.png);
  45. }
  46. a:nth-child(2) li.selected {
  47. background-image: url(../static/img/gc1.png);
  48. }
  49. a:nth-child(3) li.selected {
  50. background-image: url(../static/img/xm1.png);
  51. }
  52. a:nth-child(4) li.selected {
  53. background-image: url(../static/img/me1.png);
  54. }
  55. li {
  56. width : 24%;
  57. height : 100%;
  58. display : inline-block;
  59. text-align : center;
  60. background-size: 22px !important;
  61. background : no-repeat center top;
  62. background-position: center 2px;
  63. span {
  64. margin-top: 24px;
  65. display : inline-block;
  66. color : rgba(175, 175, 175, 1);
  67. font-size: 10px;
  68. }
  69. }
  70. li.selected {
  71. span {
  72. color: #ff5c5c;
  73. }
  74. }
  75. }
  76. }
  77. .search {
  78. width : 100%;
  79. height : 44px;
  80. padding : 6px 17px;
  81. background: #fff;
  82. text-align: center;
  83. input {
  84. width : 73%;
  85. height : $a*60px;
  86. background-color : rgba(240, 243, 245, 1);
  87. border-radius : $a*30px;
  88. border : none;
  89. background-image : url(../static/img/search.png);
  90. background-repeat : no-repeat;
  91. background-position: 15px center;
  92. background-size : 16px;
  93. padding-left : 40px;
  94. color : rgba(153, 153, 153, 1);
  95. outline : none;
  96. }
  97. span {
  98. font-size : 1.5rem;
  99. font-family: PingFang-SC-Medium;
  100. font-weight: 500;
  101. color : rgba(255, 92, 92, 1);
  102. margin-left: 13px;
  103. }
  104. }
  105. .bidlist {
  106. overflow-y : auto;
  107. padding-bottom : 75px;
  108. background-color: #f8f9fa;
  109. height : 90%;
  110. li {
  111. height : 302px*$a;
  112. margin-bottom : 18px*$a;
  113. background-color: #fff;
  114. padding : 35px*$a;
  115. h2 {
  116. height : 31px*$a;
  117. font-size : 36px*$a;
  118. font-family: PingFang-SC-Bold;
  119. font-weight: bold;
  120. color : rgba(32, 32, 32, 1);
  121. line-height: 31px*$a;
  122. }
  123. .p1 {
  124. margin : 20px*$a 0;
  125. font-size : 28px*$a;
  126. font-family: PingFang-SC-Medium;
  127. font-weight: 500;
  128. color : rgba(122, 122, 122, 1);
  129. }
  130. .time {
  131. float: right;
  132. }
  133. }
  134. }
  135. .label {
  136. background : rgba(242, 242, 250, 1);
  137. border-radius: 4px;
  138. font-size : 24px*$a;
  139. font-family : PingFang-SC-Regular;
  140. font-weight : 400;
  141. color : rgba(108, 116, 122, 1);
  142. padding : 5px;
  143. }
  144. .time {
  145. color: #afafaf;
  146. }
  147. * {
  148. margin : 0;
  149. padding: 0;
  150. }
  151. }
  152. * {
  153. text-decoration: none;
  154. list-style : none;
  155. box-sizing : border-box;
  156. }
  157. table {
  158. table-layout: fixed;
  159. word-break : break-all;
  160. }
  161. $colour :#009688 #5FB878 #393D49 #1E9FFF #F7B824 #FF5722;
  162. // //组件---支付弹窗
  163. .payment {
  164. position : fixed;
  165. width : 100%;
  166. left : 0;
  167. top : 0;
  168. height : 100%;
  169. background-color : rgba(0, 0, 0, .5);
  170. background-position-x: 20px;
  171. background-size : 50%;
  172. div {
  173. height: auto;
  174. }
  175. >div {
  176. position : absolute;
  177. bottom : 0;
  178. left : 0;
  179. background-color: #fff;
  180. padding : 20px 0;
  181. width : 100%;
  182. max-height : 360px;
  183. >p {
  184. margin-bottom: 20px;
  185. font-size : 16px;
  186. font-family : PingFang-SC-Bold;
  187. font-weight : bold;
  188. color : rgba(32, 32, 32, 1);
  189. padding : 0 15px;
  190. }
  191. .auto {
  192. overflow-x: scroll;
  193. border-top: .5px solid #f0f0f0;
  194. border-bottom: .5px solid #f0f0f0;
  195. ul {
  196. text-align: center;
  197. padding: 20px 0;
  198. overflow-x: auto;
  199. width : 390px;
  200. // border-top: .5px solid #afafaf;
  201. li {
  202. width : 107px;
  203. text-align : center;
  204. display : inline-block;
  205. margin-right: 10px;
  206. p {
  207. line-height : 58px;
  208. width : 100%;
  209. height : 64px;
  210. text-align : center;
  211. display : inline-block;
  212. background : rgba(255, 255, 255, 1);
  213. border : 2px solid #f0f0f0;
  214. border-radius: 16px;
  215. color : red;
  216. span {
  217. font-size : 18px;
  218. font-family: PingFang-SC-Bold;
  219. font-weight: bold;
  220. i {
  221. font-size : 14px;
  222. font-style: normal;
  223. }
  224. }
  225. }
  226. >span {
  227. font-size : 22px*0.5;
  228. font-family: PingFang-SC-Medium;
  229. font-weight: 500;
  230. color : rgba(175, 175, 175, 1);
  231. }
  232. }
  233. .discount {
  234. p {
  235. line-height: normal;
  236. padding-top: 8px;
  237. }
  238. .del {
  239. display : block;
  240. font-size : 26px*0.5;
  241. font-family : PingFang-SC-Medium;
  242. font-weight : 500;
  243. text-decoration: line-through;
  244. color : rgba(204, 204, 204, 1);
  245. }
  246. }
  247. }
  248. }
  249. .confirm {
  250. padding: 20px 15px 0 15px;
  251. width : 100%;
  252. button {
  253. width : 90%;
  254. height : 40px;
  255. background : rgba(255, 92, 92, 1);
  256. border-radius: 8px;
  257. border : none;
  258. margin : auto;
  259. display : block;
  260. color : #fff;
  261. font-size : 16px;
  262. font-family : PingFang-SC-Medium;
  263. font-weight : 500;
  264. }
  265. p {
  266. font-size : 29px*0.5;
  267. font-family: PingFang-SC-Medium;
  268. font-weight: 500;
  269. color : rgba(175, 175, 175, 1);
  270. text-align : center;
  271. margin-top : 10px;
  272. span {
  273. color: red;
  274. }
  275. }
  276. }
  277. }
  278. }
  279. //组件---标题
  280. .head {
  281. padding : 10px 10px;
  282. text-align: center;
  283. img {
  284. height: 20px;
  285. }
  286. img:last-child {
  287. margin-left: 10px;
  288. }
  289. span {
  290. display : inline-block;
  291. width : calc(100% - 80px);
  292. padding-left: 40px;
  293. font-size : 18px;
  294. font-family : PingFang-SC-Bold;
  295. font-weight : bold;
  296. color : rgba(32, 32, 32, 1);
  297. }
  298. }
  299. .sub {
  300. .add {
  301. padding-left: 15px;
  302. border-top : 1px solid #f0f0f0;
  303. li {
  304. padding: 35px*0.5 0;
  305. position: relative;
  306. &::after{
  307. position: absolute;
  308. content: '';
  309. display: block;
  310. width: 100%;
  311. height: 1px;
  312. left: 0;
  313. bottom: 0;
  314. right: 0;
  315. // margin-left: -1.5rem;
  316. // margin-right: -1.5rem;
  317. padding-right: 1.5rem;
  318. background-color: #f0f0f0;
  319. }
  320. .title {
  321. font-size : 16px;
  322. font-family: PingFang-SC-Medium;
  323. font-weight: 500;
  324. color : rgba(32, 32, 32, 1);
  325. }
  326. .name {
  327. font-size : 28px*0.5;
  328. font-family : PingFang-SC-Medium;
  329. font-weight : 500;
  330. color : rgba(175, 175, 175, 1);
  331. float : right;
  332. padding-right: 15px;
  333. img {
  334. width : 8px;
  335. vertical-align: sub;
  336. margin-left : 5px;
  337. }
  338. }
  339. }
  340. }
  341. button {
  342. width : 100%;
  343. height : 50px;
  344. position : absolute;
  345. bottom : 0;
  346. left : 0;
  347. border : none;
  348. background : rgba(255, 92, 92, 1);
  349. font-size : 18px;
  350. font-family: PingFang-SC-Medium;
  351. font-weight: 500;
  352. color : rgba(255, 255, 255, 1);
  353. }
  354. }