coupon.wxss 1.7 KB

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