more.wxss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .more,
  28. page {
  29. min-height: 100%;
  30. height: auto;
  31. background: #fff6f7;
  32. }
  33. .screen {
  34. position: fixed;
  35. bottom: 0;
  36. right: 0;
  37. width: 0;
  38. overflow: hidden;
  39. height: calc(100vh - 88px);
  40. background: #ffffff;
  41. z-index: 2021;
  42. transition: all 0.2s ease;
  43. }
  44. .screen .screen_box {
  45. padding: 30rpx 20rpx 0 30rpx;
  46. }
  47. .screen .screen_box .screen_name {
  48. font-size: 28rpx;
  49. margin-bottom: 24rpx;
  50. }
  51. .screen .screen_box .screen_head .screen_ipt {
  52. width: 168rpx;
  53. height: 64rpx;
  54. padding: 0 30rpx;
  55. background: #f5f5f5;
  56. border-radius: 32rpx;
  57. }
  58. .screen .screen_box .screen_head .screen_ipt input {
  59. font-size: 26rpx;
  60. text-align: center;
  61. }
  62. .screen .screen_box .screen_head .screen_head_line {
  63. width: 27rpx;
  64. height: 3rpx;
  65. margin: 0 20rpx;
  66. background: #999999;
  67. }
  68. .screen .screen_box .screen_ul {
  69. flex-wrap: wrap;
  70. }
  71. .screen .screen_box .screen_ul .screen_li {
  72. width: 166rpx;
  73. height: 64rpx;
  74. margin: 24rpx 24rpx 0 0;
  75. font-size: 26rpx;
  76. background: #f5f5f5;
  77. border-radius: 32rpx;
  78. }
  79. .screen .screen_box .screen_ul .screen_li:nth-child(3n) {
  80. margin-right: 0;
  81. }
  82. .screen .screen_box .screen_ul .active {
  83. color: #ffffff;
  84. background: #f6af32;
  85. }
  86. .screen .screen_footer {
  87. width: 100%;
  88. bottom: 0;
  89. position: absolute;
  90. }
  91. .screen .screen_footer .screen_footer_li {
  92. width: 260rpx;
  93. height: 68rpx;
  94. color: #666666;
  95. font-size: 32rpx;
  96. background: #f5f5f5;
  97. }
  98. .screen .screen_footer .screen_footer_li:last-child {
  99. color: #ffffff;
  100. background: #f6af32;
  101. }
  102. .marking {
  103. position: fixed;
  104. bottom: 0;
  105. right: 0;
  106. width: 100%;
  107. height: calc(100vh - 88px);
  108. background: rgba(0, 0, 0, 0.5);
  109. }
  110. .banner {
  111. width: 715rpx;
  112. height: 317rpx;
  113. margin: 0 auto;
  114. }
  115. .banner image {
  116. width: 100%;
  117. height: 100%;
  118. }
  119. .small {
  120. margin-top: 24rpx;
  121. width: 100%;
  122. display: flex;
  123. justify-content: space-around;
  124. align-items: center;
  125. }
  126. .small .small-item {
  127. width: 25%;
  128. display: flex;
  129. flex-direction: column;
  130. justify-content: center;
  131. align-items: center;
  132. line-height: 1;
  133. }
  134. .small .small-item .small-image {
  135. width: 64rpx;
  136. height: 64rpx;
  137. }
  138. .small .small-item .small-image image {
  139. width: 100%;
  140. height: 100%;
  141. }
  142. .small .small-item .small-font {
  143. margin-top: 16rpx;
  144. font-size: 22rpx;
  145. font-family: PingFang SC;
  146. font-weight: bold;
  147. color: #333333;
  148. }
  149. .more_head {
  150. width: 100%;
  151. height: 88rpx;
  152. z-index: 20;
  153. margin-bottom: 30rpx;
  154. justify-content: start;
  155. margin-top: 20rpx;
  156. }
  157. .more_head .more_head_li {
  158. margin: 0 30rpx;
  159. padding-bottom: 10rpx;
  160. }
  161. .more_head .more_head_li text {
  162. font-size: 30rpx;
  163. }
  164. .more_head .more_head_li image {
  165. width: 22rpx;
  166. height: 22rpx;
  167. transition: all 0.2s ease;
  168. margin-left: 10rpx;
  169. }
  170. .more_head .more_head_li .handstand {
  171. -webkit-transform: rotate(180deg);
  172. transform: rotate(180deg);
  173. }
  174. .more_head .more_head_li.active {
  175. border-bottom: 2px solid #6087f6;
  176. }
  177. .more_head .more_head_li.active text {
  178. color: #6087f6;
  179. }
  180. .home_recommend_ul {
  181. flex-wrap: wrap;
  182. padding: 0 28rpx;
  183. }
  184. .home_recommend_ul .home_recommend_li {
  185. width: 700rpx;
  186. background: #ffffff;
  187. border-radius: 15rpx;
  188. padding: 20rpx;
  189. margin-bottom: 30rpx;
  190. background: #ffffff;
  191. box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(153, 153, 153, 0.1);
  192. border-radius: 10rpx;
  193. display: flex;
  194. align-items: center;
  195. }
  196. .home_recommend_ul .home_recommend_li .home_recommend_li_img {
  197. width: 190rpx;
  198. height: 190rpx;
  199. }
  200. .home_recommend_ul .home_recommend_li .home_recommend_li_img .home_recommend_li_img_box image {
  201. width: 190rpx;
  202. height: 190rpx;
  203. border-radius: 6rpx;
  204. }
  205. .home_recommend_ul .home_recommend_li .home_recommend_li_main {
  206. padding-left: 10rpx;
  207. }
  208. .home_recommend_ul .home_recommend_li .home_recommend_li_price {
  209. padding: 0 8rpx 0 0;
  210. margin: 10rpx 0 0;
  211. background: #fff1eb;
  212. display: flex;
  213. align-items: center;
  214. border-top-right-radius: 14rpx;
  215. border-bottom-right-radius: 14rpx;
  216. }
  217. .home_recommend_ul .home_recommend_li .home_recommend_li_price .home_recommend_li_price_icon {
  218. position: relative;
  219. width: 124rpx;
  220. height: 32rpx;
  221. padding-left: 36rpx;
  222. }
  223. .home_recommend_ul .home_recommend_li .home_recommend_li_price .home_recommend_li_price_icon .home_recommend_li_price_icon_bg {
  224. position: absolute;
  225. top: 0;
  226. left: 0;
  227. right: 0;
  228. width: 124rpx;
  229. height: 32rpx;
  230. }
  231. .home_recommend_ul .home_recommend_li .home_recommend_li_price .home_recommend_li_price_icon .home_recommend_li_price_icon_bg imgae {
  232. width: 100%;
  233. height: 100%;
  234. }
  235. .home_recommend_ul .home_recommend_li .home_recommend_li_price .home_recommend_li_price_icon .home_recommend_li_price_icon_font {
  236. position: relative;
  237. z-index: 2;
  238. font-size: 18rpx;
  239. font-family: PingFang SC;
  240. font-weight: bold;
  241. color: #ffffff;
  242. line-height: 32rpx;
  243. }
  244. .home_recommend_ul .home_recommend_li .home_recommend_li_price .home_recommend_li_price_font {
  245. font-size: 24rpx;
  246. font-family: PingFang SC;
  247. font-weight: bold;
  248. color: #ff2829;
  249. line-height: 32rpx;
  250. }
  251. .home_recommend_ul .home_recommend_li .home_recommend_li_name {
  252. font-family: PingFang SC;
  253. font-weight: bold;
  254. color: #333333;
  255. font-size: 28rpx;
  256. display: -webkit-box;
  257. -webkit-box-orient: vertical;
  258. -webkit-line-clamp: 2;
  259. overflow: hidden;
  260. }
  261. .home_recommend_ul .home_recommend_li .home_recommend_li_glod {
  262. justify-content: flex-start;
  263. align-items: center;
  264. margin-top: 22rpx;
  265. }
  266. .home_recommend_ul .home_recommend_li .home_recommend_li_glod image {
  267. width: 32rpx;
  268. height: 32rpx;
  269. }
  270. .home_recommend_ul .home_recommend_li .home_recommend_li_glod .home_recommend_li_glod_font {
  271. font-size: 24rpx;
  272. font-family: PingFang SC;
  273. font-weight: bold;
  274. color: #ff281e;
  275. margin-left: 10rpx;
  276. }
  277. .home_recommend_shop {
  278. margin-top: 10rpx;
  279. display: flex;
  280. align-items: flex-end;
  281. }
  282. .home_recommend_shop text {
  283. font-size: 16rpx;
  284. font-family: PingFang SC;
  285. font-weight: bold;
  286. color: #999999;
  287. }
  288. .home_recommend_li_img_right {
  289. display: flex;
  290. align-items: center;
  291. }
  292. .home_recommend_li_img_right image {
  293. width: 50rpx;
  294. height: 50rpx;
  295. background: #ffffff;
  296. border: 1px solid #e2e2e2;
  297. border-radius: 5rpx;
  298. margin-right: 10rpx;
  299. }
  300. .home_recommend_li_img_right image:last-child {
  301. margin-right: 0;
  302. }
  303. .home_recommend_li_img_right .home_recommend_li_img_bot {
  304. display: flex;
  305. align-items: center;
  306. }
  307. .home_recommend_li_img_right .home_recommend_li_img_bot image {
  308. width: 50rpx;
  309. height: 50rpx;
  310. background: #ffffff;
  311. border: 1px solid #e2e2e2;
  312. border-radius: 5rpx;
  313. margin-right: 10rpx;
  314. }