sort.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. /* pages/sort/sort.wxss */
  2. page {
  3. background: #fff;
  4. }
  5. .search-box {
  6. background: #fff;
  7. padding: 0 30rpx 30rpx;
  8. height: 70rpx;
  9. position: fixed;
  10. top: 0;
  11. left: 0;
  12. right: 0;
  13. z-index: 50;
  14. }
  15. .search {
  16. background: #f7f7f7;
  17. border-radius: 35rpx;
  18. justify-content: center;
  19. font-size: 28rpx;
  20. color: #999;
  21. height: 70rpx;
  22. padding: 0 30rpx;
  23. }
  24. .search image {
  25. width: 30rpx;
  26. height: 30rpx;
  27. margin-right: 20rpx;
  28. }
  29. .tab {
  30. padding: 30rpx;
  31. white-space: nowrap;
  32. -webkit-overflow-scrolling: touch;
  33. background: #F0F0F0;
  34. box-sizing: border-box;
  35. position: fixed;
  36. top: 70rpx;
  37. left: 0;
  38. right: 0rpx;
  39. z-index: 50;
  40. background-color: #fff;
  41. font-size: 30rpx;
  42. }
  43. .tab .li {
  44. display: inline-block;
  45. padding-right: 40rpx;
  46. line-height: 80rpx;
  47. }
  48. .tab .li:last-child {
  49. margin-right: 0;
  50. }
  51. .tab .li.active {
  52. color: var(--main) !important;
  53. font-size: 32rpx;
  54. }
  55. .sort {
  56. padding: 29rpx 0 0 20rpx;
  57. box-sizing: border-box;
  58. }
  59. .sort .li {
  60. border-bottom: 2rpx solid #eee;
  61. padding-bottom: 39rpx;
  62. margin-bottom: 39rpx;
  63. overflow: hidden;
  64. padding-right: 20rpx;
  65. }
  66. .sort .li:last-child {
  67. margin-bottom: 0;
  68. }
  69. .sort .li .flex {
  70. overflow: hidden;
  71. }
  72. .proimgs {
  73. width: 160rpx;
  74. height: 160rpx;
  75. border-radius: 10rpx;
  76. position: relative;
  77. margin-right: 18rpx;
  78. border: 2rpx solid #E5E5E5;
  79. }
  80. .proimg {
  81. box-sizing: border-box;
  82. width: 100%;
  83. height: 100%;
  84. border-radius: 10rpx;
  85. }
  86. .shouqing {
  87. width: 100%;
  88. height: 100%;
  89. border-radius: 10rpx;
  90. position: absolute;
  91. top: 0;
  92. left: 0;
  93. }
  94. .proname {
  95. font-size: 28rpx;
  96. color: #333;
  97. /* text-overflow: ellipsis;
  98. white-space: nowrap; */
  99. line-height: 36rp;
  100. height: 76rpx;
  101. overflow: hidden;
  102. }
  103. .pronames {
  104. font-size: 24rpx;
  105. color: #999;
  106. margin-top: 5rpx;
  107. }
  108. .endtime {
  109. display: inline-block;
  110. height: 32rpx;
  111. line-height: 32rpx;
  112. border: 2rpx solid #FE0419;
  113. border-radius: 6rpx;
  114. padding: 0 8rpx;
  115. font-size: 24rpx;
  116. color: #FE0419;
  117. margin: 15rpx 0 65rpx;
  118. }
  119. .operate {
  120. justify-content: space-between;
  121. align-items: flex-start;
  122. margin-top: 10rpx;
  123. }
  124. .price {
  125. font-size: 24rpx;
  126. align-items: center;
  127. display: flex;
  128. flex-wrap: nowrap;
  129. margin-top: 10rpx;
  130. }
  131. .price text {
  132. font-size: 24rpx;
  133. color: #FE0419;
  134. }
  135. .add-cart image {
  136. width: 12rpx;
  137. height: 24rpx;
  138. margin-top: 14rpx;
  139. margin-left: 20rpx;
  140. }
  141. .nums {
  142. align-items: center;
  143. }
  144. .num {
  145. font-size: 30rpx;
  146. width: 50rpx;
  147. text-align: center;
  148. line-height: 42rpx;
  149. }
  150. .tag{
  151. padding: 4rpx 10rpx;
  152. font-size: 24rpx;
  153. color: #4b95f6;
  154. background-color: #ecf0fd;
  155. margin-right: 10rpx;
  156. margin-top: 10rpx;
  157. }
  158. ::-webkit-scrollbar {
  159. display: none;
  160. }