selCoupon.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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. .not-use {
  11. margin: 30rpx auto 30rpx;
  12. width: 690rpx;
  13. height: 88rpx;
  14. background-color: #ED5D18;
  15. border-radius: 5rpx;
  16. font-size: 32rpx;
  17. font-weight: normal;
  18. font-stretch: normal;
  19. line-height: 0px;
  20. letter-spacing: 0px;
  21. color: #fff;
  22. display: flex;
  23. justify-content: center;
  24. align-items: center;
  25. }
  26. .coupon-form{
  27. height: 110rpx;
  28. width: 100%;
  29. background: #fff;
  30. padding-left: 30rpx;
  31. padding-right: 30rpx;
  32. padding-top: 20rpx;
  33. display: flex;
  34. }
  35. .input-box{
  36. flex: 1;
  37. height: 70rpx;
  38. color: #333;
  39. font-size: 24rpx;
  40. background: #fff;
  41. position: relative;
  42. border: 1px solid rgba(0, 0, 0, 0.15);
  43. border-radius: 4rpx;
  44. margin-right: 30rpx;
  45. }
  46. .input-box .coupon-sn{
  47. position: absolute;
  48. top: 10rpx;
  49. left: 30rpx;
  50. height: 50rpx;
  51. width: 100%;
  52. color: #000;
  53. line-height: 50rpx;
  54. font-size: 24rpx;
  55. }
  56. .clear-icon{
  57. position: absolute;
  58. top: 21rpx;
  59. right: 30rpx;
  60. width: 28rpx;
  61. height: 28rpx;
  62. }
  63. .add-btn{
  64. display: flex;
  65. justify-content: center;
  66. align-items: center;
  67. height: 70rpx;
  68. border:none;
  69. width: 168rpx;
  70. background: #b4282d;
  71. border-radius: 0;
  72. line-height: 70rpx;
  73. color: #fff;
  74. font-size: 28rpx;
  75. }
  76. .add-btn.disabled{
  77. background: #ccc;
  78. }
  79. .help{
  80. height: 72rpx;
  81. line-height: 72rpx;
  82. text-align: right;
  83. padding-right: 30rpx;
  84. background: url(https://platform-wxmall.oss-cn-beijing.aliyuncs.com/upload/20180727/15032866437ca8.png) 590rpx center no-repeat;
  85. background-size: 28rpx;
  86. color: #999;
  87. font-size: 24rpx;
  88. }
  89. .coupon-list{
  90. width: 100%;
  91. height: auto;
  92. overflow: hidden;
  93. padding-left: 30rpx;
  94. padding-right: 30rpx;
  95. }
  96. .item{
  97. position: relative;
  98. height: 290rpx;
  99. width: 100%;
  100. border-radius: 8rpx;
  101. margin-bottom: 30rpx;
  102. padding-top: 52rpx;
  103. }
  104. .tag{
  105. height: 32rpx;
  106. background: #A48143;
  107. padding-left: 16rpx;
  108. padding-right: 16rpx;
  109. position: absolute;
  110. left: 20rpx;
  111. color: #fff;
  112. top: 20rpx;
  113. font-size: 20rpx;
  114. text-align: center;
  115. line-height: 32rpx;
  116. }
  117. .content{
  118. margin-top: 24rpx;
  119. margin-left: 40rpx;
  120. display: flex;
  121. margin-right: 40rpx;
  122. flex-direction: row;
  123. align-items: center;
  124. }
  125. .content .left{
  126. flex: 1;
  127. }
  128. .name{
  129. font-size: 44rpx;
  130. color: #fff;
  131. margin-bottom: 14rpx;
  132. }
  133. .time{
  134. font-size: 24rpx;
  135. color: rgba(255,255,255, 0.8);
  136. line-height: 30rpx;
  137. }
  138. .content .right{
  139. width: 162rpx;
  140. display: flex;
  141. justify-content: center;
  142. align-items: center;
  143. }
  144. .content .right .mid-img {
  145. width: 100rpx;
  146. height: 100rpx;
  147. }
  148. .condition{
  149. position: absolute;
  150. width: 100%;
  151. bottom: 0;
  152. left:0;
  153. height: 78rpx;
  154. background: rgba(0,0,0,.08);
  155. padding: 24rpx 40rpx;
  156. display: flex;
  157. flex-direction: row;
  158. }
  159. .condition .txt{
  160. display: block;
  161. height: 30rpx;
  162. flex: 1;
  163. overflow: hidden;
  164. font-size: 24rpx;
  165. line-height: 30rpx;
  166. color: #fff;
  167. }
  168. .condition .icon{
  169. margin-left: 30rpx;
  170. width: 24rpx;
  171. height: 24rpx;
  172. }