platCoupon.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. /* components/platCoupon/platCoupon.wxss */
  2. .coupon-item{
  3. margin: 15px 0;
  4. position: relative;
  5. box-shadow: 1px 1px 3px rgba(0,0,0,0.15);
  6. height: 95px;
  7. background: #fff;
  8. }
  9. .coupon-item .left{
  10. float: left;
  11. color: #fff;
  12. text-align: center;
  13. border-left: 1px dashed #fff;
  14. padding: 20px 0;
  15. background: -webkit-gradient(linear,left top,right top,from(#F45C43),to(#eb2444));
  16. background: -o-linear-gradient(left,#F45C43,#eb2444);
  17. background: linear-gradient(left,#F45C43,#eb2444);
  18. background: -webkit-linear-gradient(left,#F45C43,#eb2444);
  19. width: 260rpx;
  20. height: 55px;
  21. }
  22. .coupon-item .left .num{
  23. font-weight:600;
  24. font-size:36rpx;
  25. height:70rpx;
  26. line-height:70rpx;
  27. font-family:arial;
  28. }
  29. .coupon-item .left .num .coupon-price{
  30. font-size: 72rpx;
  31. line-height: 72rpx;
  32. display: inline-block;
  33. font-family: arial;
  34. }
  35. .coupon-item .left .condition{
  36. font-size: 28rpx;
  37. line-height: 28rpx;
  38. display: block;
  39. white-space: nowrap;
  40. overflow: hidden;
  41. text-overflow: ellipsis;
  42. padding: 0 2px;
  43. font-family: arial;
  44. margin-top: 10rpx;
  45. }
  46. .coupon-item .right{
  47. margin-left: 280rpx;
  48. padding: 5px;
  49. position: relative;
  50. }
  51. .coupon-item .right .c-des{
  52. height: 30px;
  53. font-size: 26rpx;
  54. line-height: 30px;
  55. overflow: hidden;
  56. font-weight: 600;
  57. }
  58. .coupon-item .right .c-des .c-type{
  59. font-size: 24rpx;
  60. background: #fdf0f0;
  61. color: #e43130;
  62. border-radius: 8px;
  63. padding:3px 10px;
  64. }
  65. .coupon-item .right .c-date{
  66. font-size: 24rpx;
  67. margin-top:25px;
  68. }
  69. .coupon-item .right .c-date .c-data-info{
  70. font-family: arial;
  71. }
  72. .coupon-item .right .c-date .c-btn{
  73. position: absolute;
  74. bottom:0;
  75. right:10px;
  76. color: #fff;
  77. font-size: 24rpx;
  78. font-family: arial;
  79. border-radius: 14px;
  80. padding:3px 7px;
  81. background: #e43130;
  82. border: 1px solid #e43130;
  83. }
  84. .coupon-item .right .c-date .c-btn.get-btn{
  85. background: #fff;
  86. border: 1px solid #e43130;
  87. color:#e43130;
  88. }
  89. .coupon-item.gray .left{
  90. background: #bbb;
  91. }
  92. .coupon-item.gray .right .c-des .c-type{
  93. background: #bbb;
  94. color: #fff;
  95. }
  96. .coupon-item.gray .right .c-date .c-btn{
  97. display: none;
  98. }
  99. .coupon-item .tag-img{
  100. position: absolute;
  101. top:0;
  102. right:0;
  103. width:120rpx;
  104. height:120rpx;
  105. }
  106. .coupon-item .sel-btn{
  107. position:absolute;
  108. right:10px;
  109. top:35px;
  110. }
  111. /* 券面 */
  112. .coupon-surface {
  113. padding: 30rpx 0;
  114. }
  115. .coupon-content {
  116. border: 1rpx solid #f8f8f8;
  117. box-shadow: 2rpx 2rpx 10rpx rgba(221,221,221, .5);
  118. }
  119. .coupon-left,
  120. .coupon-right {
  121. display: inline-block;
  122. position: relative;
  123. padding: 20rpx;
  124. }
  125. .coupon-left {
  126. width: 22%;
  127. text-align: center;
  128. vertical-align: middle;
  129. border-right: 3rpx dashed #fff;
  130. background-image: linear-gradient(60deg, #ff5d4c 10%, #fe9585 90%);
  131. }
  132. .coupon-right {
  133. vertical-align: top;
  134. padding-left: 25rpx;
  135. }
  136. .cou-money-amount {
  137. text-align: center;
  138. color: #e43130;
  139. vertical-align: top;
  140. height: 100rpx;
  141. }
  142. .cou-amount {
  143. display: inline-block;
  144. font-size: 1.8em;
  145. padding: 0 10rpx;
  146. }
  147. .cou-text {
  148. display: inline-block;
  149. font-size: 26rpx;
  150. }
  151. .use-condition {
  152. font-size: 25rpx;
  153. color: #fff;
  154. vertical-align: bottom;
  155. }
  156. .cou-name {
  157. font-size: 32rpx;
  158. font-weight: bold;
  159. height: 95rpx;
  160. padding-top: 10rpx;
  161. box-sizing: border-box;
  162. }
  163. .cou-term {
  164. font-size: 28rpx;
  165. color: #777;
  166. }
  167. /* /券面 */