coupon.wxss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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.bike.hanyiyun.com/weapp/manjian1.png');
  70. }
  71. .box .coupon_1 .view2{
  72. background-image: url('http://resource.bike.hanyiyun.com/weapp/xianjin1.png');
  73. }
  74. .box .coupon_1 .view3{
  75. /* background-image: url('http://resource.bike.hanyiyun.com/weapp/zhekou1.png'); */
  76. background-image: url('http://resource.bike.hanyiyun.com/weapp/zhekou1.png');
  77. }
  78. .box .coupon_1 .view4{
  79. /* background-image: url('http://resource.bike.hanyiyun.com/weapp/zhekou1.png'); */
  80. background-image: url('http://resource.bike.hanyiyun.com/mianya2.png');
  81. }
  82. .box .coupon_1 .time{
  83. font-size:26rpx;
  84. font-family:PingFang SC;
  85. font-weight:400;
  86. position: absolute;
  87. top: 121.5rpx;
  88. left: 100rpx;
  89. }
  90. .box .coupon_1 .view1 .time{
  91. color: white;
  92. }
  93. .box .coupon_1 .view2 .time{
  94. color: white;
  95. }
  96. .box .coupon_1 .view3 .time{
  97. color: white;
  98. }
  99. .box .coupon_1 .view4 .time{
  100. color: rgba(255, 90, 80, 1);
  101. margin-top: 5rpx;
  102. font-weight: 550;
  103. }
  104. .box .coupon_1 .discount{
  105. font-size:40rpx;
  106. font-family:PingFang SC;
  107. font-weight:800;
  108. color:rgba(255,255,255,1);
  109. position: absolute;
  110. top: 112rpx;
  111. right: 80rpx;
  112. }
  113. .bg{
  114. width: 300rpx;
  115. height: 200rpx;
  116. background-color: #FA790F;
  117. }
  118. .box .coupon_1 .money{
  119. display: flex;
  120. align-items: center;
  121. position: absolute;
  122. top: 112rpx;
  123. left: 490rpx;
  124. font-family:PingFang SC;
  125. color:rgba(255,255,255,1);
  126. }
  127. .box .coupon_1 .text{
  128. font-size:26rpx;
  129. font-family:PingFang SC;
  130. position: absolute;
  131. top: 66rpx;
  132. left: 244rpx;
  133. color: white;
  134. font-weight: 400;
  135. }
  136. .box .coupon_2{
  137. padding-top: 154rpx;
  138. display: flex;
  139. flex-direction: column;
  140. align-items: center;
  141. }
  142. .box .coupon_2 .view{
  143. width: 690rpx;
  144. height: 296rpx;
  145. background-size: 100% 100%;
  146. position: relative;
  147. }
  148. .box .coupon_2 .view1{
  149. background-image: url('http://resource.bike.hanyiyun.com/weapp/huimanjian.png');
  150. }
  151. .box .coupon_2 .view2{
  152. background-image: url('http://resource.bike.hanyiyun.com/weapp/huixianjin.png');
  153. }
  154. .box .coupon_2 .view3{
  155. background-image: url('http://resource.bike.hanyiyun.com/weapp/huizhekou.png');
  156. }
  157. .box .coupon_2 .view4{
  158. background-image: url('http://resource.bike.hanyiyun.com/mianya3.png');
  159. }
  160. .box .coupon_2 .text{
  161. font-size:26rpx;
  162. font-family:PingFang SC;
  163. position: absolute;
  164. top: 66rpx;
  165. left: 244rpx;
  166. color: white;
  167. font-weight: 400;
  168. }
  169. .box .coupon_2 .time{
  170. font-size:24rpx;
  171. font-family:PingFang SC;
  172. font-weight:400;
  173. position: absolute;
  174. top: 124.5rpx;
  175. left: 100rpx;
  176. color: #CDCCCE;
  177. }
  178. .box .coupon_2 .discount{
  179. font-size:40rpx;
  180. font-family:PingFang SC;
  181. font-weight:800;
  182. color:rgba(255,255,255,1);
  183. position: absolute;
  184. top: 112rpx;
  185. right: 40rpx;
  186. }
  187. .box .coupon_2 .money{
  188. display: flex;
  189. align-items: center;
  190. position: absolute;
  191. top: 112rpx;
  192. left: 490rpx;
  193. font-family:PingFang SC;
  194. color:rgba(255,255,255,1);
  195. }