couponList.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. page {
  2. background: #f4f4f4;
  3. min-height: 100%;
  4. }
  5. .container {
  6. background: #f4f4f4;
  7. min-height: 100%;
  8. padding-top: 30rpx;
  9. }
  10. .container .h {
  11. position: fixed;
  12. left: 0;
  13. top: 0;
  14. z-index: 1000;
  15. width: 100%;
  16. display: flex;
  17. background: #fff;
  18. height: 84rpx;
  19. border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  20. }
  21. .container .h .item {
  22. display: inline-block;
  23. height: 82rpx;
  24. width: 50%;
  25. padding: 0 15rpx;
  26. text-align: center;
  27. }
  28. .container .h .item .txt {
  29. display: inline-block;
  30. height: 82rpx;
  31. padding: 0 20rpx;
  32. line-height: 82rpx;
  33. color: #333;
  34. font-size: 30rpx;
  35. width: 170rpx;
  36. }
  37. .container .h .item.active .txt {
  38. color: #ab2b2b;
  39. border-bottom: 4rpx solid #ab2b2b;
  40. }
  41. .container .b {
  42. margin-top: 85rpx;
  43. height: auto;
  44. }
  45. .container .b .coupon-form {
  46. height: 110rpx;
  47. width: 100%;
  48. background: #fff;
  49. padding-left: 30rpx;
  50. padding-right: 30rpx;
  51. padding-top: 20rpx;
  52. display: flex;
  53. }
  54. .container .b .input-box {
  55. flex: 1;
  56. height: 70rpx;
  57. color: #333;
  58. font-size: 24rpx;
  59. background: #fff;
  60. position: relative;
  61. border: 1px solid rgba(0, 0, 0, 0.15);
  62. border-radius: 4rpx;
  63. margin-right: 30rpx;
  64. }
  65. .container .b .input-box .coupon-sn {
  66. position: absolute;
  67. top: 10rpx;
  68. left: 30rpx;
  69. height: 50rpx;
  70. width: 100%;
  71. color: #000;
  72. line-height: 50rpx;
  73. font-size: 24rpx;
  74. }
  75. .container .b .clear-icon {
  76. position: absolute;
  77. top: 25rpx;
  78. right: 18rpx;
  79. z-index: 2;
  80. display: block;
  81. background: #fff;
  82. }
  83. .container .b .add-btn {
  84. height: 70rpx;
  85. border: none;
  86. width: 168rpx;
  87. background: #b4282d;
  88. border-radius: 0;
  89. line-height: 70rpx;
  90. color: #fff;
  91. font-size: 28rpx;
  92. text-align: center;
  93. }
  94. .container .b .add-btn.disabled {
  95. background: #ccc;
  96. }
  97. .container .b .help {
  98. height: 72rpx;
  99. line-height: 72rpx;
  100. text-align: right;
  101. padding-right: 30rpx;
  102. background-size: 28rpx;
  103. color: #999;
  104. font-size: 24rpx;
  105. }
  106. .container .b .coupon-list {
  107. width: 750rpx;
  108. height: 100%;
  109. overflow: hidden;
  110. }
  111. .container .b .item {
  112. position: relative;
  113. height: 290rpx;
  114. background: #ccc7c7;
  115. margin-bottom: 30rpx;
  116. margin-left: 30rpx;
  117. margin-right: 30rpx;
  118. padding-top: 52rpx;
  119. }
  120. .container .b .item.active {
  121. background: linear-gradient(to right, #cfa568, #e3bf79);
  122. }
  123. .container .b .tag {
  124. height: 32rpx;
  125. background: #a48143;
  126. padding-left: 16rpx;
  127. padding-right: 16rpx;
  128. position: absolute;
  129. left: 20rpx;
  130. color: #fff;
  131. top: 20rpx;
  132. font-size: 20rpx;
  133. text-align: center;
  134. line-height: 32rpx;
  135. }
  136. .container .b .content {
  137. margin-top: 24rpx;
  138. margin-left: 40rpx;
  139. display: flex;
  140. margin-right: 40rpx;
  141. flex-direction: row;
  142. }
  143. .container .b .content .left {
  144. flex: 1;
  145. }
  146. .container .b .discount {
  147. font-size: 50rpx;
  148. color: #b4282d;
  149. }
  150. .container .b .min {
  151. color: #fff;
  152. }
  153. .container .b .content .right {
  154. width: 400rpx;
  155. }
  156. .container .b .name {
  157. font-size: 44rpx;
  158. color: #fff;
  159. margin-bottom: 14rpx;
  160. }
  161. .container .b .time {
  162. font-size: 24rpx;
  163. color: #fff;
  164. line-height: 30rpx;
  165. }
  166. .container .b .condition {
  167. position: absolute;
  168. width: 100%;
  169. bottom: 0;
  170. left: 0;
  171. height: 78rpx;
  172. background: rgba(0, 0, 0, 0.08);
  173. padding: 24rpx 40rpx;
  174. display: flex;
  175. flex-direction: row;
  176. }
  177. .container .b .condition .txt {
  178. display: block;
  179. height: 30rpx;
  180. flex: 1;
  181. overflow: hidden;
  182. font-size: 24rpx;
  183. line-height: 30rpx;
  184. color: #fff;
  185. }
  186. .container .b .condition .icon {
  187. margin-left: 30rpx;
  188. width: 24rpx;
  189. height: 24rpx;
  190. }
  191. .container .b .page {
  192. width: 750rpx;
  193. height: 108rpx;
  194. background: #fff;
  195. margin-bottom: 20rpx;
  196. }
  197. .container .b .page view {
  198. height: 108rpx;
  199. width: 50%;
  200. float: left;
  201. font-size: 29rpx;
  202. color: #333;
  203. text-align: center;
  204. line-height: 108rpx;
  205. }
  206. .container .b .page .prev {
  207. border-right: 1px solid #d9d9d9;
  208. }
  209. .container .b .page .disabled {
  210. color: #ccc;
  211. }