a.scss 10 KB

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