specialDiscount.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /* pages/specialDiscount/specialDiscount.wxss */
  2. /* 限时特惠 */
  3. .discount-list {
  4. padding: 10rpx 20rpx 20rpx;
  5. position: relative;
  6. }
  7. .discount-list .list-bg {
  8. position: absolute;
  9. left: 0;
  10. top: 0;
  11. width: 100%;
  12. height: 250rpx;
  13. }
  14. .discount-list .item {
  15. width: 100%;
  16. height: 260rpx;
  17. position: relative;
  18. margin-top: 26rpx;
  19. border-radius: 10rpx;
  20. display: flex;
  21. align-items: center;
  22. }
  23. .discount-list .item.no-bg {
  24. background: #999;
  25. }
  26. .discount-list .item .bg {
  27. position: absolute;
  28. top: 0;
  29. left: 0;
  30. border-radius: 10rpx;
  31. width: 100%;
  32. height: 100%;
  33. }
  34. .discount-list .item .text-box {
  35. padding: 30rpx;
  36. position: relative;
  37. }
  38. .discount-list .item .info {
  39. font-size: 38rpx;
  40. color: #fff;
  41. font-weight: 600;
  42. }
  43. .discount-list .item .shop {
  44. margin-top: 10rpx;
  45. font-size: 28rpx;
  46. color: #fff;
  47. }
  48. .discount-list .item .shop .arr {
  49. width: 20rpx;
  50. height: 20rpx;
  51. margin-left: 10rpx;
  52. }
  53. .discount-list .item .time {
  54. font-size: 24rpx;
  55. color: #fff;
  56. margin-top: 30rpx;
  57. display: flex;
  58. align-items: center;
  59. }
  60. .discount-list .item .time .time-icon {
  61. width: 22rpx;
  62. height: 22rpx;
  63. border: 2rpx solid #fff;
  64. border-radius: 50%;
  65. position: relative;
  66. margin-right: 10rpx;
  67. }
  68. .discount-list .item .time .time-icon::before,
  69. .discount-list .item .time .time-icon::after {
  70. position: absolute;
  71. display: block;
  72. content: " ";
  73. background: #fff;
  74. }
  75. .discount-list .item .time .time-icon::before {
  76. width: 2rpx;
  77. height: 10rpx;
  78. top: 6rpx;
  79. left: 10rpx;
  80. }
  81. .discount-list .item .time .time-icon::after {
  82. width: 6rpx;
  83. height: 2rpx;
  84. top: 14rpx;
  85. right: 6rpx;
  86. }
  87. .discount-list .item .time .much-time {
  88. display: flex;
  89. align-items: center;
  90. }
  91. .discount-list .item .time .much-time .day {
  92. color: #f6e59e;
  93. font-family: arial;
  94. margin: 0 6rpx;
  95. }
  96. .discount-list .item .time .number-box {
  97. display: flex;
  98. align-items: center;
  99. color: #fff;
  100. margin-left: 10rpx;
  101. }
  102. .discount-list .item .time .number-box .number {
  103. font-family: arial;
  104. padding: 2rpx 6rpx;
  105. text-align: center;
  106. background: rgba(0,0,0,.7);
  107. border-radius: 4rpx;
  108. font-size: 24rpx;
  109. }
  110. .discount-list .item .time .number-box .colon {
  111. font-family: arial;
  112. margin: 0 6rpx;
  113. }
  114. /* 限时特惠 end */