C端小程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

211 wiersze
3.3 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. width:450rpx;
  122. }
  123. .notes {
  124. margin-top: 2%;
  125. }
  126. .notes view:nth-child(1) {
  127. width: 92%;
  128. height: 87rpx;
  129. padding: 0 4%;
  130. line-height: 87rpx;
  131. background: #fff;
  132. border-bottom: 1rpx solid #f5f5f5;
  133. border-top: 1rpx solid #f5f5f5;
  134. }
  135. .notes view:nth-child(1) text {
  136. font-size: 30rpx;
  137. font-weight: bold;
  138. }
  139. .notes view:nth-child(2) {
  140. width: 92%;
  141. padding: 2% 4%;
  142. background: #fff;
  143. border-bottom: 1rpx solid #f5f5f5;
  144. display: flex;
  145. flex-direction: column;
  146. }
  147. .notes view:nth-child(2)>text {
  148. font-size: 26rpx;
  149. color: #a9a9a9;
  150. line-height: 45rpx;
  151. }
  152. .buy-view {
  153. background: #fff;
  154. position: fixed;
  155. padding-top: 10rpx;
  156. height: 98rpx;
  157. bottom: 0rpx;
  158. left: 0;
  159. right: 0;
  160. }
  161. .buy {
  162. background: #00c0ff;
  163. height: 88rpx;
  164. width: 98%;
  165. margin: 0 auto;
  166. color: #fff;
  167. font-size: 36rpx;
  168. line-height: 88rpx;
  169. border-radius: 6rpx;
  170. }
  171. .tel {
  172. position: absolute;
  173. right: 50rpx;
  174. top: 0;
  175. bottom: 0;
  176. margin: auto;
  177. width: 50rpx;
  178. height: 50rpx;
  179. z-index:1000000;
  180. }