index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  1. <template>
  2. <view>
  3. <zj-page-layout
  4. :isScroll="true"
  5. :isWxCustomPage="true"
  6. :isLoading="isLoading"
  7. :refresherTriggered="refresherTriggered"
  8. @refresherrefresh="refresherrefresh"
  9. >
  10. <!-- <template slot="header">
  11. <view class="header-container" :style="cuStyle">我的</view>
  12. </template> -->
  13. <view class="a-container">
  14. <view class="top-container">
  15. <view class="user" v-if="isLogin">
  16. <view class="left" @tap="navToPage('/packageMine/pages/userinfo')">
  17. <block v-if="userInfo.avatar">
  18. <image :src="userInfo.avatar" mode="aspectFill" v-if="userInfo.avatar.indexOf('http') >= 0"></image>
  19. <image :src="imageUrl + userInfo.avatar" mode="aspectFill" v-else></image>
  20. </block>
  21. <view class="main">
  22. <view class="name">{{ userInfo.nickName }}</view>
  23. <view class="text">点击修改个人资料<text class="iconfont icon-jinru"></text></view>
  24. </view>
  25. </view>
  26. <view class="right">
  27. <view class="it" v-if="(isServiceUser || isWorkerUser) && qrcode2" @tap="openCode">
  28. <text class="iconfont icon-erweima"></text>
  29. </view>
  30. <view class="it" @tap="navToPage('/packageMine/pages/notice/list')">
  31. <u-icon name="chat" size="30"></u-icon>
  32. <u-badge max="99" :value="noticeNum || 0" absolute :offset="[-2, -2]"></u-badge>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="user" @tap="navToPage('/pages/login/indexs')" v-else>
  37. <view class="left">
  38. <image :src="configInfo.minLogo3" mode="aspectFill"></image>
  39. <view class="main">
  40. <view class="name">请先登录</view>
  41. </view>
  42. </view>
  43. </view>
  44. <!-- <view class="stats">
  45. <view
  46. class="item"
  47. v-for="(item, index) in statsList.filter(o => o.show)"
  48. :key="index"
  49. @tap="navToPage(item.link)"
  50. >
  51. <view class="value">{{ item.num }}</view>
  52. <view class="label">{{ item.name }}</view>
  53. </view>
  54. </view> -->
  55. </view>
  56. <view class="all-container">
  57. <!-- <view class="profit-container card" v-if="isLogin && (isServiceUser || isWorkerUser)">
  58. <view class="home-title">
  59. <view class="left">分销收益</view>
  60. <view class="right" @tap="navToPage('/packageMine/pages/profit/list', 1)">
  61. <text class="text">明细</text>
  62. <text class="iconfont icon-jinru"></text>
  63. </view>
  64. </view>
  65. <view class="list">
  66. <view
  67. class="item"
  68. v-for="(item, index) in shareProfitList"
  69. :key="index"
  70. @tap="navToPage('/packageMine/pages/profit/list', 1)"
  71. >
  72. <view class="num">{{ item.num | priceFilter }}</view>
  73. <view class="title">{{ item.title }}</view>
  74. </view>
  75. </view>
  76. </view> -->
  77. <view class="profit-container card" v-if="isLogin && isWorkerUser">
  78. <view class="home-title">
  79. <view class="left">销售收益</view>
  80. <view class="right" @tap="navToPage('/packageMine/pages/salesProfit/index', 1)">
  81. <text class="text">明细</text>
  82. <text class="iconfont icon-jinru"></text>
  83. </view>
  84. </view>
  85. <view class="list">
  86. <view
  87. class="item"
  88. v-for="(item, index) in salesProfitList"
  89. :key="index"
  90. @tap="navToPage('/packageMine/pages/salesProfit/index', 1)"
  91. >
  92. <view class="num">{{ item.num | priceFilter }}</view>
  93. <view class="title">{{ item.title }}</view>
  94. </view>
  95. </view>
  96. </view>
  97. <!-- <view class="order-container card">
  98. <view class="home-title">
  99. <view class="left">我的订单</view>
  100. <view class="right" @tap="navToPage('/packageMine/pages/order/list?tab=', 1)">
  101. <text class="text">全部订单</text>
  102. <text class="iconfont icon-jinru"></text>
  103. </view>
  104. </view>
  105. <view class="list">
  106. <view
  107. class="item"
  108. v-for="(item, index) in orderList"
  109. :key="index"
  110. @tap="navToPage(`/packageMine/pages/order/list?tab=${item.key}`, 1)"
  111. >
  112. <view class="icon">
  113. <text class="iconfont" :class="item.icon"></text>
  114. <u-badge max="99" :value="item.num" :absolute="true" :offset="[-4, -4]"></u-badge>
  115. </view>
  116. <view class="title">{{ item.title }}</view>
  117. </view>
  118. </view>
  119. </view> -->
  120. <view class="menu-container card">
  121. <view class="home-title">
  122. <view class="left">更多服务</view>
  123. </view>
  124. <view class="list">
  125. <block v-for="(item, index) in menuList.filter(o => o.show)" :key="index">
  126. <button
  127. v-if="item.fn == 'phone'"
  128. open-type="getPhoneNumber"
  129. @getphonenumber="getPhoneNumber"
  130. class="item"
  131. >
  132. <view class="icon"><text class="iconfont" :class="item.icon"></text></view>
  133. <view class="title">{{ item.name }}</view>
  134. <view class="right"><text class="iconfont icon-jinru"></text></view>
  135. </button>
  136. <button v-else-if="item.fn == 'contact'" open-type="contact" class="item">
  137. <view class="icon"><text class="iconfont" :class="item.icon"></text></view>
  138. <view class="title">{{ item.name }}</view>
  139. <view class="right"><text class="iconfont icon-jinru"></text></view>
  140. </button>
  141. <view
  142. v-else-if="item.icon == 'coupon'"
  143. class="item"
  144. @tap="item.link ? navToPage(item.link, 1) : actionFn(item.fn)"
  145. >
  146. <view class="icon"><u-icon size="20" :name="item.icon"></u-icon></view>
  147. <view class="title">{{ item.name }}</view>
  148. <view class="right"><text class="iconfont icon-jinru"></text></view>
  149. </view>
  150. <view v-else class="item" @tap="item.link ? navToPage(item.link, 1) : actionFn(item.fn)">
  151. <view class="icon"><text class="iconfont" :class="item.icon"></text></view>
  152. <view class="title">{{ item.name }}</view>
  153. <view class="right"><text class="iconfont icon-jinru"></text></view>
  154. </view>
  155. </block>
  156. </view>
  157. </view>
  158. <!-- <no-data v-if="!isLogin" :showText="'请先登录'" @tap="navToPage('/pages/login/indexs')"></no-data> -->
  159. <!-- <view class="logout" @tap="toLogout()" v-if="isLogin">退出登录</view> -->
  160. </view>
  161. </view>
  162. </zj-page-layout>
  163. </view>
  164. </template>
  165. <script>
  166. import { getNoticeNum, getOrderNum, selectionChange } from '@/common/utils/util.js'
  167. import { getStorage } from '@/common/utils/storage.js'
  168. export default {
  169. data() {
  170. return {
  171. isLoading: true,
  172. refresherTriggered: false, // 下拉刷新状态
  173. imageUrl: this.$imageUrl,
  174. configInfo: {},
  175. userInfo: {}, // 信息详情
  176. shareProfitList: [
  177. { title: '今日分销收益', num: 0 },
  178. { title: '累计分销收益', num: 0 }
  179. ],
  180. salesProfitList: [
  181. { title: '已结算金额', num: 0 },
  182. { title: '待结算金额', num: 0 }
  183. ],
  184. orderList: [
  185. { title: '待付款', icon: 'icon-daifukuan', key: 'NOPAY', num: 0 },
  186. { title: '进行中', icon: 'icon-daifuwu', key: 'YFH', num: 0 },
  187. { title: '待评价', icon: 'icon-daipingjia1', key: 'OVER', num: 0 },
  188. { title: '售后/退款', icon: 'icon-shouhou', key: 'REFUND', num: 0 }
  189. ],
  190. statsList: [],
  191. menuList: [],
  192. noticeNum: 0,
  193. qrcode2: ''
  194. }
  195. },
  196. computed: {
  197. cuStyle() {
  198. return `height: ${this.CustomBar - this.StatusBar}px; padding-top: ${this.StatusBar}px;`
  199. },
  200. isLogin() {
  201. return this.$store.state.user.token ? true : false
  202. },
  203. isWorkerUser() {
  204. // 是否师傅
  205. // return true;
  206. return this.userInfo && this.userInfo.type === 'WORKER'
  207. },
  208. isServiceUser() {
  209. // 是否业务员
  210. // return true;
  211. return this.userInfo && this.userInfo.type === 'SERVICE'
  212. },
  213. isHeadUser() {
  214. // 是否团长
  215. // return false;
  216. return this.userInfo && this.userInfo.promotionGroupLeader
  217. }
  218. },
  219. async onShow() {
  220. selectionChange()
  221. this.configInfo = await this.$getConfigInfo()
  222. // if(this.isLogin) {
  223. this.userInfo = await this.$getUserInfo()
  224. await this.getCouponList()
  225. this.initList()
  226. await this.getCount()
  227. await this.getShareProfitCount()
  228. await this.getSalesProfitCount()
  229. await this.getStats()
  230. this.getweixinpeizhi()
  231. // }
  232. this.noticeNum = await getNoticeNum()
  233. getOrderNum()
  234. this.isLoading = false
  235. },
  236. methods: {
  237. // 触发下拉刷新
  238. async refresherrefresh(e) {
  239. this.refresherTriggered = true
  240. this.configInfo = await this.$getConfigInfo()
  241. // if(this.isLogin) {
  242. this.userInfo = await this.$getUserInfo()
  243. await this.getCouponList()
  244. this.initList()
  245. await this.getCount()
  246. await this.getShareProfitCount()
  247. await this.getSalesProfitCount()
  248. await this.getStats()
  249. // }
  250. this.noticeNum = await getNoticeNum()
  251. this.isLoading = false
  252. this.refresherTriggered = false
  253. },
  254. initList() {
  255. this.statsList = [
  256. {
  257. name: '优惠券',
  258. num: 0,
  259. link: '/packageMine/pages/coupon/list',
  260. show: true
  261. },
  262. {
  263. name: '收藏',
  264. num: 0,
  265. link: '/packageMine/pages/collection',
  266. show: true
  267. },
  268. {
  269. name: '收益',
  270. num: 0,
  271. link: '/packageMine/pages/profit/list',
  272. show: this.isServiceUser || this.isWorkerUser || this.isHeadUser
  273. }
  274. ]
  275. this.menuList = [
  276. // {
  277. // name: '我的租赁',
  278. // icon: 'coupon',
  279. // link: '/packageWorkorder/pages/tenancyOrderList',
  280. // show: this.userInfo.isShowLease
  281. // },
  282. {
  283. name: '绑定手机号',
  284. icon: 'icon-kefu',
  285. link: '/packageMine/pages/phone',
  286. show: !this.userInfo.mobile
  287. },
  288. // {
  289. // name: '商城二维码',
  290. // icon: 'icon-erweima',
  291. // link: '/packageMine/pages/mallCode',
  292. // show: this.isServiceUser || this.isWorkerUser
  293. // },
  294. // // {
  295. // // name: '关注公众号',
  296. // // icon: 'icon-gongzhonghao',
  297. // // fn: 'toWxLink',
  298. // // show: true
  299. // // },
  300. // {
  301. // name: '地址管理',
  302. // icon: 'icon-shouhuodizhi',
  303. // link: '/packageMine/pages/address/list',
  304. // show: true
  305. // },
  306. // {
  307. // name: '销售排行榜',
  308. // icon: 'icon-paihangbang',
  309. // link: '/packageMine/pages/ranking/list',
  310. // show: this.isServiceUser || this.isWorkerUser
  311. // },
  312. // // {
  313. // // name: '在线客服',
  314. // // icon: 'icon-kefu',
  315. // // fn: 'contact',
  316. // // show: true
  317. // // },
  318. {
  319. name: '师傅入驻',
  320. icon: 'icon-kehu',
  321. link: '/packageMine/pages/myWebsit',
  322. show: true
  323. },
  324. {
  325. name: '成为分销员',
  326. icon: 'icon-kehu',
  327. link: '/packageMine/pages/distributorEnter',
  328. show: !this.isWorkerUser && !this.isServiceUser
  329. },
  330. {
  331. name: '我的安维费',
  332. icon: 'icon-kehu',
  333. link: '/packageMine/pages/wodeanwei',
  334. show: this.isWorkerUser
  335. },
  336. {
  337. name: '中心文件',
  338. icon: 'icon-kehu',
  339. link: '/packageMine/pages/coreLssuedFile/index',
  340. show: true
  341. }
  342. ]
  343. },
  344. actionFn(fn) {
  345. if (!fn) return false
  346. this[fn]()
  347. },
  348. // 授权手机号
  349. getPhoneNumber(e) {
  350. if (!e.detail.iv) {
  351. return this.$toast('获取手机号失败')
  352. }
  353. uni.login({
  354. provider: 'weixin',
  355. success: loginRes => {
  356. this.$api
  357. .post('/user/auth', {
  358. code: loginRes.code,
  359. phoneCode: e.detail.code
  360. })
  361. .then(async res => {
  362. this.$store.commit('user/set_token', res.data.token)
  363. this.$store.commit('user/set_openId', res.data.openId)
  364. this.$store.commit('user/set_name', res.data.nickName)
  365. this.$store.commit('user/set_avatar', res.data.avatar)
  366. this.$store.commit('user/set_userId', res.data.userId)
  367. this.$store.commit('user/set_mobile', res.data.mobile)
  368. this.$successToast('授权成功')
  369. })
  370. }
  371. })
  372. },
  373. // 获取订单数量
  374. async getCount() {
  375. return new Promise((resolve, reject) => {
  376. this.$api
  377. .get('/order/count', {
  378. userId: this.$store.state.user.userId
  379. })
  380. .then(res => {
  381. const data = res.data || {}
  382. this.orderList[0].num = data.noPay
  383. this.orderList[1].num = data.yfh
  384. this.orderList[2].num = data.ywc
  385. this.orderList[3].num = data.sh
  386. resolve(data)
  387. })
  388. .catch(res => {
  389. resolve(1)
  390. })
  391. })
  392. },
  393. // 获取统计数量
  394. async getStats() {
  395. return new Promise((resolve, reject) => {
  396. this.$api
  397. .get('/user/my/count', {
  398. userId: this.$store.state.user.userId
  399. })
  400. .then(res => {
  401. const data = res.data || {}
  402. this.statsList[0].num = data.coupon || 0
  403. this.statsList[1].num = data.collect || 0
  404. this.statsList[2].num = data.amount || 0
  405. resolve(data)
  406. })
  407. .catch(res => {
  408. resolve(1)
  409. })
  410. })
  411. },
  412. // 获取收益统计
  413. async getShareProfitCount() {
  414. return new Promise((resolve, reject) => {
  415. this.$api
  416. .get('/user/profit', {
  417. userId: this.$store.state.user.userId
  418. })
  419. .then(res => {
  420. const data = res.data || {}
  421. this.shareProfitList[0].num = data.today
  422. this.shareProfitList[1].num = data.totalAmount
  423. resolve(data)
  424. })
  425. .catch(res => {
  426. resolve(1)
  427. })
  428. })
  429. },
  430. // 获取销售收益统计
  431. async getSalesProfitCount() {
  432. return new Promise((resolve, reject) => {
  433. this.$api
  434. .post('/withdrawal/amount/count')
  435. .then(res => {
  436. const data = res.data || {}
  437. this.salesProfitList[0].num = data.yjs
  438. this.salesProfitList[1].num = data.djs
  439. resolve(data)
  440. })
  441. .catch(res => {
  442. resolve(1)
  443. })
  444. })
  445. },
  446. // 获取可领优惠券列表
  447. async getCouponList() {
  448. return new Promise((resolve, reject) => {
  449. this.$api
  450. .get('/coupon/list/all', {
  451. userId: this.$store.state.user.userId
  452. })
  453. .finally(res => {
  454. resolve(1)
  455. })
  456. })
  457. },
  458. getweixinpeizhi() {
  459. this.$api.get('/common/wechat/detail').then(res => {
  460. this.qrcode2 = res.data.qrcode2
  461. })
  462. },
  463. openCode() {
  464. this.$api
  465. .post('/common/get/mp/qrcode', {
  466. companyWechatId: getStorage('user').companyWechatId || '',
  467. userId: this.$store.state.user.userId
  468. })
  469. .then(res => {
  470. uni.previewImage({
  471. current: res.data.ticket
  472. ? `https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=${res.data.ticket}`
  473. : this.qrcode2,
  474. urls: [
  475. res.data.ticket ? `https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=${res.data.ticket}` : this.qrcode2
  476. ]
  477. })
  478. })
  479. },
  480. // 跳转微信公众号链接
  481. toWxLink() {
  482. let link = this.configInfo.pubOfficeAddr
  483. if (!link) return false
  484. this.navToPage('/pages/index/webview?link=' + link)
  485. },
  486. navToPage(url) {
  487. this.$navToPage({
  488. url
  489. })
  490. },
  491. toLogout() {
  492. this.$modal({
  493. content: '确定退出登录?'
  494. })
  495. .then(() => {
  496. this.$store.dispatch('user/resetToken')
  497. console.log(this.configInfo)
  498. // this.crossPage.$emit('loginout', '', 'H5');
  499. this.shareProfitList.forEach(item => {
  500. item.num = 0
  501. })
  502. this.orderList.forEach(item => {
  503. item.num = 0
  504. })
  505. this.statsList.forEach(item => {
  506. item.num = 0
  507. })
  508. })
  509. .catch(() => {})
  510. }
  511. }
  512. }
  513. </script>
  514. <style scoped lang="scss">
  515. .a-container {
  516. padding-bottom: 30rpx;
  517. }
  518. .header-container {
  519. background: linear-gradient(262deg, #daf8fa 0%, #d3e6fc 84%, #d2e2fc 100%);
  520. display: flex;
  521. align-items: center;
  522. justify-content: center;
  523. font-weight: 500;
  524. }
  525. .top-container {
  526. background: linear-gradient(262deg, #daf8fa 0%, #d3e6fc 84%, #d2e2fc 100%);
  527. padding: 20rpx 20rpx 80rpx;
  528. .user {
  529. display: flex;
  530. align-items: center;
  531. justify-content: space-between;
  532. padding-right: 10rpx;
  533. .left {
  534. display: flex;
  535. align-items: center;
  536. image {
  537. width: 120rpx;
  538. height: 120rpx;
  539. border-radius: 50%;
  540. margin-right: 20rpx;
  541. }
  542. .main {
  543. display: flex;
  544. flex-direction: column;
  545. .name {
  546. font-size: 32rpx;
  547. line-height: 36rpx;
  548. font-weight: 500;
  549. }
  550. .text {
  551. font-size: 24rpx;
  552. color: #0b2853;
  553. line-height: 30rpx;
  554. margin-top: 12rpx;
  555. opacity: 0.5;
  556. .iconfont {
  557. font-size: 20rpx;
  558. margin-left: 8rpx;
  559. }
  560. }
  561. }
  562. }
  563. .right {
  564. display: flex;
  565. align-items: center;
  566. .it {
  567. margin-left: 40rpx;
  568. position: relative;
  569. &:first-child {
  570. margin-left: 0;
  571. }
  572. .iconfont {
  573. display: block;
  574. font-size: 44rpx;
  575. }
  576. }
  577. }
  578. }
  579. .stats {
  580. display: flex;
  581. align-items: center;
  582. margin-top: 20rpx;
  583. .item {
  584. flex: 1;
  585. display: flex;
  586. flex-direction: column;
  587. align-items: center;
  588. .value {
  589. font-weight: 600;
  590. font-size: 36rpx;
  591. }
  592. .label {
  593. margin-top: 8rpx;
  594. font-size: 22rpx;
  595. color: #0b2853;
  596. opacity: 0.5;
  597. }
  598. }
  599. }
  600. }
  601. .all-container {
  602. padding: 1rpx 20rpx 20rpx;
  603. margin-top: -80rpx;
  604. }
  605. .home-title {
  606. display: flex;
  607. align-items: center;
  608. justify-content: space-between;
  609. .left {
  610. font-size: 34rpx;
  611. color: $main-font;
  612. font-weight: bold;
  613. }
  614. .right {
  615. display: flex;
  616. align-items: center;
  617. .text {
  618. font-size: 28rpx;
  619. color: $sec-font;
  620. }
  621. .iconfont {
  622. font-size: 24rpx;
  623. color: $sec-font;
  624. margin-left: 8rpx;
  625. }
  626. }
  627. }
  628. .card {
  629. @include zj-card;
  630. background: #ffffff;
  631. border-radius: 20rpx;
  632. overflow: hidden;
  633. padding: 30rpx;
  634. margin-top: 20rpx;
  635. }
  636. .profit-container {
  637. .list {
  638. display: flex;
  639. margin-top: 30rpx;
  640. .item {
  641. flex: 1;
  642. display: flex;
  643. flex-direction: column;
  644. align-items: center;
  645. .num {
  646. font-size: 36rpx;
  647. font-weight: 500;
  648. }
  649. .title {
  650. font-size: 24rpx;
  651. margin-top: 8rpx;
  652. }
  653. }
  654. }
  655. }
  656. .order-container {
  657. .list {
  658. display: flex;
  659. margin-top: 30rpx;
  660. .item {
  661. flex: 1;
  662. display: flex;
  663. flex-direction: column;
  664. align-items: center;
  665. .icon {
  666. position: relative;
  667. .iconfont {
  668. font-size: 52rpx;
  669. }
  670. }
  671. .title {
  672. font-size: 26rpx;
  673. margin-top: 10rpx;
  674. }
  675. }
  676. }
  677. }
  678. .menu-container {
  679. .list {
  680. margin-top: 20rpx;
  681. .item {
  682. padding: 0;
  683. background: none;
  684. text-align: left;
  685. display: flex;
  686. align-items: center;
  687. height: 100rpx;
  688. border-bottom: 1px solid #f5f5f5;
  689. color: #333333;
  690. &:last-child {
  691. border: none;
  692. }
  693. &::after {
  694. border: none;
  695. }
  696. .icon {
  697. margin-right: 20rpx;
  698. .iconfont {
  699. color: $reg-font;
  700. font-size: 40rpx;
  701. }
  702. }
  703. .title {
  704. flex: 1;
  705. font-size: 30rpx;
  706. }
  707. .right {
  708. .iconfont {
  709. font-size: 28rpx;
  710. color: $sec-font;
  711. }
  712. }
  713. }
  714. }
  715. }
  716. .logout {
  717. @include zj-card;
  718. background: #ffffff;
  719. border-radius: 20rpx;
  720. height: 100rpx;
  721. line-height: 100rpx;
  722. text-align: center;
  723. margin-top: 30rpx;
  724. font-size: 32rpx;
  725. font-weight: 400;
  726. color: $theme-color;
  727. }
  728. </style>