a.scss 10 KB

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