coupon.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. .coupon-item{
  2. margin: 15px 0;
  3. position: relative;
  4. box-shadow: 1px 1px 3px rgba(0,0,0,0.15);
  5. height: 95px;
  6. background: #fff;
  7. }
  8. .coupon-item .left{
  9. float: left;
  10. color: #fff;
  11. text-align: center;
  12. border-left: 1px dashed #fff;
  13. padding: 20px 0;
  14. background: -webkit-gradient(linear,left top,right top,from(#F45C43),to(#eb2444));
  15. background: -o-linear-gradient(left,#F45C43,#eb2444);
  16. background: linear-gradient(left,#F45C43,#eb2444);
  17. background: -webkit-linear-gradient(left,#F45C43,#eb2444);
  18. width: 260rpx;
  19. height: 55px;
  20. }
  21. .coupon-item .left .num{
  22. font-weight:600;
  23. font-size:36rpx;
  24. height:70rpx;
  25. line-height:70rpx;
  26. font-family:arial;
  27. }
  28. .coupon-item .left .num .coupon-price{
  29. font-size: 72rpx;
  30. line-height: 72rpx;
  31. display: inline-block;
  32. font-family: arial;
  33. }
  34. .coupon-item .left .condition{
  35. font-size: 28rpx;
  36. line-height: 28rpx;
  37. display: block;
  38. white-space: nowrap;
  39. overflow: hidden;
  40. text-overflow: ellipsis;
  41. padding: 0 2px;
  42. font-family: arial;
  43. }
  44. .coupon-item .right{
  45. margin-left: 280rpx;
  46. padding: 5px;
  47. position: relative;
  48. }
  49. .coupon-item .right .c-des{
  50. height: 30px;
  51. font-size: 26rpx;
  52. line-height: 30px;
  53. overflow: hidden;
  54. font-weight: 600;
  55. }
  56. .coupon-item .right .c-des .c-type{
  57. font-size: 24rpx;
  58. background: #fdf0f0;
  59. color: #e43130;
  60. border-radius: 8px;
  61. padding:3px 10px;
  62. }
  63. .coupon-item .right .c-date{
  64. font-size: 24rpx;
  65. margin-top:25px;
  66. }
  67. .coupon-item .right .c-date .c-data-info{
  68. font-family: arial;
  69. }
  70. .coupon-item .right .c-date .c-btn{
  71. position: absolute;
  72. bottom:0;
  73. right:10px;
  74. color: #fff;
  75. font-size: 24rpx;
  76. font-family: arial;
  77. border-radius: 14px;
  78. padding:3px 7px;
  79. /* background: -webkit-gradient(linear,left top,right top,from(#6c96da),to(#6b83d7));
  80. background: -o-linear-gradient(left,#6c96da,#6b83d7);
  81. background: linear-gradient(left,#6c96da,#6b83d7);
  82. background: -webkit-linear-gradient(left,#6c96da,#6b83d7); */
  83. background: #e43130;
  84. border: 1px solid #e43130;
  85. }
  86. .coupon-item .right .c-date .c-btn.get-btn{
  87. background: #fff;
  88. border: 1px solid #e43130;
  89. color:#e43130;
  90. }
  91. .coupon-item.gray .left{
  92. background: #bbb;
  93. }
  94. .coupon-item.gray .right .c-des .c-type{
  95. background: #bbb;
  96. color: #fff;
  97. }
  98. .coupon-item.gray .right .c-date .c-btn{
  99. display: none;
  100. }
  101. .coupon-item .tag-img{
  102. position: absolute;
  103. top:0;
  104. right:0;
  105. width:120rpx;
  106. height:120rpx;
  107. }
  108. .coupon-item .sel-btn{
  109. position:absolute;
  110. right:10px;
  111. top:35px;
  112. }