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.

219 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: 6%;
  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: 2% 4%;
  141. background: #fff;
  142. border-bottom: 1rpx solid #f5f5f5;
  143. display: flex;
  144. flex-direction: column;
  145. }
  146. .notes view:nth-child(2)>text {
  147. font-size: 26rpx;
  148. color: #a9a9a9;
  149. line-height: 45rpx;
  150. }
  151. .spot {
  152. width: 12rpx;
  153. height: 12rpx;
  154. display: inline-block;
  155. background: #a9a9a9;
  156. margin-right: 16rpx;
  157. position: relative;
  158. bottom: 4rpx;
  159. border-radius: 50%;
  160. }
  161. .buy-view {
  162. background: #fff;
  163. position: fixed;
  164. padding-top: 10rpx;
  165. height: 98rpx;
  166. bottom: 0rpx;
  167. left: 0;
  168. right: 0;
  169. }
  170. .buy {
  171. background: #00c0ff;
  172. height: 88rpx;
  173. width: 98%;
  174. margin: 0 auto;
  175. color: #fff;
  176. font-size: 36rpx;
  177. line-height: 88rpx;
  178. border-radius: 6rpx;
  179. }
  180. .tel {
  181. position: absolute;
  182. right: 50rpx;
  183. top: 0;
  184. bottom: 0;
  185. margin: auto;
  186. width: 50rpx;
  187. height: 50rpx;
  188. z-index:1000000;
  189. }