a.scss 10 KB

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