coupon.wxss 2.7 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. height: 70rpx;
  49. border:none;
  50. width: 168rpx;
  51. background: #b4282d;
  52. border-radius: 0;
  53. line-height: 70rpx;
  54. color: #fff;
  55. font-size: 28rpx;
  56. }
  57. .add-btn.disabled{
  58. background: #ccc;
  59. }
  60. .help{
  61. height: 72rpx;
  62. line-height: 72rpx;
  63. text-align: right;
  64. padding-right: 30rpx;
  65. background: url(https://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/couponHelp-4768607555.png) 590rpx center no-repeat;
  66. background-size: 28rpx;
  67. color: #999;
  68. font-size: 24rpx;
  69. }
  70. .coupon-list{
  71. width: 100%;
  72. height: auto;
  73. overflow: hidden;
  74. padding-left: 30rpx;
  75. padding-right: 30rpx;
  76. }
  77. .item{
  78. position: relative;
  79. height: 290rpx;
  80. width: 100%;
  81. background: linear-gradient(to right,#cfa568,#e3bf79);
  82. margin-bottom: 30rpx;
  83. padding-top: 52rpx;
  84. }
  85. .tag{
  86. height: 32rpx;
  87. background: #A48143;
  88. padding-left: 16rpx;
  89. padding-right: 16rpx;
  90. position: absolute;
  91. left: 20rpx;
  92. color: #fff;
  93. top: 20rpx;
  94. font-size: 20rpx;
  95. text-align: center;
  96. line-height: 32rpx;
  97. }
  98. .content{
  99. margin-top: 24rpx;
  100. margin-left: 40rpx;
  101. display: flex;
  102. margin-right: 40rpx;
  103. flex-direction: row;
  104. align-items: center;
  105. }
  106. .content .left{
  107. flex: 1;
  108. }
  109. .name{
  110. font-size: 44rpx;
  111. color: #fff;
  112. margin-bottom: 14rpx;
  113. }
  114. .time{
  115. font-size: 24rpx;
  116. color: rgba(255,255,255, 0.8);
  117. line-height: 30rpx;
  118. }
  119. .content .right{
  120. width: 162rpx;
  121. }
  122. .go{
  123. height: 48rpx;
  124. border:none;
  125. width: 162rpx;
  126. background: rgba(255,255,255, 0.8);
  127. border-radius: 4rpx;
  128. line-height: 48rpx;
  129. color: #b69150;
  130. font-size: 24rpx;
  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. }