index.wxss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. page{
  2. background-color: #F9F9F9;
  3. }
  4. @charset "UTF-8";
  5. /**
  6. * 这里是uni-app内置的常用样式变量
  7. *
  8. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  9. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  10. *
  11. */
  12. /**
  13. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  14. *
  15. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  16. */
  17. /* 颜色变量 */
  18. /* 行为相关颜色 */
  19. /* 文字基本颜色 */
  20. /* 背景颜色 */
  21. /* 边框颜色 */
  22. /* 尺寸变量 */
  23. /* 文字尺寸 */
  24. /* 图片尺寸 */
  25. /* Border Radius */
  26. /* 水平间距 */
  27. /* 垂直间距 */
  28. /* 透明度 */
  29. /* 文章场景相关 */
  30. page.data-v-57280228 {
  31. padding-top: 60px;
  32. }
  33. .u-flex.data-v-57280228 {
  34. display: flex;
  35. flex-direction: row;
  36. align-items: center;
  37. }
  38. .u-flex-wrap.data-v-57280228 {
  39. flex-wrap: wrap;
  40. }
  41. .u-flex-nowrap.data-v-57280228 {
  42. flex-wrap: nowrap;
  43. }
  44. .u-col-center.data-v-57280228 {
  45. align-items: center;
  46. }
  47. .u-col-top.data-v-57280228 {
  48. align-items: flex-start;
  49. }
  50. .u-col-bottom.data-v-57280228 {
  51. align-items: flex-end;
  52. }
  53. .u-row-center.data-v-57280228 {
  54. justify-content: center;
  55. }
  56. .u-row-left.data-v-57280228 {
  57. justify-content: flex-start;
  58. }
  59. .u-row-right.data-v-57280228 {
  60. justify-content: flex-end;
  61. }
  62. .u-row-between.data-v-57280228 {
  63. justify-content: space-between;
  64. }
  65. .u-row-around.data-v-57280228 {
  66. justify-content: space-around;
  67. }
  68. .u-text-left.data-v-57280228 {
  69. text-align: left;
  70. }
  71. .u-text-center.data-v-57280228 {
  72. text-align: center;
  73. }
  74. .u-text-right.data-v-57280228 {
  75. text-align: right;
  76. }
  77. .u-flex-col.data-v-57280228 {
  78. display: flex;
  79. flex-direction: column;
  80. }
  81. .u-flex-0.data-v-57280228 {
  82. flex: 0;
  83. }
  84. .u-flex-1.data-v-57280228 {
  85. flex: 1;
  86. }
  87. .u-flex-2.data-v-57280228 {
  88. flex: 2;
  89. }
  90. .u-flex-3.data-v-57280228 {
  91. flex: 3;
  92. }
  93. .u-flex-4.data-v-57280228 {
  94. flex: 4;
  95. }
  96. .u-flex-5.data-v-57280228 {
  97. flex: 5;
  98. }
  99. .u-flex-6.data-v-57280228 {
  100. flex: 6;
  101. }
  102. .u-flex-7.data-v-57280228 {
  103. flex: 7;
  104. }
  105. .u-flex-8.data-v-57280228 {
  106. flex: 8;
  107. }
  108. .u-flex-9.data-v-57280228 {
  109. flex: 9;
  110. }
  111. .u-flex-10.data-v-57280228 {
  112. flex: 10;
  113. }
  114. .u-flex-11.data-v-57280228 {
  115. flex: 11;
  116. }
  117. .u-flex-12.data-v-57280228 {
  118. flex: 12;
  119. }
  120. .ellipsis-1.data-v-57280228 {
  121. overflow: hidden;
  122. text-overflow: ellipsis;
  123. display: -webkit-box;
  124. -webkit-line-clamp: 1;
  125. -webkit-box-orient: vertical;
  126. }
  127. .ellipsis-2.data-v-57280228 {
  128. overflow: hidden;
  129. text-overflow: ellipsis;
  130. display: -webkit-box;
  131. -webkit-line-clamp: 2;
  132. -webkit-box-orient: vertical;
  133. }
  134. .product.data-v-57280228 {
  135. padding-bottom: 30rpx;
  136. padding-right: 20rpx;
  137. margin-bottom: 30rpx;
  138. border-bottom: 1px solid #eee;
  139. }
  140. .product .text.data-v-57280228 {
  141. flex: 1;
  142. margin-left: 50rpx;
  143. }
  144. .product .text .name.data-v-57280228 {
  145. height: 76rpx;
  146. font-size: 30rpx;
  147. font-weight: 600;
  148. color: #333;
  149. line-height: 38rpx;
  150. margin-bottom: 16rpx;
  151. }
  152. .product .text .price.data-v-57280228 {
  153. color: #FF3C3F;
  154. }
  155. .product .text .price-num.data-v-57280228 {
  156. font-size: 40rpx;
  157. font-weight: bold;
  158. margin-left: 2px;
  159. }
  160. .product .text .sales.data-v-57280228 {
  161. margin-left: 30rpx;
  162. }
  163. .product .text .discount.data-v-57280228 {
  164. padding: 4rpx 14rpx;
  165. border: 1px solid #FF3C3F;
  166. border-radius: 2px;
  167. color: #FF3C3F;
  168. margin-right: 50rpx;
  169. }
  170. .product .text .up.data-v-57280228 {
  171. margin-bottom: 10rpx;
  172. }
  173. .product .text .down.data-v-57280228 {
  174. font-size: 20rpx;
  175. }
  176. .product.small-product .text.data-v-57280228 {
  177. margin-left: 30rpx;
  178. }
  179. .product.small-product .text .name.data-v-57280228 {
  180. font-size: 26rpx;
  181. }
  182. .product.small-product .text .price-num.data-v-57280228 {
  183. font-size: 30rpx;
  184. }
  185. .product.small-product .text .discount.data-v-57280228 {
  186. margin-right: 5px;
  187. }
  188. .icon-nav.data-v-57280228 {
  189. margin-bottom: 45rpx;
  190. }
  191. .icon-nav .u-image.data-v-57280228 {
  192. margin-bottom: 15rpx;
  193. }
  194. .icon-nav .nav-item.data-v-57280228 {
  195. text-align: center;
  196. font-size: 22rpx;
  197. color: #666;
  198. }
  199. .half-product-item.data-v-57280228 {
  200. background-color: #fff;
  201. margin-bottom: 30rpx;
  202. width: 48%;
  203. }
  204. .half-product-item .down.data-v-57280228 {
  205. padding: 20rpx;
  206. }
  207. .half-product-item .down .name.data-v-57280228 {
  208. font-size: 30rpx;
  209. line-height: 42rpx;
  210. color: #333;
  211. margin-bottom: 10rpx;
  212. }
  213. .half-product-item .down .price-num.data-v-57280228 {
  214. font-size: 40rpx;
  215. margin-left: 10rpx;
  216. }
  217. .half-product-item.data-v-57280228:nth-child(even) {
  218. margin-left: 10rpx;
  219. }
  220. .tabs-wrap.data-v-57280228 {
  221. margin-bottom: 30rpx;
  222. }
  223. .tabs-wrap .more.data-v-57280228 {
  224. font-size: 24rpx;
  225. color: #999;
  226. }
  227. .news .news-item.data-v-57280228 {
  228. padding-bottom: 30rpx;
  229. margin-bottom: 30rpx;
  230. }
  231. .news .news-item .text.data-v-57280228 {
  232. margin-left: 20rpx;
  233. }
  234. .news .news-item .text .til.data-v-57280228 {
  235. font-size: 30rpx;
  236. color: #333;
  237. line-height: 1.5;
  238. font-weight: 600;
  239. margin-bottom: 17rpx;
  240. }
  241. .news .news-item .text .time.data-v-57280228 {
  242. text-align: right;
  243. color: #999;
  244. font-size: 24rpx;
  245. }
  246. .page-bg.data-v-57280228 {
  247. position: absolute;
  248. z-index: -1;
  249. left: 0;
  250. top: 0;
  251. right: 0;
  252. }
  253. .page-bg .img.data-v-57280228 {
  254. width: 100%;
  255. }
  256. .advantage.data-v-57280228 {
  257. margin-top: 20rpx;
  258. margin-bottom: 50rpx;
  259. font-size: 20rpx;
  260. color: #ccc;
  261. }
  262. .advantage.data-v-57280228 .u-icon {
  263. margin-right: 10rpx;
  264. }
  265. .index-img.data-v-57280228 {
  266. margin-bottom: 56rpx;
  267. }
  268. .hot-product .product.data-v-57280228 {
  269. padding: 30rpx;
  270. background-color: #fff;
  271. border: 0;
  272. }