coupons.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. ax-body {
  2. display: block;
  3. height: 100%;
  4. /* background: #F5F7FB; */
  5. }
  6. ax-body .ax-custom-title {
  7. background-color: #fff !important;
  8. }
  9. /* 选项卡start */
  10. .tabs-box {
  11. z-index: 9999;
  12. position: fixed;
  13. width: 100%;
  14. left: 0;
  15. height: 100rpx;
  16. background-color:#C7FFFD;
  17. display: flex;
  18. align-items: center;
  19. text-align: center;
  20. gap: 20rpx;
  21. }
  22. .item-tabs {
  23. flex: 1;
  24. height: 80rpx;
  25. line-height: 80rpx;
  26. position: relative;
  27. color: #B1B1B1;
  28. font-size: 28rpx;
  29. }
  30. .item-tabs:after {
  31. content: '';
  32. position: absolute;
  33. left: 50%;
  34. /* 水平起点居中 */
  35. -webkit-transform: translateX(-50%);
  36. transform: translateX(-50%);
  37. /* 向左偏移自身50%宽度,实现水平居中 */
  38. bottom: 0;
  39. width: 0;
  40. height: 8rpx;
  41. border-radius: 10rpx;
  42. background-color: #3EB6F8;
  43. opacity: 0;
  44. transition: opacity 0.5s;
  45. transition: width 0.3s;
  46. }
  47. .item-tabs.active {
  48. color: #2B303A;
  49. font-weight: bold;
  50. }
  51. .item-tabs.active:after {
  52. width: 48rpx;
  53. opacity: 1;
  54. }
  55. /* 选项卡end */
  56. .list-body {
  57. }
  58. .coupons-list-box {
  59. margin: auto;
  60. margin-top: 20rpx;
  61. position: relative;
  62. overflow: hidden;
  63. height: 196rpx;
  64. width: 702rpx;
  65. }
  66. .coupons-list-box .coupons-bg-img {
  67. position: absolute;
  68. height: 196rpx;
  69. width: 100%;
  70. }
  71. .coupons-content-box {
  72. position: absolute;
  73. display: flex;
  74. height: 196rpx;
  75. }
  76. .coupons-content-box .coupons-left {
  77. margin-top: 24rpx;
  78. width: 180rpx;
  79. text-align: center;
  80. margin-left: 14rpx;
  81. }
  82. .left-price {
  83. font-weight: 800;
  84. font-size: 50rpx;
  85. color: #FFFFFF;
  86. }
  87. .left-price text {
  88. font-size: 28rpx;
  89. }
  90. .left-rules {
  91. height: 46rpx;
  92. line-height: 46rpx;
  93. margin-top: 20rpx;
  94. background-color: #fff;
  95. border-radius: 24rpx;
  96. font-size: 24rpx;
  97. color: #FF6457;
  98. text-align: center;
  99. }
  100. .coupons-center {
  101. text-align: center;
  102. margin-left: 30rpx;
  103. margin-top: 24rpx;
  104. width: 280rpx;
  105. }
  106. .coupons-title {
  107. font-weight: 800;
  108. font-size: 28rpx;
  109. color: #222222;
  110. }
  111. .coupons-valid {
  112. margin-top: 16rpx;
  113. font-size: 22rpx;
  114. color: #AAAAAA;
  115. }
  116. .coupons-range {
  117. margin-top: 16rpx;
  118. font-size: 24rpx;
  119. color: #222222;
  120. }
  121. .coupons-right {
  122. margin-top: 58rpx;
  123. margin-left:50rpx;
  124. }
  125. .coupons-dayrules {
  126. font-size: 20rpx;
  127. color: #AAAAAA;
  128. }
  129. .coupons-getbtn {
  130. margin-top:22rpx;
  131. height: 44rpx;
  132. width: 136rpx;
  133. text-align: center;
  134. line-height: 44rpx;
  135. background: #FF6457;
  136. border-radius: 22rpx;
  137. font-size: 24rpx;
  138. color: #FFFFFF;
  139. }
  140. .ribbon {
  141. width: 160rpx;
  142. height: 30rpx;
  143. background: #FF6457;
  144. position: absolute;
  145. right: -44rpx;
  146. top: 20rpx;
  147. -webkit-transform: rotateZ(45deg);
  148. transform: rotateZ(45deg);
  149. text-align: center;
  150. color: #fff;
  151. font-size: 20rpx;
  152. }
  153. .not-data{
  154. margin-top: 200rpx;
  155. display: flex;
  156. align-items: center;
  157. justify-content: center;
  158. flex-direction: column;
  159. font-size: 14px;
  160. color: #ccc;
  161. }
  162. .not-data .icon{
  163. display: block;
  164. width: 25vw;
  165. margin-bottom: 10px;
  166. }