C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

211 lines
3.7 KiB

  1. @import '../../../app.wxss';
  2. .coupons {
  3. width: 100%;
  4. height: 100vh;
  5. background: #f6f6f6;
  6. position: relative;
  7. display: flex;
  8. flex-direction: column;
  9. overflow: hidden;
  10. }
  11. .coupons-body{
  12. flex: 1;
  13. overflow: auto;
  14. }
  15. .banner {
  16. width: 100%;
  17. height: 465rpx;
  18. }
  19. .banner image {
  20. width: 100%;
  21. height: 100%;
  22. }
  23. .coupons_info {
  24. width: 92%;
  25. height: 186rpx;
  26. display: flex;
  27. justify-content: space-between;
  28. padding: 0 4%;
  29. background: #fff;
  30. }
  31. .coupons_info view {
  32. display: flex;
  33. flex-direction: column;
  34. }
  35. .coupons_info view:nth-child(1) text {
  36. font-size: 30rpx;
  37. margin-top: 3%;
  38. }
  39. .coupons_info view:nth-child(1) text:nth-child(1) text {
  40. color: #ff3434;
  41. font-size: 24rpx;
  42. border: 1px solid #ff3434;
  43. border-radius: 6rpx;
  44. margin-left: 2%;
  45. padding: 0 5rpx;
  46. }
  47. .coupons_info view:nth-child(1) text:nth-child(2),
  48. .coupons_info view:nth-child(1) text:nth-child(3) {
  49. color: #b8b8b8;
  50. font-size: 24rpx;
  51. margin-top: 4%;
  52. }
  53. .coupons_info view:nth-child(1) text:nth-child(2) text,
  54. .coupons_info view:nth-child(1) text:nth-child(3) text {
  55. color: #ff3434;
  56. font-size: 24rpx;
  57. }
  58. .coupons_info view:nth-child(2) text:nth-child(1) {
  59. font-size: 36rpx;
  60. color: #ff3434;
  61. margin-top: 40rpx;
  62. font-weight: bold;
  63. }
  64. .coupons_info view:nth-child(2) text:nth-child(2) {
  65. font-size: 24rpx;
  66. color: #b4b4b4;
  67. text-decoration: line-through;
  68. padding-left: 10rpx;
  69. padding-top: 4rpx;
  70. }
  71. .posi {
  72. width: 92%;
  73. display: flex;
  74. flex-direction: column;
  75. padding: 0 4%;
  76. background: #fff;
  77. margin-top: 2%;
  78. }
  79. .posi>view:nth-child(2) {
  80. width: 100%;
  81. height: 87rpx;
  82. display: flex;
  83. justify-content: space-between;
  84. border-top: 1px solid #f6f6f6;
  85. line-height: 87rpx;
  86. }
  87. .posi>view:nth-child(2) text:nth-child(1) {
  88. font-size: 30rpx;
  89. color: #a9a9a9;
  90. }
  91. .posi>view:nth-child(2) text:nth-child(2) {
  92. font-size: 30rpx;
  93. color: #a9a9a9;
  94. }
  95. .posi_logo {
  96. width: 100%;
  97. height: 156rpx;
  98. display: flex;
  99. margin-top: 30rpx;
  100. }
  101. .posi_logo view:nth-child(1) {
  102. width: 126rpx;
  103. height: 126rpx;
  104. border-radius: 50%;
  105. overflow: hidden;
  106. flex: 2;
  107. }
  108. .posi_logo view:nth-child(1) image {
  109. width: 100%;
  110. height: 100%;
  111. }
  112. .posi_logo view:nth-child(2) {
  113. display: flex;
  114. flex-direction: column;
  115. flex: 8;
  116. padding-top: 20rpx;
  117. padding-left: 30rpx;
  118. }
  119. .posi_logo view:nth-child(2) text:nth-child(1) {
  120. font-size: 30rpx;
  121. }
  122. .posi_logo view:nth-child(2) text:nth-child(2) {
  123. font-size: 24rpx;
  124. color: #b8b8b8;
  125. padding-top: 10rpx;
  126. }
  127. .notes {
  128. margin-top: 2%;
  129. }
  130. .notes view:nth-child(1) {
  131. width: 92%;
  132. height: 87rpx;
  133. padding: 0 4%;
  134. line-height: 87rpx;
  135. background: #fff;
  136. border-bottom: 1rpx solid #f5f5f5;
  137. border-top: 1rpx solid #f5f5f5;
  138. }
  139. .notes view:nth-child(1) text {
  140. font-size: 30rpx;
  141. font-weight: bold;
  142. }
  143. .notes view:nth-child(2) {
  144. width: 92%;
  145. height: 400rpx;
  146. padding: 0 4%;
  147. background: #fff;
  148. border-bottom: 1rpx solid #f5f5f5;
  149. display: flex;
  150. flex-direction: column;
  151. padding-top: 2%;
  152. }
  153. .notes view:nth-child(2)>text {
  154. font-size: 28rpx;
  155. color: #A9A9A9;
  156. line-height: 56rpx;
  157. }
  158. .spot {
  159. width: 12rpx;
  160. height: 12rpx;
  161. display: inline-block;
  162. background: #A9A9A9;
  163. margin-right: 16rpx;
  164. position: relative;
  165. bottom: 4rpx;
  166. border-radius: 50%;
  167. }
  168. .buy-view {
  169. width: 100%;
  170. padding: 10rpx;
  171. /* position: fixed; */
  172. /* bottom: 0; */
  173. background: #fff;
  174. box-sizing: border-box;
  175. }
  176. .buy {
  177. /* width: 100%; */
  178. height: 88rpx;
  179. background: #00C0FF;
  180. color: #fff;
  181. font-size: 36rpx;
  182. line-height: 88rpx;
  183. border-radius: 0;
  184. }