C端小程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

230 строки
3.5 KiB

  1. @import "../../app.wxss";
  2. .coupons {
  3. flex-direction: row;
  4. display: flex;
  5. padding: 30rpx;
  6. position: relative;
  7. height: 184rpx;
  8. border-bottom: 1rpx solid #eee;
  9. }
  10. .coupons-border {
  11. height: 1rpx;
  12. /* width: 100%; */
  13. left: 30rpx;
  14. right: 30rpx;
  15. background: #f5f5f5;
  16. position: absolute;
  17. bottom: 0;
  18. }
  19. .coupons-img {
  20. width: 180rpx;
  21. height: 180rpx;
  22. border: 1px solid #f8f8f8;
  23. border-radius: 10rpx;
  24. }
  25. .coupons-img image {
  26. display: block;
  27. width: 180rpx;
  28. height: 180rpx;
  29. border-radius: 10rpx;
  30. }
  31. .coupons-info {
  32. padding-left: 20rpx;
  33. }
  34. .coupons-info-name {
  35. font-size: 30rpx;
  36. color: #343434;
  37. letter-spacing: 0;
  38. line-height: 38rpx;
  39. }
  40. .coupons-info-price {
  41. padding: 16rpx 0 0;
  42. }
  43. .i {
  44. font-size: 24rpx;
  45. font-style: normal;
  46. }
  47. .coupons-info-price-p {
  48. display: inline-block;
  49. font-size: 40rpx;
  50. color: #FF4949;
  51. line-height: 56rpx;
  52. }
  53. .tit {
  54. overflow: hidden;
  55. white-space: nowrap;
  56. text-overflow: ellipsis;
  57. width: 300rpx;
  58. height: 42rpx;
  59. font-size: 30rpx;
  60. color: #000;
  61. letter-spacing: 0;
  62. font-family: PingFangSC-Medium;
  63. }
  64. .coupons-info-price-o {
  65. display: block;
  66. text-align: center;
  67. font-size: 26rpx;
  68. color: #b4b4b4;
  69. letter-spacing: 0.96rpx;
  70. text-decoration: line-through;
  71. line-height: 24rpx;
  72. }
  73. .coupons-info-distance {
  74. font-size: 22rpx;
  75. color: #c0c0c0;
  76. letter-spacing: 0;
  77. padding-bottom: 10rpx;
  78. line-height: 30rpx;
  79. }
  80. .coupons-info-address {
  81. font-size: 22rpx;
  82. color: #585858;
  83. letter-spacing: 0;
  84. line-height: 30rpx;
  85. }
  86. .coupons-btn {
  87. position: absolute;
  88. top: 83rpx;
  89. right: 30rpx;
  90. }
  91. .coupons-btn-gm {
  92. background: #00c0ff !important;
  93. border-radius: 50rpx !important;
  94. margin: 0 !important;
  95. padding: 0 !important;
  96. font-family: PingFangSC-Semibold;
  97. font-size: 26rpx;
  98. color: #fff !important;
  99. letter-spacing: 0;
  100. height: 48rpx !important;
  101. width: 120rpx !important;
  102. line-height: 48rpx !important;
  103. }
  104. .coupons-btn-gms {
  105. background: #999 !important;
  106. border-radius: 10rpx !important;
  107. opacity: 0.6;
  108. margin: 0 !important;
  109. padding: 0 !important;
  110. font-family: PingFangSC-Semibold;
  111. font-size: 26rpx;
  112. color: #fff !important;
  113. letter-spacing: 0;
  114. height: 48rpx !important;
  115. width: 120rpx !important;
  116. line-height: 48rpx !important;
  117. }
  118. .subtitle {
  119. font-size: 24rpx;
  120. color: #919191;
  121. text-align: left;
  122. overflow: hidden;
  123. white-space: nowrap;
  124. text-overflow: ellipsis;
  125. width: 300rpx;
  126. height: 33rpx;
  127. line-height: 33rpx;
  128. }
  129. .coupons-info-manjian {
  130. font-weight: normal;
  131. font-size: 24rpx;
  132. line-height: 34rpx;
  133. display: inline-block;
  134. color: #FF4949;
  135. letter-spacing: 0;
  136. }
  137. .coupons-info-manjian1 {
  138. font-weight: normal;
  139. line-height: 28rpx;
  140. font-size: 20rpx;
  141. color: #919191;
  142. letter-spacing: 0;
  143. display: inline-block;
  144. overflow: hidden;
  145. white-space: nowrap;
  146. text-overflow: ellipsis;
  147. width: 300rpx;
  148. }
  149. /**上拉加载更多**/
  150. .userinfo {
  151. display: flex;
  152. flex-direction: column;
  153. align-items: center;
  154. }
  155. .userinfo-avatar {
  156. width: 128rpx;
  157. height: 128rpx;
  158. margin: 20rpx;
  159. border-radius: 50%;
  160. }
  161. .userinfo-nickname {
  162. color: #aaa;
  163. }
  164. .sy {
  165. display: block;
  166. text-align: center;
  167. width: 181rpx;
  168. font-size: 24rpx;
  169. color: #999;
  170. height: 40rpx;
  171. margin-top: 106rpx;
  172. }
  173. .usermotto {
  174. margin-top: 200px;
  175. }
  176. scroll-view {
  177. width: 100%;
  178. }
  179. .item {
  180. width: 90%;
  181. height: 300rpx;
  182. margin: 20rpx auto;
  183. background: brown;
  184. overflow: hidden;
  185. }
  186. .item .img {
  187. width: 430rpx;
  188. margin-right: 20rpx;
  189. float: left;
  190. }
  191. .title {
  192. font-size: 30rpx;
  193. display: block;
  194. margin: 30rpx auto;
  195. }
  196. .description {
  197. font-size: 26rpx;
  198. line-height: 15rpx;
  199. }