C端小程序
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

276 satır
4.0 KiB

  1. @import "../../../app.wxss";
  2. page {
  3. background: #fff;
  4. }
  5. .coupons {
  6. width: 100%;
  7. position: relative;
  8. overflow: hidden;
  9. padding-bottom: 170rpx;
  10. }
  11. .banner {
  12. width: 750rpx;
  13. height: 534.5rpx;
  14. }
  15. .banner image {
  16. width: 100%;
  17. height: 100%;
  18. }
  19. .coupons_info {
  20. width: 92%;
  21. padding: 0 4%;
  22. background: #fff;
  23. border-top-left-radius: 20rpx;
  24. border-top-right-radius: 20rpx;
  25. margin-top: -25rpx;
  26. position: relative;
  27. z-index: 100000000;
  28. }
  29. .title {
  30. display: block;
  31. font-size: 32rpx;
  32. color: #000;
  33. letter-spacing: 1.09rpx;
  34. line-height: 45rpx;
  35. width: 542rpx;
  36. overflow: hidden;
  37. white-space: nowrap;
  38. text-overflow: ellipsis;
  39. padding-top: 30rpx;
  40. }
  41. .subTitle {
  42. display: block;
  43. width: 588rpx;
  44. height: 37rpx;
  45. font-size: 26rpx;
  46. color: #999;
  47. letter-spacing: 1.16rpx;
  48. overflow: hidden;
  49. white-space: nowrap;
  50. text-overflow: ellipsis;
  51. padding: 6rpx 0;
  52. }
  53. .rest {
  54. font-size: 24rpx;
  55. color: #919191;
  56. letter-spacing: 0;
  57. height: 70rpx;
  58. line-height: 70rpx;
  59. /* border-bottom: 1px solid #eee; */
  60. border-bottom: 1px solid #f9f9f9;
  61. }
  62. .restNum {
  63. font-size: 24rpx;
  64. color: #999;
  65. letter-spacing: 1.16rpx;
  66. text-align: right;
  67. }
  68. .time {
  69. font-size: 24rpx;
  70. color: #333;
  71. letter-spacing: 0;
  72. line-height: 33rpx;
  73. display: inline-block;
  74. }
  75. .txt01 {
  76. font-size: 24rpx;
  77. color: #919191;
  78. letter-spacing: 0;
  79. }
  80. .price {
  81. font-size: 24rpx;
  82. color: #999;
  83. letter-spacing: 0;
  84. }
  85. .salePriceStr {
  86. font-size: 24rpx;
  87. color: #999;
  88. letter-spacing: 0;
  89. }
  90. .salePriceStr .pri01 {
  91. font-size: 40rpx;
  92. color: #ff4949;
  93. letter-spacing: 0;
  94. margin-left: 10rpx;
  95. }
  96. .salePriceStr .yuan {
  97. font-size: 24rpx;
  98. color: #ff4949;
  99. letter-spacing: 0;
  100. }
  101. .price text {
  102. font-size: 24rpx;
  103. color: #333;
  104. letter-spacing: 0;
  105. }
  106. .throgh {
  107. text-decoration: line-through;
  108. margin-left: 10rpx;
  109. }
  110. .posi {
  111. position: relative;
  112. width: 92%;
  113. margin: 0 auto;
  114. }
  115. .fl {
  116. float: left;
  117. }
  118. .fr {
  119. float: right;
  120. }
  121. .posi>view:nth-child(2) {
  122. width: 100%;
  123. height: 87rpx;
  124. display: flex;
  125. justify-content: space-between;
  126. border-top: 1px solid #f6f6f6;
  127. line-height: 87rpx;
  128. }
  129. .posi>view:nth-child(2) text:nth-child(1) {
  130. font-size: 30rpx;
  131. color: #a9a9a9;
  132. }
  133. .posi>view:nth-child(2) text:nth-child(2) {
  134. font-size: 30rpx;
  135. color: #a9a9a9;
  136. }
  137. .posi_logo {
  138. width: 100%;
  139. display: flex;
  140. padding: 20rpx 0;
  141. background: #fff;
  142. height: 100rpx;
  143. border-bottom: 1px solid #f9f9f9;
  144. }
  145. .posi_logo view:nth-child(1) {
  146. width: 100rpx;
  147. height: 100rpx;
  148. border-radius: 16rpx;
  149. overflow: hidden;
  150. }
  151. .posi_logo view:nth-child(1) image {
  152. display: block;
  153. width: 100rpx;
  154. height: 100rpx;
  155. border-radius: 16rpx;
  156. border: 2px solid #e5e5e5;
  157. }
  158. .posi_logo view:nth-child(2) {
  159. display: flex;
  160. flex-direction: column;
  161. flex: 8;
  162. padding-left: 30rpx;
  163. }
  164. .posi_logo view:nth-child(2) text:nth-child(1) {
  165. font-size: 32rpx;
  166. color: #333;
  167. letter-spacing: 0;
  168. }
  169. .posi_logo view:nth-child(2) text:nth-child(2) {
  170. font-size: 24rpx;
  171. color: #b8b8b8;
  172. padding-top: 3rpx;
  173. width: 450rpx;
  174. height: 36rpx;
  175. overflow: hidden;
  176. }
  177. .notes view:nth-child(1) {
  178. width: 92%;
  179. height: 87rpx;
  180. padding: 0 4%;
  181. line-height: 87rpx;
  182. background: #fff;
  183. }
  184. .active {
  185. opacity: 0.6;
  186. }
  187. .notes view:nth-child(1) text {
  188. font-size: 24rpx;
  189. color: #919191;
  190. letter-spacing: 0;
  191. }
  192. .notes view:nth-child(2) {
  193. width: 92%;
  194. padding: 0 4%;
  195. background: #fff;
  196. display: flex;
  197. flex-direction: column;
  198. }
  199. .notes view:nth-child(2)>text {
  200. font-size: 24rpx;
  201. color: #333;
  202. letter-spacing: 0;
  203. line-height: 42rpx;
  204. }
  205. .buy-view {
  206. background: #fff;
  207. position: fixed;
  208. height: 96rpx;
  209. bottom: 0;
  210. left: 0;
  211. right: 0;
  212. padding-bottom: 22rpx;
  213. padding-top: 22rpx;
  214. }
  215. .buy {
  216. background: #00c0ff;
  217. height: 94rpx;
  218. width: 670rpx;
  219. margin: 0 auto 30rpx;
  220. color: #fff;
  221. font-size: 36rpx;
  222. line-height: 94rpx;
  223. border-radius: 61rpx;
  224. }
  225. .tel {
  226. position: absolute;
  227. right: 0;
  228. top: 0;
  229. bottom: 0;
  230. margin: auto;
  231. width: 50rpx;
  232. height: 50rpx;
  233. z-index: 1000000;
  234. }
  235. .txt {
  236. margin-right: 30rpx;
  237. }