SelectCouponModal.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .select-coupon-modal.data-v-5880f75a {
  2. width: 100%;
  3. background: #F2F4F8;
  4. border-radius: 24rpx 24rpx 0 0;
  5. padding: 0;
  6. box-sizing: border-box;
  7. max-height: 80vh;
  8. display: flex;
  9. flex-direction: column;
  10. overflow: hidden;
  11. }
  12. .select-coupon-modal__header.data-v-5880f75a {
  13. position: relative;
  14. display: flex;
  15. align-items: center;
  16. justify-content: center;
  17. height: 88rpx;
  18. background: #F2F4F8;
  19. }
  20. .select-coupon-modal__header .header-title.data-v-5880f75a {
  21. font-size: 32rpx;
  22. font-weight: bold;
  23. color: #151515;
  24. }
  25. .select-coupon-modal__header .header-close.data-v-5880f75a {
  26. position: absolute;
  27. right: 30rpx;
  28. top: 50%;
  29. transform: translateY(-50%);
  30. width: 60rpx;
  31. height: 60rpx;
  32. display: flex;
  33. align-items: center;
  34. justify-content: center;
  35. }
  36. .select-coupon-modal__header .header-close .close-icon.data-v-5880f75a {
  37. width: 26rpx;
  38. height: 26rpx;
  39. }
  40. .select-coupon-modal__list.data-v-5880f75a {
  41. flex: 1;
  42. padding: 24rpx 30rpx;
  43. padding-bottom: calc(140rpx + env(safe-area-inset-bottom));
  44. box-sizing: border-box;
  45. overflow-y: auto;
  46. min-height: 0;
  47. }
  48. .coupon-card.data-v-5880f75a {
  49. height: 191rpx;
  50. background: #FFFFFF;
  51. display: flex;
  52. align-items: center;
  53. border-radius: 24rpx;
  54. padding: 28rpx 24rpx;
  55. margin-bottom: 22rpx;
  56. box-sizing: border-box;
  57. transition: all 0.3s;
  58. }
  59. .coupon-card.data-v-5880f75a:last-child {
  60. margin-bottom: 0;
  61. }
  62. .coupon-card.data-v-5880f75a:active {
  63. opacity: 0.8;
  64. }
  65. .coupon-card__left.data-v-5880f75a {
  66. display: flex;
  67. flex-direction: column;
  68. margin-right: 24rpx;
  69. min-width: 120rpx;
  70. text-align: center;
  71. }
  72. .coupon-card__left .amount-text.data-v-5880f75a {
  73. font-size: 50rpx;
  74. font-weight: 600;
  75. color: #F47D1F;
  76. line-height: 1.2;
  77. margin-bottom: 8rpx;
  78. }
  79. .coupon-card__left .condition-text.data-v-5880f75a {
  80. font-size: 24rpx;
  81. color: #F47D1F;
  82. line-height: 1.2;
  83. }
  84. .coupon-card__center.data-v-5880f75a {
  85. flex: 1;
  86. display: flex;
  87. flex-direction: column;
  88. align-items: flex-start;
  89. margin-right: 20rpx;
  90. }
  91. .coupon-card__center .name-text.data-v-5880f75a {
  92. font-size: 28rpx;
  93. color: #151515;
  94. font-weight: bold;
  95. line-height: 1.4;
  96. margin-bottom: 8rpx;
  97. }
  98. .coupon-card__center .expire-text.data-v-5880f75a {
  99. font-size: 22rpx;
  100. color: #666666;
  101. line-height: 1.4;
  102. margin-top: 20rpx;
  103. }
  104. .coupon-card__right.data-v-5880f75a {
  105. display: flex;
  106. align-items: center;
  107. justify-content: center;
  108. min-width: 60rpx;
  109. }
  110. .coupon-card__right .selected-icon.data-v-5880f75a {
  111. width: 38rpx;
  112. height: 38rpx;
  113. }