C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

213 行
3.4 KiB

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