爱简收旧衣按件回收前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

516 lines
12 KiB

  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .promotion-page.data-v-50cfba12 {
  27. min-height: 100vh;
  28. background: linear-gradient(to right, #b2f08d 0%, #39e9d2 100%);
  29. padding-bottom: calc(env(safe-area-inset-bottom) + 120rpx);
  30. }
  31. .nav-bar.data-v-50cfba12 {
  32. position: fixed;
  33. top: 0;
  34. left: 0;
  35. right: 0;
  36. z-index: 1000;
  37. width: 100vw;
  38. background: linear-gradient(to right, #b2f08d 0%, #39e9d2 100%);
  39. box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.03);
  40. }
  41. .nav-bar .nav-bar-inner.data-v-50cfba12 {
  42. display: flex;
  43. align-items: center;
  44. height: 44px;
  45. width: 100vw;
  46. position: relative;
  47. }
  48. .nav-bar .back-icon.data-v-50cfba12 {
  49. width: 44px;
  50. height: 44px;
  51. display: flex;
  52. align-items: center;
  53. justify-content: center;
  54. position: absolute;
  55. left: 0;
  56. top: 0;
  57. }
  58. .nav-bar .nav-bar-title.data-v-50cfba12 {
  59. flex: 1;
  60. text-align: center;
  61. font-size: 36rpx;
  62. font-weight: bold;
  63. color: #222;
  64. letter-spacing: 2rpx;
  65. line-height: 44px;
  66. }
  67. .nav-bar .nav-bar-right.data-v-50cfba12 {
  68. width: 44px;
  69. height: 44px;
  70. position: absolute;
  71. right: 0;
  72. top: 0;
  73. display: flex;
  74. align-items: center;
  75. justify-content: center;
  76. }
  77. .feature-tags.data-v-50cfba12 {
  78. border-radius: 32rpx;
  79. display: flex;
  80. align-items: center;
  81. justify-content: space-between;
  82. padding: 0 24rpx;
  83. height: 80rpx;
  84. box-shadow: 0 4rpx 24rpx rgba(60, 167, 250, 0.08);
  85. }
  86. .feature-tags .tag.data-v-50cfba12 {
  87. flex: 1;
  88. display: flex;
  89. align-items: center;
  90. justify-content: center;
  91. }
  92. .feature-tags .tag .check.data-v-50cfba12 {
  93. width: 36rpx;
  94. height: 36rpx;
  95. background: #fff;
  96. border-radius: 50%;
  97. display: flex;
  98. align-items: center;
  99. justify-content: center;
  100. font-size: 28rpx;
  101. color: #13ac47;
  102. font-weight: bold;
  103. margin-right: 10rpx;
  104. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08);
  105. }
  106. .feature-tags .tag .text.data-v-50cfba12 {
  107. color: #fff;
  108. font-size: 28rpx;
  109. font-weight: bold;
  110. }
  111. .main-content.data-v-50cfba12 {
  112. margin-top: 20rpx;
  113. padding-top: 88rpx;
  114. background: linear-gradient(180deg, #eaffe6 0%, #fff 30%);
  115. min-height: 100vh;
  116. width: 100vw;
  117. box-sizing: border-box;
  118. position: relative;
  119. z-index: 11;
  120. border-radius: 40rpx 40rpx 0 0;
  121. overflow: hidden;
  122. }
  123. .user-card.data-v-50cfba12 {
  124. margin: 0 32rpx;
  125. background: linear-gradient(to bottom, #f6fff2 0%, #fff 100%);
  126. border-radius: 32rpx;
  127. box-shadow: 0 8rpx 32rpx rgba(60, 167, 250, 0.12);
  128. padding: 48rpx 36rpx 36rpx 36rpx;
  129. border: none;
  130. position: relative;
  131. top: -40rpx;
  132. display: flex;
  133. flex-direction: column;
  134. align-items: stretch;
  135. }
  136. .user-card .user-info-row.data-v-50cfba12 {
  137. display: flex;
  138. align-items: center;
  139. padding-bottom: 0;
  140. margin-bottom: 32rpx;
  141. }
  142. .user-card .user-info-row .avatar-box.data-v-50cfba12 {
  143. margin-right: 24rpx;
  144. display: flex;
  145. flex-direction: column;
  146. align-items: center;
  147. }
  148. .user-card .user-info-row .avatar-box .avatar-frame.data-v-50cfba12 {
  149. width: 104rpx;
  150. height: 104rpx;
  151. border-radius: 10rpx;
  152. overflow: hidden;
  153. position: relative;
  154. background: #f2f2f2;
  155. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.1);
  156. }
  157. .user-card .user-info-row .avatar-box .avatar-frame .avatar-img.data-v-50cfba12 {
  158. width: 104rpx;
  159. height: 80rpx;
  160. object-fit: cover;
  161. display: block;
  162. }
  163. .user-card .user-info-row .avatar-box .avatar-frame .user-type.data-v-50cfba12 {
  164. position: absolute;
  165. left: 0;
  166. bottom: 0;
  167. width: 100%;
  168. height: 32rpx;
  169. background: #e5e5e5;
  170. color: #888;
  171. font-size: 22rpx;
  172. font-weight: 500;
  173. text-align: center;
  174. line-height: 32rpx;
  175. border-bottom-left-radius: 10rpx;
  176. border-bottom-right-radius: 10rpx;
  177. }
  178. .user-card .user-info-row .user-meta.data-v-50cfba12 {
  179. flex: 1;
  180. display: flex;
  181. flex-direction: column;
  182. justify-content: center;
  183. }
  184. .user-card .user-info-row .user-meta .nickname.data-v-50cfba12 {
  185. font-size: 32rpx;
  186. font-weight: bold;
  187. color: #222;
  188. margin-bottom: 6rpx;
  189. }
  190. .user-card .user-info-row .user-meta .userid.data-v-50cfba12 {
  191. font-size: 24rpx;
  192. color: #bbb;
  193. }
  194. .user-card .user-info-row .user-count.data-v-50cfba12 {
  195. font-size: 30rpx;
  196. color: #222;
  197. font-weight: bold;
  198. text-align: right;
  199. min-width: 120rpx;
  200. margin-left: 16rpx;
  201. align-self: center;
  202. }
  203. .user-card .user-stats-row.data-v-50cfba12 {
  204. display: flex;
  205. align-items: stretch;
  206. justify-content: center;
  207. background: #f2fff6;
  208. border-radius: 24rpx;
  209. margin: 0 0 8rpx 0;
  210. padding: 32rpx 0;
  211. box-sizing: border-box;
  212. }
  213. .user-card .user-stats-row .stat-block.data-v-50cfba12 {
  214. flex: 1;
  215. display: flex;
  216. flex-direction: column;
  217. align-items: center;
  218. justify-content: center;
  219. padding: 0 24rpx;
  220. }
  221. .user-card .user-stats-row .stat-block .stat-label.data-v-50cfba12 {
  222. font-size: 24rpx;
  223. color: #bbb;
  224. margin-bottom: 12rpx;
  225. text-align: center;
  226. }
  227. .user-card .user-stats-row .stat-block .stat-value.data-v-50cfba12 {
  228. font-size: 40rpx;
  229. color: #222;
  230. font-weight: bold;
  231. margin-bottom: 18rpx;
  232. }
  233. .user-card .user-stats-row .stat-block .stat-value.main.data-v-50cfba12 {
  234. color: #13ac47;
  235. font-size: 48rpx;
  236. }
  237. .user-card .user-stats-row .stat-block .withdraw-btn.data-v-50cfba12, .user-card .user-stats-row .stat-block .record-btn.data-v-50cfba12 {
  238. width: 180rpx;
  239. height: 56rpx;
  240. border-radius: 28rpx;
  241. font-size: 26rpx;
  242. font-weight: bold;
  243. margin-top: 0;
  244. display: flex;
  245. align-items: center;
  246. justify-content: center;
  247. text-align: center;
  248. box-sizing: border-box;
  249. }
  250. .user-card .user-stats-row .stat-block .withdraw-btn.data-v-50cfba12 {
  251. background: linear-gradient(90deg, #b2f08d, #39e9d2);
  252. color: #fff;
  253. border: none;
  254. }
  255. .user-card .user-stats-row .stat-block .record-btn.data-v-50cfba12 {
  256. background: #fff;
  257. color: #13ac47;
  258. border: 2rpx solid #13ac47;
  259. }
  260. .user-card .user-stats-row .stat-block .record-btn.data-v-50cfba12:active, .user-card .user-stats-row .stat-block .record-btn.data-v-50cfba12:focus {
  261. opacity: 0.8;
  262. }
  263. .user-card .user-stats-row .stat-divider.data-v-50cfba12 {
  264. width: 2rpx;
  265. height: 72rpx;
  266. background: #e0e0e0;
  267. margin: 0 16rpx;
  268. border-radius: 2rpx;
  269. align-self: center;
  270. }
  271. .user-card .bottom-menu-row.data-v-50cfba12 {
  272. display: flex;
  273. justify-content: center;
  274. align-items: center;
  275. margin: 40rpx 0 0 0;
  276. }
  277. .user-card .bottom-menu-row .menu-item.data-v-50cfba12 {
  278. display: flex;
  279. align-items: center;
  280. margin: 0 40rpx;
  281. }
  282. .user-card .bottom-menu-row .menu-item .menu-icon.data-v-50cfba12 {
  283. width: 56rpx;
  284. height: 56rpx;
  285. border-radius: 50%;
  286. display: flex;
  287. align-items: center;
  288. justify-content: center;
  289. margin-right: 12rpx;
  290. }
  291. .user-card .bottom-menu-row .menu-item .menu-icon.red.data-v-50cfba12 {
  292. background: #ff7e6a;
  293. }
  294. .user-card .bottom-menu-row .menu-item .menu-icon.blue.data-v-50cfba12 {
  295. background: #7eb6ff;
  296. }
  297. .user-card .bottom-menu-row .menu-item .menu-text.data-v-50cfba12 {
  298. font-size: 28rpx;
  299. color: #222;
  300. font-weight: 500;
  301. }
  302. .rank-section.data-v-50cfba12 {
  303. margin: 32rpx 32rpx 0 32rpx;
  304. }
  305. .rank-section .rank-title.data-v-50cfba12 {
  306. font-size: 30rpx;
  307. color: #222;
  308. font-weight: bold;
  309. text-align: center;
  310. margin-bottom: 24rpx;
  311. }
  312. .rank-section .rank-list.data-v-50cfba12 {
  313. background: #fff;
  314. border-radius: 24rpx;
  315. box-shadow: 0 2rpx 8rpx rgba(60, 167, 250, 0.04);
  316. overflow: hidden;
  317. }
  318. .rank-section .rank-list .rank-item.data-v-50cfba12 {
  319. display: flex;
  320. align-items: center;
  321. padding: 0 44rpx;
  322. height: 104rpx;
  323. border-bottom: 1rpx solid #f3f3f3;
  324. }
  325. .rank-section .rank-list .rank-item.data-v-50cfba12:last-child {
  326. border-bottom: none;
  327. }
  328. .rank-section .rank-list .rank-item .rank-icon.data-v-50cfba12 {
  329. width: 44rpx;
  330. display: flex;
  331. align-items: center;
  332. justify-content: center;
  333. }
  334. .rank-section .rank-list .rank-item .rank-icon .crown.data-v-50cfba12, .rank-section .rank-list .rank-item .rank-icon .num-icon.data-v-50cfba12 {
  335. width: 36rpx;
  336. height: 36rpx;
  337. }
  338. .rank-section .rank-list .rank-item .rank-avatar.data-v-50cfba12 {
  339. width: 48rpx;
  340. height: 48rpx;
  341. border-radius: 50%;
  342. margin: 0 18rpx 0 10rpx;
  343. background: #f5f5f5;
  344. }
  345. .rank-section .rank-list .rank-item .rank-phone.data-v-50cfba12 {
  346. flex: 1;
  347. font-size: 28rpx;
  348. color: #222;
  349. font-weight: bold;
  350. }
  351. .rank-section .rank-list .rank-item .rank-amount.data-v-50cfba12 {
  352. font-size: 30rpx;
  353. color: #b98c4a;
  354. font-weight: bold;
  355. min-width: 120rpx;
  356. text-align: right;
  357. }
  358. .rights-section.data-v-50cfba12 {
  359. margin: 40rpx 32rpx 0 32rpx;
  360. }
  361. .rights-section .rights-title.data-v-50cfba12 {
  362. font-size: 30rpx;
  363. color: #222;
  364. font-weight: bold;
  365. text-align: center;
  366. margin-bottom: 24rpx;
  367. }
  368. .rights-section .rights-image.data-v-50cfba12 {
  369. width: 100%;
  370. height: auto;
  371. }
  372. .qrcode-section.data-v-50cfba12 {
  373. margin: 48rpx 32rpx 0 32rpx;
  374. background: #fff;
  375. border-radius: 32rpx;
  376. box-shadow: 0 4rpx 24rpx rgba(60, 167, 250, 0.08);
  377. display: flex;
  378. flex-direction: column;
  379. align-items: center;
  380. padding: 32rpx 0 40rpx 0;
  381. }
  382. .qrcode-section .qrcode-title.data-v-50cfba12 {
  383. font-size: 28rpx;
  384. color: #222;
  385. font-weight: bold;
  386. margin-bottom: 24rpx;
  387. }
  388. .qrcode-section .qrcode-img.data-v-50cfba12 {
  389. width: 220rpx;
  390. height: 220rpx;
  391. background: #fff;
  392. border-radius: 24rpx;
  393. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08);
  394. }
  395. .bottom-btns.data-v-50cfba12 {
  396. position: fixed;
  397. left: 0;
  398. right: 0;
  399. bottom: 0;
  400. display: flex;
  401. justify-content: space-between;
  402. padding: 24rpx 32rpx calc(env(safe-area-inset-bottom) + 24rpx) 32rpx;
  403. background: #fff;
  404. z-index: 100;
  405. }
  406. .bottom-btns .btn.data-v-50cfba12 {
  407. flex: 1;
  408. height: 88rpx;
  409. border-radius: 44rpx;
  410. font-size: 32rpx;
  411. font-weight: bold;
  412. margin: 0 12rpx;
  413. border: none;
  414. }
  415. .bottom-btns .btn.gray.data-v-50cfba12 {
  416. background: #f5f5f5;
  417. color: #999;
  418. }
  419. .bottom-btns .btn.green.data-v-50cfba12 {
  420. background: linear-gradient(90deg, #42dfc2, #9be48f);
  421. color: #fff;
  422. }
  423. .bottom-menu-row.data-v-50cfba12 {
  424. display: flex;
  425. justify-content: center;
  426. align-items: center;
  427. margin: 40rpx 0 0 0;
  428. }
  429. .bottom-menu-row .menu-item.data-v-50cfba12 {
  430. display: flex;
  431. align-items: center;
  432. margin: 0 40rpx;
  433. }
  434. .bottom-menu-row .menu-item .menu-icon.data-v-50cfba12 {
  435. width: 56rpx;
  436. height: 56rpx;
  437. border-radius: 50%;
  438. display: flex;
  439. align-items: center;
  440. justify-content: center;
  441. margin-right: 12rpx;
  442. }
  443. .bottom-menu-row .menu-item .menu-icon.red.data-v-50cfba12 {
  444. background: #ff7e6a;
  445. }
  446. .bottom-menu-row .menu-item .menu-icon.blue.data-v-50cfba12 {
  447. background: #7eb6ff;
  448. }
  449. .bottom-menu-row .menu-item .menu-text.data-v-50cfba12 {
  450. font-size: 28rpx;
  451. color: #222;
  452. font-weight: 500;
  453. }
  454. .progress-modal-mask.data-v-50cfba12 {
  455. position: fixed;
  456. left: 0;
  457. right: 0;
  458. top: 0;
  459. bottom: 0;
  460. background: rgba(0, 0, 0, 0.25);
  461. z-index: 2000;
  462. display: flex;
  463. align-items: center;
  464. justify-content: center;
  465. }
  466. .progress-modal-box.data-v-50cfba12 {
  467. width: 80vw;
  468. max-width: 420px;
  469. background: linear-gradient(180deg, #f3fff2 0%, #eafff6 100%);
  470. border-radius: 32rpx;
  471. box-shadow: 0 8rpx 32rpx rgba(60, 167, 250, 0.1);
  472. padding: 56rpx 0 32rpx 0;
  473. display: flex;
  474. flex-direction: column;
  475. align-items: center;
  476. }
  477. .progress-modal-title.data-v-50cfba12 {
  478. font-size: 34rpx;
  479. color: #222;
  480. font-weight: bold;
  481. text-align: center;
  482. margin-bottom: 48rpx;
  483. white-space: pre-line;
  484. }
  485. .progress-modal-list.data-v-50cfba12 {
  486. width: 88%;
  487. display: flex;
  488. flex-direction: column;
  489. gap: 18rpx;
  490. margin-bottom: 48rpx;
  491. }
  492. .progress-modal-item.data-v-50cfba12 {
  493. border-radius: 18rpx;
  494. height: 80rpx;
  495. display: flex;
  496. align-items: center;
  497. justify-content: space-between;
  498. font-size: 30rpx;
  499. color: #222;
  500. padding: 0 32rpx;
  501. box-shadow: 0 2rpx 8rpx rgba(60, 167, 250, 0.04);
  502. }
  503. .progress-modal-btn.data-v-50cfba12 {
  504. width: 88%;
  505. height: 88rpx;
  506. background: linear-gradient(90deg, #b2f08d, #39e9d2);
  507. color: #222;
  508. font-size: 32rpx;
  509. font-weight: bold;
  510. border-radius: 44rpx;
  511. margin-top: 8rpx;
  512. box-shadow: 0 4rpx 16rpx rgba(60, 167, 250, 0.08);
  513. display: flex;
  514. align-items: center;
  515. justify-content: center;
  516. border: none;
  517. }