Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

232 linhas
4.0KB

  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. .detailsBox>.logo {
  82. position: absolute;
  83. right: 52rpx;
  84. top: 40rpx;
  85. width: 155rpx;
  86. height: 110rpx;
  87. }
  88. .middleContent {
  89. width: 750rpx;
  90. background-color: #fff;
  91. border-radius: 30rpx;
  92. margin-top: 20rpx;
  93. padding: 50rpx 0;
  94. }
  95. #couponCheck>.couponIcon {
  96. width: 513rpx;
  97. height: 200rpx;
  98. margin: 0 auto;
  99. }
  100. #couponCheck>.number {
  101. position: relative;
  102. color: #666666;
  103. font-size: 24rpx;
  104. font-weight: 700;
  105. margin-left: 128rpx;
  106. }
  107. #couponCheck>.txt {
  108. width: 100%;
  109. text-align: center;
  110. color: #333333;
  111. font-size: 40rpx;
  112. font-weight: 550;
  113. margin-top: 20rpx;
  114. }
  115. #couponDetails>.title {
  116. color: #333;
  117. width: 100%;
  118. text-align: center;
  119. font-size: 30rpx;
  120. font-weight: 550;
  121. }
  122. #couponDetails>.detailsItem {
  123. height: 58rpx;
  124. line-height: 58rpx;
  125. padding-left: 32rpx;
  126. }
  127. #couponDetails>.detailsItem>.sign {
  128. width: 20rpx;
  129. height: 20rpx;
  130. border-radius: 50%;
  131. background-color: #eb6100;
  132. display: inline-block;
  133. }
  134. #couponDetails>.detailsItem>.itemTitle {
  135. color: #333;
  136. font-size: 26rpx;
  137. font-weight: 500;
  138. padding-left: 17rpx;
  139. }
  140. #couponDetails>.detailsItem>.itemContent {
  141. color: #666;
  142. font-size: 22rpx;
  143. font-weight: 400;
  144. padding-left: 41rpx;
  145. }
  146. #couponDetails>.state {
  147. text-align: center;
  148. height: 38rpx;
  149. line-height: 38rpx;
  150. color: #eb6100;
  151. font-size: 40rpx;
  152. font-weight: 500;
  153. margin-top: 49rpx;
  154. }
  155. .btn {
  156. position: absolute;
  157. bottom: 0;
  158. width: 100%;
  159. height: 98rpx;
  160. border-radius: 0;
  161. color: #fffefe;
  162. font-size: 36rpx;
  163. background: linear-gradient(-72deg, rgba(235, 97, 0, 1), rgba(255, 137, 42, 1));
  164. }
  165. .btn.select{
  166. background: #cccccc;
  167. }
  168. #vCodeBox>input {
  169. width: 600rpx;
  170. height: 98rpx;
  171. background-color: rgba(0, 0, 0, 0.28);
  172. margin: 0 auto;
  173. border-radius: 49rpx;
  174. padding: 0 41rpx;
  175. box-sizing: border-box;
  176. }
  177. #vCodeBox>.countBox {
  178. margin-top: 40rpx;
  179. height: 44rpx;
  180. font-size: 26rpx;
  181. display: flex;
  182. justify-content: center;
  183. align-items: center;
  184. }
  185. #vCodeBox>.countBox>.countContent {
  186. position: relative;
  187. text-align: center;
  188. height: 100%;
  189. line-height: 44rpx;
  190. width: 200rpx;
  191. padding: 0 44rpx;
  192. box-sizing: border-box;
  193. background-color: #eee;
  194. border: 2px solid rgba(238, 238, 238, 1);
  195. border-radius: 6px;
  196. display: inline-block;
  197. margin-left: 25rpx;
  198. }
  199. #vCodeBox>.countBox>.countContent>.symbolBox{
  200. position: absolute;
  201. text-align: center;
  202. width: 44rpx;
  203. height: 44rpx;
  204. top: -5rpx;
  205. }