user.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  1. <template>
  2. <view class="container">
  3. <view class="vheigh"></view>
  4. <view class="top-image">
  5. <image src="../../static/icon/user-top.png" mode=""></image>
  6. </view>
  7. <view class="" style="height: 150rpx;"></view>
  8. <view class="user-box">
  9. <image class="avatar" :src="userInfo.avatar" mode="" v-if="userInfo.avatar" @click="navTo('/pages/set/userinfo')"></image>
  10. <image class="avatar" src="../../static/error/missing-face.png" mode="" v-else></image>
  11. <view class="user-name">{{ userInfo.nickname || '游客'}}</view>
  12. <view class="user-shop" v-if="userInfo.identity > 0">
  13. <image src="../../static/icon/userleve.png" mode=""></image>
  14. <view class="user-shopname">{{userInfo.identity == 1?'vip代理':'区域代理'}}</view>
  15. </view>
  16. <!-- <view class="user-shop" v-if="userInfo.user_rule != 'user'">
  17. <view class="user-shopname">{{ store_name }}{{ userInfo.user_rule == 'waiter' ? '店员' : userInfo.user_rule == 'leader' ? '店长' : '' }}</view>
  18. </view> -->
  19. <view class="user-money flex" >
  20. <view class="user-money-item" @click="navTo('/pages/user/award')">
  21. <view class="user-money-num">{{ userInfo.brokerage_price*1 || 0 }}</view>
  22. <view class="user-money-font">我的收益</view>
  23. </view>
  24. <view class="user-xian"></view>
  25. <view class="user-money-item" @click="navTo('/pages/user/team')">
  26. <view class="user-money-num">{{ userInfo.spread_count || 0 }}</view>
  27. <view class="user-money-font">我的推广</view>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="main-box">
  32. <view class="title flex" @click="navTo('/pages/order/order?state=0')">
  33. <view class="title-left">
  34. <view class="title-font">我的订单</view>
  35. </view>
  36. <image class="title-right" src="../../static/icon/back.png" mode=""></image>
  37. </view>
  38. <view class="main flex">
  39. <view class="oitem" @click="navTo('/pages/order/order?state=0')">
  40. <image class="oitem-image" src="../../static/icon/o1.png" mode=""></image>
  41. <view class="oitem-font">待付款</view>
  42. </view>
  43. <view class="oitem" @click="navTo('/pages/order/order?state=1')">
  44. <image class="oitem-image" src="../../static/icon/o2.png" mode=""></image>
  45. <view class="oitem-font">待发货</view>
  46. </view>
  47. <view class="oitem" @click="navTo('/pages/order/order?state=2')">
  48. <image class="oitem-image" src="../../static/icon/o3.png" mode=""></image>
  49. <view class="oitem-font">待收货</view>
  50. </view>
  51. <view class="oitem" @click="navTo('/pages/order/order?state=3')">
  52. <image class="oitem-image" src="../../static/icon/o4.png" mode=""></image>
  53. <view class="oitem-font">已完成</view>
  54. </view>
  55. </view>
  56. </view>
  57. <view class="user-list flex" @click="navTo('/pages/user/xzdl')" v-if="userInfo && userInfo.pay_count >0 && userInfo.identity == 0">
  58. <image src="../../static/icon/u0.png" mode="" class="left-img"></image>
  59. <view class="">
  60. 代理选择
  61. </view>
  62. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  63. </view>
  64. <view class="user-list flex" @click="navTo('/pages/user/shareQrCode')">
  65. <image src="../../static/icon/u1.png" mode="" class="left-img"></image>
  66. <view class="">
  67. 推广海报
  68. </view>
  69. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  70. </view>
  71. <view class="user-list flex" @click="navTo('/pages/set/address')">
  72. <image src="../../static/icon/u2.png" mode="" class="left-img"></image>
  73. <view class="">
  74. 收货地址
  75. </view>
  76. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  77. </view>
  78. <view class="user-list flex" @click="openKf()">
  79. <image src="../../static/icon/u3.png" mode="" class="left-img"></image>
  80. <view class="">
  81. 客服
  82. </view>
  83. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  84. </view>
  85. <view class="user-list flex" @click="navTo('/pages/set/userinfo')">
  86. <image src="../../static/icon/u4.png" mode="" class="left-img"></image>
  87. <view class="">
  88. 设置
  89. </view>
  90. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  91. </view>
  92. <view class="" style="height: 20rpx;">
  93. </view>
  94. <uni-popup ref="popupkf" type="center">
  95. <view class="popup-box">
  96. <view class="img"><image src="../../static/img/img009.png" mode=""></image></view>
  97. <view class="mian">
  98. <view class="delivery">
  99. <view class="title">已经为您定制专属客服</view>
  100. <image src="../../static/img/img010.png" mode=""></image>
  101. </view>
  102. <view class="nocancel">客服VX:{{ text }}</view>
  103. <view class="comfirm-box">
  104. <view class="cancel" @click="cancel">取消</view>
  105. <view class="comfirm" @click="comfirm(text)">复制微信</view>
  106. </view>
  107. </view>
  108. </view>
  109. </uni-popup>
  110. </view>
  111. </template>
  112. <script>
  113. import {
  114. mapState,
  115. mapMutations
  116. } from 'vuex';
  117. import uniList from '@/components/uni-list/uni-list.vue';
  118. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  119. import {
  120. orderData,
  121. getUserInfo,
  122. check
  123. } from '@/api/user.js';
  124. import {
  125. saveUrl,
  126. interceptor
  127. } from '@/utils/loginUtils.js';
  128. let startY = 0,
  129. moveY = 0,
  130. pageAtTop = true;
  131. export default {
  132. components: {
  133. uniList,
  134. uniListItem
  135. },
  136. data() {
  137. return {
  138. current: 2,
  139. id: '', //是否已签到
  140. store_name: '',
  141. achievement: '',
  142. code: '',
  143. text: '' //客服微信
  144. };
  145. },
  146. onShow() {
  147. // 判断是否已经登录
  148. // if (this.hasLogin) {
  149. // this.loadBaseData();
  150. // }
  151. this.loadBaseData();
  152. },
  153. filters: {
  154. phone(e) {
  155. var subStr1 = e.substr(0, 3);
  156. var subStr2 = e.substr(e.length - 4, 4);
  157. var subStr = subStr1 + '...' + subStr2;
  158. e = subStr;
  159. return e;
  160. }
  161. },
  162. onReady() {
  163. // 初始化获取页面宽度
  164. uni.createSelectorQuery()
  165. .select('.container')
  166. .fields({
  167. size: true
  168. },
  169. data => {
  170. // 计算最多下拉的高度
  171. this.userDowm = Math.floor((data.width / 750) * 185);
  172. // 计算最大触发修改高度事件
  173. this.userMaxDowm = Math.floor((data.width / 750) * 250);
  174. }
  175. )
  176. .exec();
  177. },
  178. computed: {
  179. ...mapState('user',['userInfo', 'orderInfo', 'hasLogin'])
  180. },
  181. methods: {
  182. ...mapMutations('user',['setUserInfo']),
  183. qhx() {
  184. check({
  185. verify_code: this.code,
  186. is_confirm: 1 //1是核销,0是查看
  187. })
  188. .then(e => {
  189. this.$api.msg('核销成功');
  190. this.close();
  191. })
  192. .catch(e => {
  193. console.log(e);
  194. });
  195. },
  196. sao() {
  197. let obj = this;
  198. // #ifndef H5
  199. uni.scanCode({
  200. success(e) {
  201. obj.code = e.result;
  202. obj.$refs.popuphx.open();
  203. console.log(obj.$refs.popuphx);
  204. }
  205. });
  206. // #endif
  207. },
  208. comfirm(text) {
  209. console.log(text);
  210. const result = this.uniCopy(text);
  211. if (result === false) {
  212. uni.showToast({
  213. title: '不支持'
  214. });
  215. } else {
  216. uni.showToast({
  217. title: '复制成功',
  218. icon: 'none'
  219. });
  220. }
  221. this.$refs.popupkf.close();
  222. },
  223. uniCopy(content) {
  224. /**
  225. * 小程序端 和 app端的复制逻辑
  226. */
  227. //#ifndef H5
  228. uni.setClipboardData({
  229. data: content,
  230. success: function() {
  231. console.log('success');
  232. return true;
  233. }
  234. });
  235. //#endif
  236. /**
  237. * H5端的复制逻辑
  238. */
  239. // #ifdef H5
  240. if (!document.queryCommandSupported('copy')) {
  241. //为了兼容有些浏览器 queryCommandSupported 的判断
  242. // 不支持
  243. return false;
  244. }
  245. let textarea = document.createElement('textarea');
  246. textarea.value = content;
  247. textarea.readOnly = 'readOnly';
  248. document.body.appendChild(textarea);
  249. textarea.select(); // 选择对象
  250. textarea.setSelectionRange(0, content.length); //核心
  251. let result = document.execCommand('copy'); // 执行浏览器复制命令
  252. textarea.remove();
  253. return result;
  254. // #endif
  255. },
  256. // 加载初始数据
  257. loadBaseData() {
  258. getUserInfo({})
  259. .then(({
  260. data
  261. }) => {
  262. console.log(data.nickname)
  263. this.setUserInfo(data);
  264. })
  265. .catch(e => {
  266. console.log(e);
  267. });
  268. },
  269. /**
  270. * 统一跳转接口,拦截未登录路由
  271. * navigator标签现在默认没有转场动画,所以用view
  272. */
  273. navTo(url) {
  274. console.log(url);
  275. if (!this.hasLogin) {
  276. // 保存地址
  277. saveUrl();
  278. // 登录拦截
  279. interceptor();
  280. } else {
  281. uni.navigateTo({
  282. url
  283. });
  284. }
  285. },
  286. close() {
  287. this.$refs.popuphx.close();
  288. this.code = '';
  289. },
  290. // 打开客服
  291. openKf() {
  292. this.$refs.popupkf.open();
  293. },
  294. // 关闭客服
  295. cancel() {
  296. this.$refs.popupkf.close();
  297. },
  298. // 打开绑定
  299. open() {
  300. this.$refs.gspass.open();
  301. },
  302. cast() {
  303. set_waiter({
  304. uid: this.id
  305. })
  306. .then(e => {
  307. this.$api.msg('绑定成功');
  308. this.$refs.gspass.close();
  309. this.id = '';
  310. })
  311. .catch(err => {
  312. this.$refs.gspass.close();
  313. this.id = '';
  314. });
  315. },
  316. cancelpass() {
  317. this.$refs.gspass.close();
  318. this.id = '';
  319. }
  320. }
  321. };
  322. </script>
  323. <style lang="scss">
  324. %flex-center {
  325. display: flex;
  326. flex-direction: column;
  327. justify-content: center;
  328. align-items: center;
  329. }
  330. %section {
  331. display: flex;
  332. justify-content: space-around;
  333. align-content: center;
  334. background: #fff;
  335. border-radius: 10rpx;
  336. }
  337. .container,
  338. page {
  339. min-height: 100%;
  340. height: auto;
  341. background-color: $page-color-base;
  342. }
  343. .vheigh {
  344. height: var(--status-bar-height);
  345. background-color: $base-color;
  346. }
  347. .top-image {
  348. position: absolute;
  349. top: 0;
  350. left: 0;
  351. right: 0;
  352. height: 230rpx;
  353. image {
  354. width: 100%;
  355. height: 100%;
  356. }
  357. }
  358. .popup-box {
  359. width: 522rpx;
  360. height: 605rpx;
  361. background-color: #ffffff;
  362. border-radius: 20rpx;
  363. position: relative;
  364. .img {
  365. position: relative;
  366. top: -56rpx;
  367. left: 0;
  368. width: 522rpx;
  369. height: 132rpx;
  370. display: flex;
  371. justify-content: center;
  372. image {
  373. border-radius: 20rpx 20rpx 0 0;
  374. width: 450rpx;
  375. height: 132rpx;
  376. }
  377. }
  378. .mian {
  379. margin-top: -44rpx;
  380. display: flex;
  381. flex-direction: column;
  382. align-items: center;
  383. // padding: 32rpx 32rpx;
  384. background-color: #ffffff;
  385. border-radius: 0 0 20rpx 20rpx;
  386. text-align: center;
  387. .delivery {
  388. font-size: 40rpx;
  389. color: #333333;
  390. display: flex;
  391. align-items: center;
  392. flex-direction: column;
  393. image {
  394. margin-top: 48rpx;
  395. width: 172rpx;
  396. height: 160rpx;
  397. }
  398. }
  399. .nocancel {
  400. font-size: 32rpx;
  401. color: #333333;
  402. margin-top: 14rpx;
  403. }
  404. .comfirm-box {
  405. margin-top: 52rpx;
  406. display: flex;
  407. // margin-bottom: 32rpx;
  408. // justify-content: space-around;
  409. .cancel {
  410. display: flex;
  411. align-items: center;
  412. justify-content: center;
  413. width: 197rpx;
  414. height: 74rpx;
  415. border: 1px solid #dcc786;
  416. border-radius: 38rpx;
  417. font-size: 32rpx;
  418. color: #605128;
  419. }
  420. .comfirm {
  421. margin-left: 32rpx;
  422. display: flex;
  423. align-items: center;
  424. justify-content: center;
  425. width: 197rpx;
  426. height: 74rpx;
  427. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  428. border-radius: 38px;
  429. font-size: 32rpx;
  430. color: #605128;
  431. }
  432. }
  433. }
  434. }
  435. .user-box {
  436. position: relative;
  437. z-index: 2;
  438. width: 690rpx;
  439. margin: 0 auto;
  440. /* #ifdef MP-WEIXIN */
  441. margin: -100rpx auto 0;
  442. /* #endif */
  443. background: #ffffff;
  444. box-shadow: 0px 4rpx 13rpx 0px rgba(229, 229, 229, 0.46);
  445. border-radius: 20rpx;
  446. display: flex;
  447. flex-direction: column;
  448. align-items: center;
  449. padding: 54rpx 0 30rpx;
  450. line-height: 1;
  451. .avatar {
  452. border-radius: 50%;
  453. width: 132rpx;
  454. height: 132rpx;
  455. }
  456. .user-name {
  457. margin-top: 14rpx;
  458. font-size: 30rpx;
  459. font-family: PingFang SC;
  460. font-weight: bold;
  461. color: #333333;
  462. }
  463. .user-shop {
  464. // display: inline-block;
  465. // padding:0 25rpx ;
  466. // background-color: #e1c46d;
  467. border-radius: 16rpx;
  468. height: 32rpx;
  469. color: #ac915b;
  470. margin-top: 10rpx;
  471. width: 142rpx;
  472. height: 32rpx;
  473. position: relative;
  474. image {
  475. position: absolute;
  476. top: 0;
  477. left: 0;
  478. width: 142rpx;
  479. height: 32rpx;
  480. }
  481. .user-shopname {
  482. position: absolute;
  483. height: 32rpx;
  484. text-align: right;
  485. top: 0;
  486. right: 20rpx;
  487. // background-color: red;
  488. width: 80rpx;
  489. text-align: center;
  490. font-size: 20rpx;
  491. line-height: 32rpx;
  492. }
  493. }
  494. // .user-shop {
  495. // margin-top: 10rpx;
  496. // display: flex;
  497. // justify-content: center;
  498. // align-items: center;
  499. // .user-shop-icon {
  500. // width: 22rpx;
  501. // height: 22rpx;
  502. // }
  503. // .user-shopname {
  504. // margin-left: 6rpx;
  505. // font-size: 20rpx;
  506. // font-family: PingFang SC;
  507. // font-weight: 500;
  508. // color: #ff7e3e;
  509. // }
  510. // }
  511. .user-money {
  512. width: 100%;
  513. margin-top: 50rpx;
  514. justify-content: center;
  515. .user-money-item {
  516. width: 50%;
  517. display: flex;
  518. flex-direction: column;
  519. justify-content: center;
  520. align-items: center;
  521. .user-money-num {
  522. font-size: 36rpx;
  523. font-family: PingFang SC;
  524. font-weight: bold;
  525. color: #333333;
  526. }
  527. .user-money-font {
  528. margin-top: 20rpx;
  529. font-size: 22rpx;
  530. font-family: PingFang SC;
  531. font-weight: 500;
  532. color: #666666;
  533. }
  534. }
  535. .user-xian {
  536. width: 1px;
  537. height: 77rpx;
  538. background: #eeeeee;
  539. }
  540. }
  541. }
  542. .main-box {
  543. margin: 20rpx auto 0;
  544. width: 710rpx;
  545. background: #ffffff;
  546. box-shadow: 0px 4rpx 14rpx 0px rgba(229, 229, 229, 0.46);
  547. border-radius: 20rpx;
  548. .title {
  549. display: flex;
  550. justify-content: space-between;
  551. align-items: center;
  552. padding: 24rpx;
  553. border-bottom: 1px solid #eeeeee;
  554. .title-left {
  555. display: flex;
  556. align-items: center;
  557. .title-icon {
  558. width: 32rpx;
  559. height: 32rpx;
  560. }
  561. .title-font {
  562. margin-left: 20rpx;
  563. font-size: 28rpx;
  564. font-family: PingFang SC;
  565. font-weight: bold;
  566. color: #333333;
  567. }
  568. }
  569. .title-right {
  570. width: 14rpx;
  571. height: 24rpx;
  572. }
  573. }
  574. .main {
  575. padding: 50rpx 0 30rpx;
  576. .jg {
  577. width: 1px;
  578. height: 100rpx;
  579. background: #eeeeee;
  580. }
  581. .item {
  582. padding-bottom: 20rpx;
  583. width: 25%;
  584. display: flex;
  585. flex-direction: column;
  586. align-items: center;
  587. .item-num {
  588. font-size: 36rpx;
  589. font-family: PingFang SC;
  590. font-weight: bold;
  591. color: #333333;
  592. }
  593. .item-font {
  594. margin-top: 18rpx;
  595. font-size: 22rpx;
  596. font-family: PingFang SC;
  597. font-weight: 500;
  598. color: #666666;
  599. }
  600. }
  601. .oitem {
  602. width: 33%;
  603. display: flex;
  604. flex-direction: column;
  605. align-items: center;
  606. .oitem-image {
  607. height: 40rpx;
  608. width: 42rpx;
  609. }
  610. .oitem-font {
  611. margin-top: 20rpx;
  612. font-size: 24rpx;
  613. font-family: PingFang SC;
  614. font-weight: 500;
  615. color: #333333;
  616. }
  617. }
  618. }
  619. }
  620. .tool-list {
  621. width: 690rpx;
  622. margin: 20rpx auto 0;
  623. background: #ffffff;
  624. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  625. border-radius: 20rpx;
  626. }
  627. .psw-wrapper {
  628. width: 548rpx;
  629. padding: 20rpx 0;
  630. background-color: #ffffff;
  631. border-radius: 15rpx 15rpx;
  632. .psw-title {
  633. width: 100%;
  634. font-size: 35rpx;
  635. padding: 0 0 40rpx;
  636. text-align: center;
  637. font-weight: 800;
  638. }
  639. .psw-content {
  640. width: 100%;
  641. font-size: 32rpx;
  642. text-align: center;
  643. }
  644. .psw-price {
  645. font-weight: bold;
  646. font-size: 68rpx;
  647. text-align: center;
  648. padding-top: 10rpx;
  649. }
  650. .psw-jg {
  651. height: 1px;
  652. width: 500rpx;
  653. background-color: #eee;
  654. margin: auto;
  655. }
  656. .psw-paytype {
  657. justify-content: space-between;
  658. padding: 10rpx 25rpx 30rpx;
  659. font-size: 26rpx;
  660. }
  661. .psw-ipt {
  662. display: block;
  663. background-color: #dce3ed;
  664. height: 90rpx;
  665. width: 464rpx;
  666. padding-left: 30rpx;
  667. margin: 0 auto;
  668. font-size: 80rpx;
  669. }
  670. .psw-btn text {
  671. display: inline-block;
  672. text-align: center;
  673. width: 50%;
  674. padding-top: 29rpx;
  675. font-size: 35rpx;
  676. }
  677. .psw-qd {
  678. color: #ff4c4c;
  679. }
  680. }
  681. .hx-wrapper {
  682. width: 536rpx;
  683. height: 630rpx;
  684. position: relative;
  685. // background-color: #fff;
  686. .hx-img {
  687. width: 536rpx;
  688. height: 281rpx;
  689. image {
  690. width: 536rpx;
  691. height: 281rpx;
  692. }
  693. }
  694. .hx-close {
  695. position: absolute;
  696. left: 243rpx;
  697. bottom: -80rpx;
  698. width: 52rpx;
  699. height: 52rpx;
  700. image {
  701. width: 52rpx;
  702. height: 52rpx;
  703. }
  704. }
  705. .hx-body {
  706. width: 536rpx;
  707. height: 349rpx;
  708. background-color: #fff;
  709. border-radius: 0 0 10rpx 10rpx;
  710. .hx-title {
  711. width: 536rpx;
  712. font-size: 36rpx;
  713. font-weight: 500;
  714. color: #333333;
  715. line-height: 1;
  716. padding-top: 42rpx;
  717. text-align: center;
  718. }
  719. input {
  720. width: 439rpx;
  721. height: 68rpx;
  722. background: #dbf3e9;
  723. border-radius: 10rpx;
  724. margin: 39rpx auto 0;
  725. padding-left: 26rpx;
  726. .hx-placeholder {
  727. font-size: 26rpx;
  728. font-weight: 500;
  729. color: #ff4c4c;
  730. }
  731. }
  732. .hx-btn {
  733. margin: 44rpx auto 0;
  734. width: 353rpx;
  735. height: 71rpx;
  736. background: #ff4c4c;
  737. border-radius: 34rpx;
  738. font-size: 36rpx;
  739. font-weight: 500;
  740. color: #f8f9f9;
  741. line-height: 71rpx;
  742. text-align: center;
  743. }
  744. }
  745. }
  746. .user-list {
  747. width: 691rpx;
  748. height: 104rpx;
  749. background: #FFFFFF;
  750. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  751. border-radius: 28rpx;
  752. margin: 20rpx auto;
  753. padding: 0 25rpx;
  754. .left-img {
  755. width: 40rpx;
  756. height: 40rpx;
  757. }
  758. view {
  759. padding-left: 20rpx;
  760. flex-grow: 1;
  761. font-size: 29rpx;
  762. font-weight: bold;
  763. color: #5D5D5D;
  764. }
  765. .right-img {
  766. width: 13rpx;
  767. height: 23rpx;
  768. }
  769. }
  770. </style>