a.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. input {
  76. width : 75%;
  77. height : $a*60px;
  78. background-color : rgba(240, 243, 245, 1);
  79. border-radius : $a*30px;
  80. border : none;
  81. background-image : url(../static/img/search.png);
  82. background-repeat : no-repeat;
  83. background-position: 15px center;
  84. background-size : 20px;
  85. padding-left : 40px;
  86. color : rgba(153, 153, 153, 1);
  87. }
  88. span {
  89. font-size : 1.5rem;
  90. font-family: PingFang-SC-Medium;
  91. font-weight: 500;
  92. color : rgba(255, 92, 92, 1);
  93. margin-left: 13px;
  94. }
  95. }
  96. .bidlist {
  97. overflow-y : auto;
  98. padding-bottom : 75px;
  99. background-color: #f8f9fa;
  100. height : 90%;
  101. background : #fff;
  102. li {
  103. height : 302px*$a;
  104. margin-bottom : 18px*$a;
  105. background-color: #fff;
  106. padding : 35px*$a;
  107. h2 {
  108. height : 31px*$a;
  109. font-size : 32px*$a;
  110. font-family: PingFang-SC-Bold;
  111. font-weight: bold;
  112. color : rgba(32, 32, 32, 1);
  113. line-height: 31px*$a;
  114. }
  115. .p1 {
  116. margin : 20px*$a 0;
  117. font-size : 26px*$a;
  118. font-family: PingFang-SC-Medium;
  119. font-weight: 500;
  120. color : rgba(122, 122, 122, 1);
  121. }
  122. }
  123. }
  124. .label {
  125. background : rgba(242, 242, 250, 1);
  126. border-radius: 4px;
  127. font-size : 22px*$a;
  128. font-family : PingFang-SC-Regular;
  129. font-weight : 400;
  130. color : rgba(108, 116, 122, 1);
  131. padding : 5px;
  132. }
  133. .time {
  134. float: right;
  135. color: rgba(122, 122, 122, 1);
  136. }
  137. * {
  138. margin : 0;
  139. padding: 0;
  140. }
  141. }
  142. * {
  143. text-decoration: none;
  144. list-style : none;
  145. box-sizing : border-box;
  146. }
  147. $colour :#009688 #5FB878 #393D49 #1E9FFF #F7B824 #FF5722