爱简收旧衣按件回收前端代码仓库
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.

915 lines
21 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. <template>
  2. <view class="container" >
  3. <!-- 顶部banner -->
  4. <view class="banner">
  5. <!-- <text class="banner-title">我的循环钱包</text> -->
  6. <image class="banner-bg" src="https://oss.budingxiaoshuo.com/upload/我的banneer(1)_1748252280266.png" mode="aspectFill"></image>
  7. </view>
  8. <view class="user-cards" v-if="!login_status">
  9. <view class="user-info">
  10. <image class="avatars" src="/static/暂未登录 请先登录.png" mode="aspectFill"></image>
  11. <view class="info">
  12. <text class="names">暂未登录请先登录</text>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="btns" v-if="!login_status">
  17. <uv-button
  18. class="btn"
  19. type="primary"
  20. text="立即登录"
  21. :custom-style="customStyle"
  22. color="linear-gradient(to right, rgb(255, 190, 61), rgb(255, 171, 2))"
  23. shape="circle"
  24. @click="logout"
  25. ></uv-button>
  26. <text>暂未登录请先登录</text>
  27. </view>
  28. <!-- 用户信息卡片 -->
  29. <view class="user-card" v-if="login_status">
  30. <view class="user-info">
  31. <image class="avatar" :src="userInfo.headImage" mode="aspectFill"></image>
  32. <view class="info">
  33. <text class="name">{{userInfo.nickName}}</text>
  34. <text class="id">{{userInfo.id}}</text>
  35. </view>
  36. </view>
  37. <view class="wallet-info">
  38. <view class="balance">
  39. <text class="label">我的余额</text>
  40. <view class="amount">
  41. <text class="symbol">¥</text>
  42. <text class="value">{{userInfo.money}}</text>
  43. </view>
  44. <view class="withdraw-btn" @tap="goWithdraw">
  45. <text>去提现</text>
  46. <uni-icons type="right" size="10" color="#df8155" class="arrow"></uni-icons>
  47. </view>
  48. </view>
  49. <view class="recycle-count">
  50. <text class="label">累计回收</text>
  51. <view class="count">
  52. <text class="value">341</text>
  53. <text class="unit"></text>
  54. </view>
  55. </view>
  56. </view>
  57. </view>
  58. <!-- 分享赚佣金模块 -->
  59. <view class="share-commission-card" @tap="onShareCommission" v-if="login_status">
  60. <text class="share-commission-text">分享赚佣金</text>
  61. </view>
  62. <!-- 订单区域 -->
  63. <view class="order-section" v-if="login_status">
  64. <view class="section-header">
  65. <text class="title">我的订单</text>
  66. <view class="view-all" @tap="viewAllOrders">
  67. <text>查看全部</text>
  68. <text class="arrow">></text>
  69. </view>
  70. </view>
  71. <view class="order-tabs">
  72. <view
  73. v-for="(tab, index) in orderTabs"
  74. :key="index"
  75. class="tab-item"
  76. :class="{ active: currentTab === index }"
  77. @tap="switchTab(index)"
  78. >
  79. <text>{{tab.name}}</text>
  80. <text class="badge" v-if="tab.badge">{{tab.badge}}</text>
  81. </view>
  82. </view>
  83. <!-- 订单列表 -->
  84. <view class="order-list">
  85. <view class="order-item">
  86. <view class="order-header">
  87. <text class="order-id">订单编号 RE82738127861526</text>
  88. </view>
  89. <view class="order-content">
  90. <image class="goods-image" src="/static/回收/衣物.png" mode="aspectFill"></image>
  91. <view class="order-info-opt">
  92. <view class="order-info-top">
  93. <text class="order-info-count">8 </text>
  94. <text class="order-info-price">3-10 /</text>
  95. </view>
  96. <view class="order-info-estimate">
  97. 预估 76-80
  98. </view>
  99. </view>
  100. </view>
  101. <view class="order-footer">
  102. <image class="courier-avatar" src="/static/my/【上门中】快递员正在赶来.png" mode="aspectFill"></image>
  103. <view class="delivery-info">
  104. <text class="status">上门中快递员正在赶来</text>
  105. <text class="time">周四 11:00~13:00</text>
  106. </view>
  107. </view>
  108. </view>
  109. </view>
  110. </view>
  111. <!-- 管理中心列表型卡片 -->
  112. <view
  113. class="function-list manage-list"
  114. v-if="login_status && (userInfo.isOrderRole==='Y' || userInfo.isAppletUserRole==='Y' || userInfo.isUserRole==='Y' || userInfo.isTuiRole==='Y')"
  115. >
  116. <view
  117. class="function-item"
  118. v-if="userInfo.isOrderRole==='Y'"
  119. @tap="goOrderManage"
  120. >
  121. <view class="item-left">
  122. <image class="icon" src="/static/my/订单管理.png" mode="aspectFit"></image>
  123. <text>订单管理</text>
  124. </view>
  125. <uni-icons type="right" size="15"></uni-icons>
  126. </view>
  127. <view
  128. class="function-item"
  129. v-if="userInfo.isAppletUserRole==='Y'"
  130. @tap="goAppletUserManage"
  131. >
  132. <view class="item-left">
  133. <image class="icon" src="/static/my/用户管理.png" mode="aspectFit"></image>
  134. <text>用户管理</text>
  135. </view>
  136. <uni-icons type="right" size="15"></uni-icons>
  137. </view>
  138. <view
  139. class="function-item"
  140. v-if="userInfo.isUserRole==='Y'"
  141. @tap="goStaffManage"
  142. >
  143. <view class="item-left">
  144. <image class="icon" src="/static/my/员工管理.png" mode="aspectFit"></image>
  145. <text>员工管理</text>
  146. </view>
  147. <uni-icons type="right" size="15"></uni-icons>
  148. </view>
  149. <view
  150. class="function-item"
  151. v-if="userInfo.isTuiRole==='Y'"
  152. @tap="goTuiManage"
  153. >
  154. <view class="item-left">
  155. <image class="icon" src="/static/my/推广官管理.png" mode="aspectFit"></image>
  156. <text>推广官管理</text>
  157. </view>
  158. <uni-icons type="right" size="15"></uni-icons>
  159. </view>
  160. </view>
  161. <!-- 功能列表 -->
  162. <view class="function-list" v-if="login_status">
  163. <view class="function-item" v-for="(item, index) in functionList" :key="index" @tap="handleFunction(index)">
  164. <view class="item-left">
  165. <image class="icon" :src="item.icon" mode="aspectFit"></image>
  166. <text>{{item.name}}</text>
  167. </view>
  168. <uni-icons type="right" size="15"></uni-icons>
  169. </view>
  170. </view>
  171. <!-- 根据角色显示不同的导航栏 -->
  172. <uv-tabbar
  173. :value="value"
  174. :fixed="true"
  175. @change="changeTo"
  176. >
  177. <uv-tabbar-item text="首页" >
  178. <template v-slot:active-icon>
  179. <image class="icon" src="/static/home/首页-点击.png"></image>
  180. </template>
  181. <template v-slot:inactive-icon>
  182. <image class="icon" src="/static/home/首页-未点击.png"></image>
  183. </template>
  184. </uv-tabbar-item>
  185. <uv-tabbar-item text="回收" >
  186. <template v-slot:active-icon>
  187. <image class="icon" src="/static/home/回收-点击.png"></image>
  188. </template>
  189. <template v-slot:inactive-icon>
  190. <image class="icon" src="/static/home/回收-未点击.png"></image>
  191. </template>
  192. </uv-tabbar-item>
  193. <uv-tabbar-item text="我的" >
  194. <template v-slot:active-icon>
  195. <image class="icon" src="/static/home/我的-点击.png"></image>
  196. </template>
  197. <template v-slot:inactive-icon>
  198. <image class="icon" src="/static/home/我的-未点击.png"></image>
  199. </template>
  200. </uv-tabbar-item>
  201. </uv-tabbar>
  202. </view>
  203. </template>
  204. <script>
  205. import pullRefreshMixin from '@/pages/mixins/pullRefreshMixin.js'
  206. export default {
  207. mixins: [pullRefreshMixin],
  208. data() {
  209. return {
  210. value:2,
  211. currentTab: 1,
  212. login_status:false,
  213. userInfo:{},
  214. orderTabs: [
  215. { name: '全部' },
  216. { name: '进行中', badge: '2' },
  217. { name: '已完成' }
  218. ],
  219. functionList: [
  220. // { name: '推广官', icon: '/static/my/promote.png' },
  221. { name: '我的地址', icon: '/static/my/地址.png' },
  222. { name: '联系客服', icon: '/static/my/客服.png' },
  223. { name: '修改信息', icon: '/static/my/修改信息.png' },
  224. { name: '退出登录', icon: '/static/my/退出登录.png' }
  225. ]
  226. }
  227. },
  228. methods: {
  229. async onRefresh() {
  230. console.log('开始刷新')
  231. try {
  232. await this.fetchUserInfo()
  233. console.log('刷新完成')
  234. return true // 返回 true 表示刷新成功
  235. } catch (error) {
  236. console.error('刷新失败', error)
  237. throw error // 抛出错误表示刷新失败
  238. }
  239. },
  240. changeTo(e){
  241. this.value = e
  242. console.log(e,'111')
  243. if(e==0){
  244. uni.reLaunch({
  245. url: '/pages/component/home'
  246. });
  247. }else if(e == 1){
  248. uni.reLaunch({
  249. url: '/pages/component/recycle'
  250. });
  251. }
  252. },
  253. goWithdraw() {
  254. uni.navigateTo({
  255. url: '/pages/subcomponent/wallet'
  256. })
  257. },
  258. viewAllOrders() {
  259. uni.navigateTo({
  260. url: '/pages/subcomponent/order'
  261. })
  262. },
  263. switchTab(index) {
  264. this.currentTab = index
  265. },
  266. handleFunction(index) {
  267. const pages = [
  268. // '/pages/subcomponent/promotion',
  269. '/pages/subcomponent/select',
  270. '/pages/subcomponent/customer',
  271. '/pages/subcomponent/edit_profile',
  272. 'logout'
  273. ]
  274. if (pages[index] === 'logout') {
  275. uni.showModal({
  276. title: '提示',
  277. content: '确定要退出登录吗?',
  278. success: (res) => {
  279. if (res.confirm) {
  280. // 执行退出登录逻辑
  281. getApp().globalData.login_status = false;
  282. console.log(getApp().globalData.login_status);
  283. this.login_status = false;
  284. uni.removeStorageSync('token');
  285. }
  286. }
  287. })
  288. return
  289. }
  290. uni.navigateTo({
  291. url: pages[index]
  292. })
  293. },
  294. logout(){
  295. uni.reLaunch({
  296. url: '/pages/index/index'
  297. });
  298. },
  299. onShareCommission() {
  300. uni.showToast({ title: '分享赚佣金', icon: 'none' });
  301. uni.navigateTo({ url: '/pages/subcomponent/promotion' })
  302. },
  303. goOrderManage() {
  304. uni.navigateTo({ url: '/pages/manager/order' })
  305. },
  306. goAppletUserManage() {
  307. uni.navigateTo({ url: '/pages/manager/user' })
  308. },
  309. goStaffManage() {
  310. uni.navigateTo({ url: '/pages/manager/staff' })
  311. },
  312. goTuiManage() {
  313. uni.navigateTo({ url: '/pages/manager/tui' })
  314. },
  315. fetchUserInfo() {
  316. if(uni.getStorageSync('token')){
  317. this.login_status = getApp().globalData.login_status;
  318. this.$api("getUserByToken",{},(res)=>{
  319. if(res.code == 200){
  320. this.userInfo = res.result
  321. }
  322. })
  323. } else {
  324. this.login_status = false;
  325. }
  326. },
  327. },
  328. computed: {
  329. customStyle() {
  330. return {
  331. // height: '80rpx',
  332. width: '70%',
  333. }
  334. }
  335. },
  336. onLoad() {
  337. // 启用下拉刷新
  338. uni.startPullDownRefresh()
  339. uni.$on('refreshUserInfo', () => {
  340. this.fetchUserInfo()
  341. })
  342. this.fetchUserInfo()
  343. },
  344. onShow() {
  345. this.fetchUserInfo()
  346. },
  347. onPullDownRefresh() {
  348. this.fetchUserInfo()
  349. setTimeout(() => {
  350. uni.stopPullDownRefresh()
  351. uni.showToast({
  352. title: '刷新成功',
  353. icon: 'success',
  354. duration: 2000
  355. })
  356. }, 1000)
  357. },
  358. }
  359. </script>
  360. <style lang="scss" scoped>
  361. .container {
  362. min-height: 100vh;
  363. background: #f8f8f8;
  364. padding-bottom: 120rpx;
  365. }
  366. .banner {
  367. height: 400rpx;
  368. background: #ff6b35;
  369. position: relative;
  370. overflow: hidden;
  371. border-radius:0 0 30rpx 30rpx;
  372. .banner-title {
  373. position: absolute;
  374. top: 30%;
  375. left: 20%;
  376. color: #fff;
  377. font-family: DingTalk JinBuTi;
  378. font-weight: 400;
  379. font-style: italic;
  380. font-size: 30px;
  381. line-height: 100%;
  382. letter-spacing: 0%;
  383. vertical-align: bottom;
  384. z-index: 2;
  385. }
  386. .banner-bg {
  387. position: absolute;
  388. width: 100%;
  389. height: 100%;
  390. object-fit: cover;
  391. }
  392. }
  393. .user-card {
  394. margin: -50rpx 30rpx 0;
  395. background: #fff;
  396. border-radius: 24rpx;
  397. padding: 30rpx;
  398. position: relative;
  399. z-index: 2;
  400. // box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
  401. .user-info {
  402. display: flex;
  403. align-items: center;
  404. margin-bottom: 40rpx;
  405. .avatar {
  406. width: 110rpx;
  407. height: 110rpx;
  408. border-radius: 12rpx;
  409. margin-right: 24rpx;
  410. }
  411. .info {
  412. .name {
  413. font-size: 34rpx;
  414. font-weight: 600;
  415. color: #222;
  416. margin-bottom: 12rpx;
  417. display: block;
  418. }
  419. .id {
  420. font-size: 26rpx;
  421. color: #999;
  422. display: flex;
  423. align-items: center;
  424. &::before {
  425. // content: 'ID: ';
  426. color: #999;
  427. margin-right: 4rpx;
  428. }
  429. }
  430. }
  431. }
  432. .wallet-info {
  433. display: flex;
  434. padding: 30rpx;
  435. background: #fff8ea;
  436. border-radius: 16rpx;
  437. position: relative;
  438. &::after {
  439. content: '';
  440. position: absolute;
  441. top: 50%;
  442. left: 50%;
  443. transform: translate(-50%, -50%);
  444. width: 1rpx;
  445. height: 50%;
  446. background: #FFE4D9;
  447. }
  448. .balance {
  449. flex: 1;
  450. padding-right: 30rpx;
  451. .label {
  452. font-size: 26rpx;
  453. color: #999;
  454. margin-bottom: 12rpx;
  455. display: block;
  456. }
  457. .amount {
  458. display: flex;
  459. align-items: baseline;
  460. margin-bottom: 20rpx;
  461. .symbol {
  462. font-size: 30rpx;
  463. color: #FF5B05;
  464. font-weight: normal;
  465. margin-right: 4rpx;
  466. }
  467. .value {
  468. font-size: 46rpx;
  469. font-weight: 600;
  470. color: #FF5B05;
  471. line-height: 1;
  472. }
  473. }
  474. .withdraw-btn {
  475. display: inline-flex;
  476. align-items: center;
  477. padding: 8rpx 16rpx;
  478. background:#fff0d2;
  479. border: 1rpx solid rgba(255, 91, 5, 0.2);
  480. border-radius: 13rpx;
  481. color: #FF5B05;
  482. font-size: 24rpx;
  483. .arrow {
  484. margin-left: 6rpx;
  485. font-family: "PingFang SC";
  486. }
  487. }
  488. }
  489. .recycle-count {
  490. flex: 1;
  491. padding-left: 30rpx;
  492. .label {
  493. font-size: 26rpx;
  494. color: #999;
  495. margin-bottom: 12rpx;
  496. display: block;
  497. }
  498. .count {
  499. display: flex;
  500. align-items: baseline;
  501. .value {
  502. font-size: 46rpx;
  503. font-weight: 600;
  504. color: #222;
  505. line-height: 1;
  506. }
  507. .unit {
  508. font-size: 26rpx;
  509. color: #999;
  510. margin-left: 8rpx;
  511. font-weight: normal;
  512. }
  513. }
  514. }
  515. }
  516. }
  517. .order-section {
  518. margin: 20rpx 30rpx;
  519. background: linear-gradient(to bottom, #fff4e0 0%, #fff 10%);
  520. border-radius: 20rpx;
  521. padding: 20rpx 30rpx;
  522. .section-header {
  523. display: flex;
  524. justify-content: space-between;
  525. align-items: center;
  526. margin-bottom: 30rpx;
  527. .title {
  528. font-size: 34rpx;
  529. font-weight: bold;
  530. color: #333;
  531. }
  532. .view-all {
  533. font-size: 26rpx;
  534. color: #999;
  535. display: flex;
  536. align-items: center;
  537. .arrow {
  538. margin-left: 4rpx;
  539. }
  540. }
  541. }
  542. .order-tabs {
  543. display: flex;
  544. margin-bottom: 30rpx;
  545. background: #f8f8f8;
  546. border-radius: 8rpx;
  547. padding: 4rpx;
  548. .tab-item {
  549. flex: 1;
  550. text-align: center;
  551. padding: 16rpx 0;
  552. position: relative;
  553. color: #666;
  554. font-size: 28rpx;
  555. border-radius: 6rpx;
  556. &.active {
  557. color: #333;
  558. font-weight: bold;
  559. background: #fff;
  560. box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.05);
  561. }
  562. .badge {
  563. position: absolute;
  564. top: 4rpx;
  565. right: 50%;
  566. transform: translateX(24rpx);
  567. background: #ff6b35;
  568. color: #fff;
  569. font-size: 20rpx;
  570. padding: 0 8rpx;
  571. border-radius: 20rpx;
  572. min-width: 28rpx;
  573. height: 28rpx;
  574. line-height: 28rpx;
  575. }
  576. }
  577. }
  578. .order-item {
  579. background: #fff;
  580. border-radius: 16rpx;
  581. padding: 24rpx;
  582. border: none;
  583. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.02);
  584. .order-header {
  585. margin-bottom: 24rpx;
  586. .order-id {
  587. font-size: 26rpx;
  588. color: #666;
  589. }
  590. }
  591. .order-content {
  592. display: flex;
  593. margin-bottom: 24rpx;
  594. align-items: center;
  595. justify-content: space-between;
  596. position: relative;
  597. &::after {
  598. content: '';
  599. position: absolute;
  600. left: 50%;
  601. top: 50%;
  602. transform: translate(-50%, -50%);
  603. width: 60rpx;
  604. height: 60rpx;
  605. background: #f8f8f8;
  606. border-radius: 50%;
  607. z-index: 1;
  608. }
  609. &::before {
  610. content: '⇌';
  611. position: absolute;
  612. left: 50%;
  613. top: 50%;
  614. transform: translate(-50%, -50%);
  615. color: #999;
  616. font-size: 32rpx;
  617. z-index: 2;
  618. }
  619. .goods-image {
  620. width: 200rpx;
  621. height: 200rpx;
  622. border-radius: 16rpx;
  623. background: #fffbe6;
  624. padding: 20rpx;
  625. box-sizing: border-box;
  626. display: block;
  627. }
  628. .order-info-opt {
  629. width: 200rpx;
  630. min-height: 110rpx;
  631. background: linear-gradient(180deg, #fffbe6 0%, #fff 100%);
  632. border-radius: 16rpx;
  633. display: flex;
  634. flex-direction: column;
  635. align-items: center;
  636. justify-content: space-between;
  637. padding: 24rpx 0 16rpx 0;
  638. box-sizing: border-box;
  639. margin-left: 16rpx;
  640. }
  641. .order-info-top {
  642. display: flex;
  643. flex-direction: column;
  644. align-items: center;
  645. margin-bottom: 8rpx;
  646. }
  647. .order-info-count {
  648. font-size: 32rpx;
  649. color: #222;
  650. font-weight: bold;
  651. margin-bottom: 4rpx;
  652. }
  653. .order-info-price {
  654. font-size: 22rpx;
  655. color: #999;
  656. }
  657. .order-info-estimate {
  658. background: linear-gradient(90deg, #ffd01e 0%, #ff8917 100%);
  659. color: #fff;
  660. font-size: 24rpx;
  661. font-weight: bold;
  662. border-radius: 0 0 16rpx 16rpx;
  663. padding: 12rpx 0;
  664. width: 100%;
  665. text-align: center;
  666. margin-top: 8rpx;
  667. box-shadow: 0 2rpx 8rpx rgba(255, 156, 0, 0.08);
  668. }
  669. }
  670. .order-footer {
  671. display: flex;
  672. align-items: center;
  673. padding: 24rpx;
  674. border-top: 1rpx solid #f5f5f5;
  675. background: #fafafa;
  676. border-radius: 12rpx;
  677. margin: 0 -24rpx -24rpx;
  678. .courier-avatar {
  679. width: 80rpx;
  680. height: 80rpx;
  681. border-radius: 12rpx;
  682. margin-right: 20rpx;
  683. background: #fff;
  684. }
  685. .delivery-info {
  686. flex: 1;
  687. display: flex;
  688. flex-direction: column;
  689. .status {
  690. font-size: 28rpx;
  691. color: #333;
  692. margin-bottom: 8rpx;
  693. font-weight: bold;
  694. }
  695. .time {
  696. font-size: 26rpx;
  697. color: #999;
  698. }
  699. }
  700. }
  701. }
  702. }
  703. .function-list {
  704. margin: 20rpx 30rpx;
  705. background: #fff;
  706. border-radius: 20rpx;
  707. padding: 0 30rpx;
  708. .function-item {
  709. display: flex;
  710. justify-content: space-between;
  711. align-items: center;
  712. padding: 30rpx 0;
  713. border-bottom: 1rpx solid #f5f5f5;
  714. &:last-child {
  715. border-bottom: none;
  716. }
  717. .item-left {
  718. display: flex;
  719. align-items: center;
  720. .icon {
  721. width: 40rpx;
  722. height: 40rpx;
  723. margin-right: 16rpx;
  724. }
  725. text {
  726. font-size: 28rpx;
  727. color: #333;
  728. }
  729. }
  730. .arrow {
  731. color: #999;
  732. font-size: 24rpx;
  733. }
  734. }
  735. }
  736. .tab-bar {
  737. position: fixed;
  738. bottom: 0;
  739. left: 0;
  740. right: 0;
  741. height: 100rpx;
  742. background: #fff;
  743. display: flex;
  744. padding-bottom: env(safe-area-inset-bottom);
  745. border-top: 1rpx solid #f5f5f5;
  746. .tab-item {
  747. flex: 1;
  748. display: flex;
  749. flex-direction: column;
  750. align-items: center;
  751. justify-content: center;
  752. padding: 10rpx 0;
  753. image {
  754. width: 48rpx;
  755. height: 48rpx;
  756. margin-bottom: 6rpx;
  757. }
  758. text {
  759. font-size: 20rpx;
  760. color: #999;
  761. }
  762. &.active {
  763. text {
  764. color: #ff6b35;
  765. }
  766. }
  767. }
  768. }
  769. .user-cards {
  770. margin: -50rpx 30rpx 0;
  771. background: #fff;
  772. border-radius: 24rpx;
  773. padding: 30rpx;
  774. position: relative;
  775. z-index: 2;
  776. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
  777. .user-info {
  778. display: flex;
  779. align-items: center;
  780. margin-bottom: 40rpx;
  781. .avatars {
  782. width: 110rpx;
  783. height: 110rpx;
  784. border-radius: 50%;
  785. margin-right: 24rpx;
  786. }
  787. }
  788. .info {
  789. .name {
  790. font-size: 34rpx;
  791. font-weight: 600;
  792. color: #222;
  793. margin-bottom: 12rpx;
  794. display: block;
  795. }
  796. }
  797. }
  798. .btns{
  799. width: 100%;
  800. margin: 0 auto;
  801. margin-top: 30%;
  802. display: flex;
  803. flex-direction: column;
  804. justify-content: center;
  805. align-items: center;
  806. .uv-button, .btn{
  807. width: 100%;
  808. height: 100rpx;
  809. background: linear-gradient(90deg, #FFD36D 0%, #FFA800 100%);
  810. color: #fff;
  811. font-size: 36rpx;
  812. border-radius: 50rpx;
  813. font-weight: bold;
  814. display: flex;
  815. align-items: center;
  816. justify-content: center;
  817. box-shadow: 0 4rpx 16rpx rgba(255, 168, 0, 0.08);
  818. border: none;
  819. margin: 0 auto;
  820. }
  821. text{
  822. margin-top: 20rpx;
  823. font-family: PingFang SC;
  824. font-weight: 400;
  825. font-size: 13px;
  826. line-height: 100%;
  827. letter-spacing: 0%;
  828. text-align: center;
  829. color: #a3a3a3;
  830. }
  831. }
  832. .share-commission-card {
  833. width: 90%;
  834. margin: 32rpx auto 24rpx auto;
  835. height: 90rpx;
  836. background: linear-gradient(90deg, #ffd01e 0%, #ff8917 100%);
  837. border-radius: 24rpx;
  838. display: flex;
  839. align-items: center;
  840. justify-content: center;
  841. box-shadow: 0 4rpx 16rpx rgba(255, 156, 0, 0.08);
  842. cursor: pointer;
  843. }
  844. .share-commission-text {
  845. color: #fff;
  846. font-size: 32rpx;
  847. font-weight: bold;
  848. letter-spacing: 2rpx;
  849. }
  850. .manage-list {
  851. margin-bottom: 20rpx;
  852. }
  853. </style>