coupon.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. page{
  2. height: 100%;
  3. }
  4. .box{
  5. height: 100%;
  6. background: #F4F4F4;
  7. width: 100%;
  8. }
  9. .box .top{
  10. width:100%;
  11. height:88rpx;
  12. background:rgba(255,255,255,1);
  13. display: flex;
  14. align-items: center;
  15. position: fixed;
  16. top: 0;
  17. left: 0;
  18. z-index: 99;
  19. }
  20. .box .top view{
  21. display: flex;
  22. flex-direction: column;
  23. align-items: center;
  24. width: 50%;
  25. font-size:32rpx;
  26. font-family:PingFang SC;
  27. font-weight:500;
  28. color:#A09E9E;
  29. }
  30. .box .top .active{
  31. color: #FA790F;
  32. }
  33. .box .top .active text:nth-of-type(2){
  34. width:38rpx;
  35. height:4rpx;
  36. background:rgba(250,125,14,1);
  37. border-radius:2rpx;
  38. position: absolute;
  39. bottom: 0rpx;
  40. }
  41. .box .null{
  42. width: 100%;
  43. display: flex;
  44. flex-direction: column;
  45. align-items: center;
  46. height: 73%;
  47. justify-content: center;
  48. }
  49. .box .null text{
  50. font-size:32rpx;
  51. font-family:PingFang SC;
  52. font-weight:500;
  53. color:rgba(139,139,139,1);
  54. padding-top: 74rpx;
  55. }
  56. .box .coupon_1{
  57. padding-top: 154rpx;
  58. display: flex;
  59. flex-direction: column;
  60. align-items: center;
  61. }
  62. .box .coupon_1 .view{
  63. width: 690rpx;
  64. height: 296rpx;
  65. background-size: 100% 100%;
  66. position: relative;
  67. }
  68. .box .coupon_1 .view1{
  69. background-image: url('http://resource.weilaigo.l4j.cn/coupon_mjq.png');
  70. }
  71. .box .coupon_1 .view2{
  72. background-image: url('http://resource.weilaigo.l4j.cn/cash_coupon.png');
  73. }
  74. .box .coupon_1 .view3{
  75. background-image: url('http://resource.weilaigo.l4j.cn/discount_coupon.png');
  76. }
  77. .box .coupon_1 .time{
  78. font-size:24rpx;
  79. font-family:PingFang SC;
  80. font-weight:400;
  81. position: absolute;
  82. top: 121.5rpx;
  83. left: 100rpx;
  84. }
  85. .box .coupon_1 .view1 .time{
  86. color: #28B9FE;
  87. }
  88. .box .coupon_1 .view2 .time{
  89. color: #FF8378;
  90. }
  91. .box .coupon_1 .view3 .time{
  92. color: #9784F3;
  93. }
  94. .box .coupon_1 .discount{
  95. font-size:40rpx;
  96. font-family:PingFang SC;
  97. font-weight:800;
  98. color:rgba(255,255,255,1);
  99. position: absolute;
  100. top: 112rpx;
  101. right: 96rpx;
  102. }
  103. .box .coupon_1 .money{
  104. display: flex;
  105. align-items: center;
  106. position: absolute;
  107. top: 112rpx;
  108. left: 490rpx;
  109. font-family:PingFang SC;
  110. color:rgba(255,255,255,1);
  111. }
  112. .box .coupon_1 .text{
  113. font-size:26rpx;
  114. font-family:PingFang SC;
  115. position: absolute;
  116. top: 66rpx;
  117. left: 244rpx;
  118. color: white;
  119. font-weight: 400;
  120. }
  121. .box .coupon_2{
  122. padding-top: 154rpx;
  123. display: flex;
  124. flex-direction: column;
  125. align-items: center;
  126. }
  127. .box .coupon_2 .view{
  128. width: 690rpx;
  129. height: 296rpx;
  130. background-size: 100% 100%;
  131. position: relative;
  132. }
  133. .box .coupon_2 .view1{
  134. background-image: url('http://resource.weilaigo.l4j.cn/invalid_mjq.png');
  135. }
  136. .box .coupon_2 .view2{
  137. background-image: url('http://resource.weilaigo.l4j.cn/invalid_xjq.png');
  138. }
  139. .box .coupon_2 .view3{
  140. background-image: url('http://resource.weilaigo.l4j.cn/invalid.png');
  141. }
  142. .box .coupon_2 .text{
  143. font-size:26rpx;
  144. font-family:PingFang SC;
  145. position: absolute;
  146. top: 66rpx;
  147. left: 244rpx;
  148. color: white;
  149. font-weight: 400;
  150. }
  151. .box .coupon_2 .time{
  152. font-size:24rpx;
  153. font-family:PingFang SC;
  154. font-weight:400;
  155. position: absolute;
  156. top: 124.5rpx;
  157. left: 100rpx;
  158. color: #CDCCCE;
  159. }
  160. .box .coupon_2 .discount{
  161. font-size:40rpx;
  162. font-family:PingFang SC;
  163. font-weight:800;
  164. color:rgba(255,255,255,1);
  165. position: absolute;
  166. top: 112rpx;
  167. left: 542rpx;
  168. }
  169. .box .coupon_2 .money{
  170. display: flex;
  171. align-items: center;
  172. position: absolute;
  173. top: 112rpx;
  174. left: 490rpx;
  175. font-family:PingFang SC;
  176. color:rgba(255,255,255,1);
  177. }