a.scss 11 KB

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