myCoupons.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /* pages/myCoupons/myCoupons.wxss */
  2. .coupon_outer {
  3. padding-top: 20rpx;
  4. width: 100%;
  5. }
  6. .coupon_li {
  7. width: 90%;
  8. height: 160rpx;
  9. background-image: url("https://dy.shpr.top/shareActivity/coupon_list.png");
  10. background-repeat: no-repeat;
  11. background-size: 100% 100%;
  12. margin: 0 auto;
  13. position: relative;
  14. color: #b82231;
  15. display: flex;
  16. }
  17. .coupon_type {
  18. position: absolute;
  19. top: 20rpx;
  20. left: 20rpx;
  21. font-weight: 400;
  22. width: 40rpx;
  23. height: 40rpx;
  24. }
  25. .coupon-title {
  26. display: flex;
  27. flex-direction: column;
  28. margin-left: 30rpx;
  29. width: 144rpx;
  30. padding-top: 42rpx;
  31. }
  32. .coupon-title>view {
  33. text-align: center;
  34. }
  35. .coupon-price {
  36. font-size: 55rpx;
  37. font-weight: 600;
  38. }
  39. .coupon-title-type {
  40. font-size: 22rpx;
  41. font-weight: 400;
  42. }
  43. .coupon-li-line {
  44. width: 2rpx;
  45. height: 80%;
  46. border-left: 2rpx dashed gray;
  47. margin-top: 2%;
  48. }
  49. .coupon-detail {
  50. margin-top: 30rpx;
  51. margin-left: 18rpx;
  52. }
  53. .coupon-detail-title {
  54. font-weight: 600;
  55. font-size: 30rpx;
  56. width: 280rpx;
  57. overflow: hidden;
  58. white-space: nowrap;
  59. text-overflow: ellipsis;
  60. }
  61. .coupon-detail-date {
  62. font-size:20rpx;
  63. margin-top: 16rpx;
  64. }
  65. .use-button {
  66. width: 140rpx;
  67. height: 50rpx;
  68. background-color:#b82231;
  69. color: #fff;
  70. line-height: 50rpx;
  71. text-align: center;
  72. border-radius: 40rpx;
  73. font-size: 24rpx;
  74. cursor: pointer;
  75. position: absolute;
  76. top: 50%;
  77. margin-top: -25rpx;
  78. right: 26rpx;
  79. }
  80. .coupon_outer > .coupon_li {
  81. margin-bottom: 20rpx;
  82. }
  83. .coupon-title-free {
  84. display: flex;
  85. margin-left: 30rpx;
  86. width: 144rpx;
  87. padding-top: 18rpx;
  88. }
  89. .coupon-title-free>view {
  90. line-height: 123rpx;
  91. }
  92. .coupon-title-free>view:first-child {
  93. margin-left: 30rpx;
  94. }
  95. .no-data {
  96. display: block;
  97. width: 80%;
  98. height: 300rpx;
  99. margin: 0 auto;
  100. margin-top: 300rpx;
  101. }