coupons.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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: 300rpx;
  105. }
  106. .coupons-title {
  107. width:300rpx;
  108. font-weight: 800;
  109. font-size: 28rpx;
  110. color: #222222;
  111. }
  112. .coupons-valid {
  113. margin-top: 16rpx;
  114. font-size: 22rpx;
  115. color: #AAAAAA;
  116. }
  117. .coupons-range {
  118. margin-top: 16rpx;
  119. font-size: 24rpx;
  120. color: #222222;
  121. }
  122. .coupons-right {
  123. margin-top: 58rpx;
  124. margin-left:40rpx;
  125. }
  126. .coupons-dayrules {
  127. width: 150rpx;
  128. height: 60rpx;
  129. font-size: 20rpx;
  130. color: #AAAAAA;
  131. }
  132. .coupons-getbtn {
  133. margin-top:22rpx;
  134. height: 44rpx;
  135. width: 136rpx;
  136. text-align: center;
  137. line-height: 44rpx;
  138. background: #FF6457;
  139. border-radius: 22rpx;
  140. font-size: 24rpx;
  141. color: #FFFFFF;
  142. }
  143. .ribbon {
  144. width: 160rpx;
  145. height: 30rpx;
  146. background: #FF6457;
  147. position: absolute;
  148. right: -44rpx;
  149. top: 20rpx;
  150. -webkit-transform: rotateZ(45deg);
  151. transform: rotateZ(45deg);
  152. text-align: center;
  153. color: #fff;
  154. font-size: 20rpx;
  155. }
  156. .not-data{
  157. margin-top: 200rpx;
  158. display: flex;
  159. align-items: center;
  160. justify-content: center;
  161. flex-direction: column;
  162. font-size: 14px;
  163. color: #ccc;
  164. }
  165. .not-data .icon{
  166. display: block;
  167. width: 25vw;
  168. margin-bottom: 10px;
  169. }