coupon.wxss 2.6 KB

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