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.

coupon.wxss 3.9KB

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