snapUpList.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. /* pages/snapUpList/snapUpList.wxss */
  2. page {
  3. background: #f4f4f4;
  4. }
  5. .seckill-box image {
  6. width: 100%;
  7. height: 100%;
  8. }
  9. .banner {
  10. position: relative;
  11. width: 750rpx;
  12. height: 284rpx;
  13. padding-top: 24rpx;
  14. }
  15. .banner .bg {
  16. position: absolute;
  17. top: 0;
  18. left: 0;
  19. font-size: 0;
  20. width: 750rpx;
  21. height: 220rpx;
  22. }
  23. .banner .img {
  24. font-size: 0;
  25. width: 710rpx;
  26. height: 280rpx;
  27. margin: 0 auto;
  28. position: relative;
  29. }
  30. .seckill-list {
  31. padding: 20rpx;
  32. }
  33. .seckill-list .item {
  34. background: #fff;
  35. margin-top: 24rpx;
  36. border-radius: 10rpx;
  37. display: flex;
  38. padding: 20rpx;
  39. }
  40. .seckill-list .item:first-child {
  41. margin-top: 0;
  42. }
  43. .seckill-list .item .img-box {
  44. position: relative;
  45. width: 220rpx;
  46. height: 220rpx;
  47. border-radius: 10rpx;
  48. overflow: hidden;
  49. }
  50. .seckill-list .item .goods-msg {
  51. flex: 1;
  52. margin-left: 20rpx;
  53. }
  54. .seckill-list .item .goods-msg .countdown-box {
  55. display: flex;
  56. align-items: center;
  57. font-size: 24rpx;
  58. color: #666;
  59. margin-top: 4rpx;
  60. }
  61. .seckill-list .item .goods-msg .countdown-box .tip {
  62. margin-right: 10rpx;
  63. }
  64. .seckill-list .item .goods-msg .countdown-box .text {
  65. margin: 0 6rpx;
  66. }
  67. .seckill-list .item .goods-msg .countdown-box .num {
  68. font-family: arial;
  69. font-size: 24rpx;
  70. height: 32rpx;
  71. line-height: 32rpx;
  72. background: #333;
  73. color: #fff;
  74. text-align: center;
  75. padding: 0 6rpx;
  76. border-radius: 4rpx;
  77. }
  78. .seckill-list .item .goods-msg .goods-name {
  79. margin-top: 20rpx;
  80. display: flex;
  81. align-items: center;
  82. }
  83. .seckill-list .item .goods-msg .goods-name .discounts {
  84. margin-right: 10rpx;
  85. background: #04358D;
  86. padding: 4rpx 10rpx;
  87. color: #fff;
  88. border-radius: 30rpx;
  89. font-size: 20rpx;
  90. font-weight: 400;
  91. }
  92. .seckill-list .item .goods-msg .goods-name .name {
  93. flex: 1;
  94. display: -webkit-box;
  95. -webkit-box-orient: vertical;
  96. -webkit-line-clamp: 1;
  97. overflow: hidden;
  98. text-overflow: ellipsis;
  99. font-size: 28rpx;
  100. font-weight: 600;
  101. }
  102. .seckill-list .item .goods-msg .progress-box {
  103. margin-top: 20rpx;
  104. display: flex;
  105. align-items: center;
  106. }
  107. .seckill-list .item .goods-msg .progress-box .bg-box {
  108. flex: 1;
  109. height: 22rpx;
  110. background: #ffebeb;
  111. border-radius: 22rpx;
  112. overflow: hidden;
  113. }
  114. .seckill-list .item .goods-msg .progress-box .bg-box .progress {
  115. height: 22rpx;
  116. border-radius: 22rpx;
  117. background: #ee1c1e;
  118. }
  119. .seckill-list .item .goods-msg .progress-box .text {
  120. font-size: 24rpx;
  121. color: #e43130;
  122. margin-left: 20rpx;
  123. }
  124. .seckill-list .item .goods-msg .goods-price {
  125. display: flex;
  126. align-items: baseline;
  127. margin-top: 26rpx;
  128. }
  129. .seckill-list .item .goods-msg .goods-price .price-box {
  130. flex: 1;
  131. display: flex;
  132. align-items: baseline;
  133. }
  134. .seckill-list .item .goods-msg .goods-price .price-box .current-price {
  135. color: #e43130;
  136. font-size: 36rpx;
  137. font-weight: 600;
  138. }
  139. .seckill-list .item .goods-msg .goods-price .price-box .current-price .sub {
  140. font-size: 24rpx;
  141. }
  142. .seckill-list .item .goods-msg .goods-price .price-box .original-price {
  143. font-size: 24rpx;
  144. text-decoration: line-through;
  145. color: #999;
  146. margin-left: 10rpx;
  147. }
  148. .seckill-list .item .goods-msg .goods-price .residue {
  149. font-size: 24rpx;
  150. color: #999;
  151. }
  152. /* 列表为空 */
  153. .empty {
  154. margin-top: 100rpx;
  155. text-align: cneter;
  156. }
  157. .empty-icon {
  158. display: block;
  159. width: 80rpx;
  160. height: 80rpx;
  161. margin: 0 auto;
  162. margin-bottom: 20rpx;
  163. }
  164. .empty-icon > image {
  165. width: 100%;
  166. height: 100%;
  167. }
  168. .empty-text {
  169. font-size: 28rpx;
  170. text-align: center;
  171. color: #999;
  172. line-height: 2em;
  173. }
  174. /* 分页加载完成 */
  175. .all{
  176. margin: 30rpx;
  177. }