index.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. page, .container {
  2. background: #efeff4;
  3. }
  4. /*隐藏滚动条*/
  5. ::-webkit-scrollbar {
  6. width: 0;
  7. height: 0;
  8. color: transparent;
  9. }
  10. .sharp-tabs {
  11. background: #fff;
  12. }
  13. .sharp-tabs .sharp-tabs--container {
  14. background: #30353c;
  15. }
  16. .sharp-tabs .sharp-tabs--empty {
  17. padding-bottom: 30rpx;
  18. }
  19. .sharp-tabs .tabs-item {
  20. position: relative;
  21. min-width: 170rpx;
  22. height: 110rpx;
  23. background: #30353c;
  24. color: #fff;
  25. padding: 15rpx 45rpx;
  26. text-align: center;
  27. box-sizing: border-box;
  28. white-space: nowrap;
  29. }
  30. .sharp-tabs .tabs-item .item-time {
  31. font-size: 32rpx;
  32. }
  33. .sharp-tabs .tabs-item .item-status {
  34. font-size: 24rpx;
  35. }
  36. .sharp-tabs .tabs-item .item-title {
  37. font-size: 30rpx;
  38. }
  39. .sharp-tabs .tabs-item.active {
  40. background: #fd4a5f;
  41. }
  42. .sharp-tabs .tabs-item.active::after {
  43. content: "";
  44. display: block;
  45. position: absolute;
  46. z-index: 999;
  47. bottom: -15rpx;
  48. left: 50%;
  49. margin-left: -12rpx;
  50. width: 0;
  51. height: 0;
  52. border: 20rpx solid #fd4a5f;
  53. border-left-color: transparent;
  54. border-right-color: transparent;
  55. border-bottom-color: transparent;
  56. border-bottom-width: 0;
  57. }
  58. /* 活动状态 */
  59. .sharp-active {
  60. background: #fff;
  61. padding-bottom: 30rpx;
  62. }
  63. .sharp-active .active-status {
  64. font-size: 32rpx;
  65. color: #fd4a5f;
  66. margin-bottom: 20rpx;
  67. }
  68. .sharp-active .active-status .active-status--icon {
  69. margin-right: 10rpx;
  70. }
  71. .sharp-active .active-status .active-status--time {
  72. margin-right: 10rpx;
  73. }
  74. /* 倒计时 */
  75. .active--count-down {
  76. font-size: 26rpx;
  77. height: 40rpx;
  78. }
  79. /* 商品列表 */
  80. .bargain-hall {
  81. padding-top: 20rpx;
  82. /* background: #fff; */
  83. }
  84. .goods-item {
  85. background: #fff;
  86. padding: 30rpx 16rpx;
  87. border-bottom: 1rpx solid #e7e7e7;
  88. }
  89. .goods-item .goods-image image {
  90. display: block;
  91. width: 220rpx;
  92. height: 220rpx;
  93. }
  94. .goods-item .goods-info {
  95. width: 498rpx;
  96. padding-top: 8rpx;
  97. margin-left: 15rpx;
  98. position: relative;
  99. }
  100. .goods-item .goods-info .goods-name {
  101. font-size: 28rpx;
  102. min-height: 72rpx;
  103. margin-bottom: 20rpx;
  104. }
  105. /* 秒杀进度条 */
  106. .yoo-progress {
  107. position: relative;
  108. width: 70%;
  109. height: 14px;
  110. border-radius: 6px;
  111. background: rgb(248, 182, 182);
  112. }
  113. .yoo-progress--portion {
  114. width: 0%;
  115. height: 100%;
  116. border-radius: 6px;
  117. background: linear-gradient(to right, rgb(247, 102, 83), #fd4a5f);
  118. }
  119. .yoo-progress--text {
  120. color: #fff;
  121. font-size: 24rpx;
  122. line-height: 1.6;
  123. position: absolute;
  124. left: 50%;
  125. top: 50%;
  126. transform: translate(-50%, -50%);
  127. }
  128. .sharp-sales {
  129. margin-left: 30rpx;
  130. font-size: 24rpx;
  131. color: #fd4a5f;
  132. white-space: nowrap;
  133. }
  134. /* 秒杀价格 */
  135. .sharp-price {
  136. margin-top: 40rpx;
  137. line-height: 1;
  138. }
  139. .seckill-price {
  140. font-size: 32rpx;
  141. color: #fd4a5f;
  142. margin-bottom: -2rpx;
  143. }
  144. .original-price {
  145. margin-left: 5rpx;
  146. font-size: 24rpx;
  147. color: #818181;
  148. text-decoration: line-through;
  149. }
  150. /* 立即参加按钮 */
  151. .opt-touch {
  152. position: absolute;
  153. bottom: 0;
  154. right: 10rpx;
  155. }
  156. .touch-btn {
  157. color: #fff;
  158. font-size: 26rpx;
  159. background: #fd4a5f;
  160. border-radius: 30rpx;
  161. padding: 10rpx 30rpx;
  162. }