No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

150 líneas
2.6KB

  1. /* pages/coupon/coupon.wxss */
  2. .relative {
  3. position: relative;
  4. width: 100%;
  5. height: 100%;
  6. }
  7. .couponImg {
  8. width: 750rpx;
  9. height: 300rpx;
  10. border-bottom-left-radius: 30rpx;
  11. border-bottom-right-radius: 30rpx;
  12. }
  13. .shadow {
  14. box-shadow: 0px 0px 20rpx 20rpx rgba(204, 204, 204, 0.2);
  15. }
  16. .detailsBox {
  17. position: relative;
  18. width: 100%;
  19. height: 190rpx;
  20. border-radius: 30rpx;
  21. }
  22. .detailsBox>.bottomBg {
  23. width: 100%;
  24. height: 100%;
  25. }
  26. .detailsBox>.decorate {
  27. position: absolute;
  28. top: -5rpx;
  29. left: 28rpx;
  30. width: 694rpx;
  31. height: 10rpx;
  32. }
  33. .detailsBox>.detailsInfo {
  34. position: absolute;
  35. top: 0;
  36. left: 0;
  37. height: 100%;
  38. width: 504rpx;
  39. display: flex;
  40. flex-direction: column;
  41. align-items: center;
  42. justify-content: center;
  43. }
  44. .detailsBox>.detailsInfo>.txt1 {
  45. color: #333;
  46. font-size: 36rpx;
  47. font-weight: bold;
  48. font-family: SourceHanSansCN;
  49. margin-bottom: 10rpx;
  50. }
  51. .detailsBox>.detailsInfo>.txt2 {
  52. color: #999;
  53. font-size: 24rpx;
  54. font-weight: 500;
  55. font-family: SourceHanSansCN;
  56. margin-top: 10rpx;
  57. }
  58. .detailsBox>.detailsRight {
  59. position: absolute;
  60. top: 0;
  61. left: 509rpx;
  62. width: 241rpx;
  63. height: 100%;
  64. line-height: 190rpx;
  65. text-align: center;
  66. color: #eb6100;
  67. font-size: 100rpx;
  68. font-weight: 550;
  69. }
  70. .detailsBox>.detailsRight>.txt {
  71. display: inline-block;
  72. width: 34rpx;
  73. height: 70rpx;
  74. margin-right: 5rpx;
  75. }
  76. .detailsBox>.detailsRight>.company {
  77. color: #333;
  78. font-size: 30rpx;
  79. margin-left: 5rpx;
  80. }
  81. .writeOffBox {
  82. position: relative;
  83. width: 100%;
  84. height: 120rpx;
  85. line-height: 120rpx;
  86. box-sizing: border-box;
  87. padding: 0 30rpx;
  88. color: #333333;
  89. font-size: 26rpx;
  90. margin-top: 24rpx;
  91. background-color: #ffffff;
  92. border-radius: 30rpx;
  93. font-weight: 600;
  94. display: flex;
  95. justify-content: space-between;
  96. align-items: center;
  97. }
  98. .writeOffBox>.writeOffNumsBox {
  99. position: relative;
  100. width: 150rpx;
  101. height: 44rpx;
  102. background-color: #FAFAFA;
  103. }
  104. .writeOffNumsBox>.operation {
  105. position: absolute;
  106. display: block;
  107. bottom: 0;
  108. width: 44rpx;
  109. height: 44rpx;
  110. }
  111. .couponsInput {
  112. position: absolute;
  113. width: calc(100% - 88rpx);
  114. height: 44rpx;
  115. line-height: 44rpx;
  116. bottom: 0;
  117. left: 44rpx;
  118. text-align: center;
  119. }
  120. .btn {
  121. position: absolute;
  122. bottom: 0;
  123. width: 100%;
  124. height: 98rpx;
  125. border-radius: 0;
  126. color: #fffefe;
  127. font-size: 36rpx;
  128. background: linear-gradient(-72deg, rgba(235, 97, 0, 1), rgba(255, 137, 42, 1));
  129. }
  130. .btn.select {
  131. background: #cccccc;
  132. }