C端小程序
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.

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