couponSelect.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. border: none;
  18. width: 700rpx;
  19. background: #28b43b;
  20. color: #fff;
  21. font-size: 40rpx;
  22. text-align: center;
  23. margin-bottom: 30rpx;
  24. margin-left: 30rpx;
  25. margin-right: 30rpx;
  26. line-height: 80rpx;
  27. }
  28. .item {
  29. position: relative;
  30. height: 290rpx;
  31. width: 700rpx;
  32. background: linear-gradient(to right, #cfa568, #e3bf79);
  33. margin-bottom: 30rpx;
  34. margin-left: 30rpx;
  35. margin-right: 30rpx;
  36. padding-top: 52rpx;
  37. }
  38. .tag {
  39. height: 32rpx;
  40. background: #a48143;
  41. padding-left: 16rpx;
  42. padding-right: 16rpx;
  43. position: absolute;
  44. left: 20rpx;
  45. color: #fff;
  46. top: 20rpx;
  47. font-size: 20rpx;
  48. text-align: center;
  49. line-height: 32rpx;
  50. }
  51. .content {
  52. margin-top: 24rpx;
  53. margin-left: 40rpx;
  54. display: flex;
  55. margin-right: 40rpx;
  56. flex-direction: row;
  57. }
  58. .content .left {
  59. flex: 1;
  60. }
  61. .discount {
  62. font-size: 50rpx;
  63. color: #b4282d;
  64. }
  65. .min {
  66. color: #fff;
  67. }
  68. .content .right {
  69. width: 400rpx;
  70. }
  71. .name {
  72. font-size: 44rpx;
  73. color: #fff;
  74. margin-bottom: 14rpx;
  75. }
  76. .time {
  77. font-size: 24rpx;
  78. color: #fff;
  79. line-height: 30rpx;
  80. }
  81. .condition {
  82. position: absolute;
  83. width: 100%;
  84. bottom: 0;
  85. left: 0;
  86. height: 78rpx;
  87. background: rgba(0, 0, 0, 0.08);
  88. padding: 24rpx 40rpx;
  89. display: flex;
  90. flex-direction: row;
  91. }
  92. .condition .txt {
  93. display: block;
  94. height: 30rpx;
  95. flex: 1;
  96. overflow: hidden;
  97. font-size: 24rpx;
  98. line-height: 30rpx;
  99. color: #fff;
  100. }
  101. .condition .icon {
  102. margin-left: 30rpx;
  103. width: 24rpx;
  104. height: 24rpx;
  105. }