index.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. page {
  2. background-color: #F5F5F5 !important;
  3. }
  4. .flash-sale .header {
  5. width: 710rpx;
  6. height: 300rpx;
  7. margin: -215rpx auto 0 auto;
  8. border-radius: 20rpx;
  9. }
  10. .flash-sale .header image {
  11. width: 100%;
  12. height: 100%;
  13. border-radius: 20rpx;
  14. }
  15. .flash-sale .seckillList {
  16. padding: 0 20rpx;
  17. }
  18. .flash-sale .seckillList .priceTag {
  19. width: 75rpx;
  20. height: 70rpx;
  21. }
  22. .flash-sale .seckillList .priceTag image {
  23. width: 100%;
  24. height: 100%;
  25. }
  26. .flash-sale .timeLsit {
  27. width: 610rpx;
  28. white-space: nowrap;
  29. margin: 10rpx 0;
  30. }
  31. .flash-sale .timeLsit .item {
  32. display: inline-block;
  33. font-size: 20rpx;
  34. color: #666;
  35. text-align: center;
  36. padding: 11rpx 0;
  37. box-sizing: border-box;
  38. height: 96rpx;
  39. margin-right: 35rpx;
  40. }
  41. .flash-sale .timeLsit .item .time {
  42. font-size: 36rpx;
  43. font-weight: 600;
  44. color: #333;
  45. }
  46. .flash-sale .timeLsit .item.on .time {
  47. color: #E93323;
  48. }
  49. .flash-sale .timeLsit .item.on .state {
  50. width: 90rpx;
  51. height: 30rpx;
  52. border-radius: 15rpx;
  53. background: linear-gradient(90deg, rgba(252, 25, 75, 1) 0%, rgba(252, 60, 32, 1) 100%);
  54. color: #fff;
  55. }
  56. .flash-sale .countDown {
  57. height: 92rpx;
  58. border-bottom: 1rpx solid #f0f0f0;
  59. margin-top: -14rpx;
  60. font-size: 28rpx;
  61. color: #282828;
  62. }
  63. .flash-sale .countDown .num {
  64. font-size: 28rpx;
  65. font-weight: bold;
  66. background-color: #ffcfcb;
  67. padding: 4rpx 7rpx;
  68. border-radius: 3rpx;
  69. }
  70. .flash-sale .countDown .text {
  71. font-size: 28rpx;
  72. color: #282828;
  73. margin-right: 13rpx;
  74. }
  75. .flash-sale .list .item {
  76. height: 230rpx;
  77. position: relative;
  78. width: 710rpx;
  79. margin: 0 auto 20rpx auto;
  80. background-color: #fff;
  81. border-radius: 20rpx;
  82. padding: 0 25rpx;
  83. }
  84. .flash-sale .list .item .pictrue {
  85. width: 180rpx;
  86. height: 180rpx;
  87. border-radius: 10rpx;
  88. }
  89. .flash-sale .list .item .pictrue image {
  90. width: 100%;
  91. height: 100%;
  92. border-radius: 10rpx;
  93. }
  94. .flash-sale .list .item .text {
  95. width: 460rpx;
  96. font-size: 30rpx;
  97. color: #333;
  98. height: 166rpx;
  99. }
  100. .flash-sale .list .item .text .name {
  101. width: 100%;
  102. }
  103. .flash-sale .list .item .text .money {
  104. font-size: 30rpx;
  105. color: #E93323;
  106. }
  107. .flash-sale .list .item .text .money .num {
  108. font-size: 40rpx;
  109. font-weight: 500;
  110. font-family: 'Guildford Pro';
  111. }
  112. .flash-sale .list .item .text .money .y_money {
  113. font-size: 24rpx;
  114. color: #999;
  115. text-decoration-line: line-through;
  116. margin-left: 15rpx;
  117. }
  118. .flash-sale .list .item .text .limit {
  119. font-size: 22rpx;
  120. color: #999;
  121. margin-bottom: 5rpx;
  122. }
  123. .flash-sale .list .item .text .limit .limitPrice {
  124. margin-left: 10rpx;
  125. }
  126. .flash-sale .list .item .text .progress {
  127. overflow: hidden;
  128. background-color: #FFEFEF;
  129. width: 260rpx;
  130. border-radius: 18rpx;
  131. height: 18rpx;
  132. position: relative;
  133. }
  134. .flash-sale .list .item .text .progress .bg-reds {
  135. width: 0;
  136. height: 100%;
  137. transition: width 0.6s ease;
  138. background: linear-gradient(90deg, rgba(233, 51, 35, 1) 0%, rgba(255, 137, 51, 1) 100%);
  139. }
  140. .flash-sale .list .item .text .progress .piece {
  141. position: absolute;
  142. left: 8%;
  143. transform: translate(0%, -50%);
  144. top: 49%;
  145. font-size: 16rpx;
  146. color: #FFB9B9;
  147. }
  148. .flash-sale .list .item .grab {
  149. font-size: 28rpx;
  150. color: #fff;
  151. width: 150rpx;
  152. height: 54rpx;
  153. border-radius: 27rpx;
  154. text-align: center;
  155. line-height: 54rpx;
  156. position: absolute;
  157. right: 30rpx;
  158. bottom: 30rpx;
  159. }
  160. .flash-sale .saleBox {
  161. width: 100%;
  162. height: 230rpx;
  163. background: rgba(233, 51, 35, 1);
  164. border-radius: 0 0 50rpx 50rpx;
  165. }