couponSelect.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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. .coupon-list {
  11. width: 750rpx;
  12. height: 100%;
  13. overflow: hidden;
  14. }
  15. .unselect {
  16. height: 80rpx;
  17. line-height: 80rpx;
  18. border: none;
  19. width: 700rpx;
  20. /* background: #28b43b; */
  21. background:#09afff;
  22. border-radius:80rpx;
  23. color: #fff;
  24. font-size: 30rpx;
  25. text-align: center;
  26. margin-bottom: 30rpx;
  27. margin-left: 30rpx;
  28. margin-right: 30rpx;
  29. }
  30. .item {
  31. position: relative;
  32. height: 290rpx;
  33. width: 700rpx;
  34. background: linear-gradient(to right, #cfa568, #e3bf79);
  35. margin-bottom: 30rpx;
  36. margin-left: 30rpx;
  37. margin-right: 30rpx;
  38. padding-top: 52rpx;
  39. }
  40. .tag {
  41. height: 32rpx;
  42. background: #a48143;
  43. padding-left: 16rpx;
  44. padding-right: 16rpx;
  45. position: absolute;
  46. left: 20rpx;
  47. color: #fff;
  48. top: 20rpx;
  49. font-size: 20rpx;
  50. text-align: center;
  51. line-height: 32rpx;
  52. }
  53. .content {
  54. margin-top: 24rpx;
  55. margin-left: 40rpx;
  56. display: flex;
  57. margin-right: 40rpx;
  58. flex-direction: row;
  59. }
  60. .content .left {
  61. flex: 1;
  62. }
  63. .discount {
  64. font-size: 50rpx;
  65. color: #b4282d;
  66. }
  67. .min {
  68. color: #fff;
  69. }
  70. .content .right {
  71. width: 400rpx;
  72. }
  73. .name {
  74. font-size: 44rpx;
  75. color: #fff;
  76. margin-bottom: 14rpx;
  77. }
  78. .time {
  79. font-size: 24rpx;
  80. color: #fff;
  81. line-height: 30rpx;
  82. }
  83. .condition {
  84. position: absolute;
  85. width: 100%;
  86. bottom: 0;
  87. left: 0;
  88. height: 78rpx;
  89. background: rgba(0, 0, 0, 0.08);
  90. padding: 24rpx 40rpx;
  91. display: flex;
  92. flex-direction: row;
  93. }
  94. .condition .txt {
  95. display: block;
  96. height: 30rpx;
  97. flex: 1;
  98. overflow: hidden;
  99. font-size: 24rpx;
  100. line-height: 30rpx;
  101. color: #fff;
  102. }
  103. .condition .icon {
  104. margin-left: 30rpx;
  105. width: 24rpx;
  106. height: 24rpx;
  107. }
  108. .container .no-list{
  109. margin:36rpx 0 0;
  110. text-align: center;
  111. color:#999;
  112. font-size: 28rpx;
  113. }
  114. .my-coupon-list{
  115. padding:20rpx 24rpx;
  116. width: 750rpx;
  117. height: 100%;
  118. overflow: hidden;
  119. }
  120. .my-coupon-item{
  121. border-radius: 18rpx;
  122. background:#fff;
  123. height: 190rpx;
  124. margin:0 0 20rpx;
  125. display: flex;
  126. justify-content: space-between;
  127. padding:0 20rpx 0 0;
  128. width:706rpx;
  129. }
  130. .coupon-left{
  131. background:rgba(9, 175, 255, 0.1);
  132. width:230rpx;
  133. display: flex;
  134. flex-direction: column;
  135. align-items: center;
  136. justify-content: space-between;
  137. height:190rpx;
  138. padding:18rpx 0 30rpx;
  139. }
  140. .coupon-left .coupon-amount{
  141. font-size: 48rpx;
  142. font-weight: bold;
  143. }
  144. .coupon-left .coupon-type{
  145. font-size: 24rpx;
  146. font-weight: bold;
  147. white-space: nowrap;
  148. overflow: hidden;
  149. text-overflow: ellipsis;
  150. width:220rpx;
  151. text-align: center;
  152. }
  153. .coupon-left .coupon-btn{
  154. background:#999999;
  155. color: #fff;
  156. width:120rpx;
  157. height: 32rpx;
  158. line-height:32rpx;
  159. font-size: 22rpx;
  160. margin-top:10rpx;
  161. border-radius:30rpx;
  162. text-align: center;
  163. }
  164. .coupon-left .coupon-btn.active-btn{
  165. background:#09afff;
  166. }
  167. .coupon-content{
  168. margin:0 20rpx 0 30rpx;
  169. display: flex;
  170. flex-direction: column;
  171. justify-content: space-between;
  172. padding:40rpx 0;
  173. flex:1
  174. }
  175. .coupon-content view.coupon-name{
  176. color:#999;
  177. font-size:30rpx;
  178. font-weight: bold;
  179. white-space: nowrap;
  180. overflow: hidden;
  181. text-overflow: ellipsis;
  182. width:400rpx;
  183. }
  184. .coupon-content view.coupon-date{
  185. color:#999;
  186. font-size:20rpx;
  187. }
  188. .coupon-right{
  189. width:84rpx;
  190. height:114rpx;
  191. padding-top:30rpx;
  192. }
  193. .coupon-status{
  194. width:84rpx;
  195. height:84rpx;
  196. }