index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  1. <template>
  2. <view class="app">
  3. <view class="top-bg">
  4. <view class="top2-bg">
  5. <view class="top3-bg">
  6. </view>
  7. </view>
  8. </view>
  9. <view class="top-view">
  10. <view class="top-inner">
  11. <view class="statusBar" :style="'height:' + statusBarHeight + 'px'"></view>
  12. <view class="top-h45"></view>
  13. <view class="user fx-h fx-bc" v-if="user != null">
  14. <view class="avatar">
  15. <image :src=" user.avatar || '/static/img/user-avatar2.png'" mode="aspectFill"></image>
  16. </view>
  17. <view class="nickname">{{ user.nickname }}</view>
  18. <view class="iname fx-r fx-bc">
  19. <view class="id-name">ID:{{ user.number_code }}</view>
  20. <image src="/static/img/idcopy.png" class="copy"></image>
  21. </view>
  22. <view class="level fx-r fx-bc" v-if="isNewShow">
  23. <view class="name">{{ user.mentor_name }}</view>
  24. </view>
  25. <view class="newPeople" v-if="isNewShow">
  26. <view v-if="user.regtime == 0">到期时间:永久</view>
  27. <view v-if="user.regtime > 0" class="fx-r fx-bc">
  28. <view>到期时间</view>:<uv-count-down :time="timeValues" format="DD:HH:mm:ss"></uv-count-down>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="user fx-h fx-bc fx-ac" @tap="tapLogin" v-else>
  33. <view class="avatar">
  34. <image src="/static/img/user-avatar2.png" mode="aspectFill"></image>
  35. </view>
  36. <view class="nickname">点击登录</view>
  37. </view>
  38. <!--收益情况-->
  39. <view class="earnings fx-r fx-bc" v-if="sysData.is_audit == 0">
  40. <view class="item fx-r fx-bc fx-ac">
  41. <view class="itemLeftBox">
  42. <view class="name">我的收益</view>
  43. <view class="count">{{ user != null ? user.total_earnings : 0 }}</view>
  44. </view>
  45. <image class="rightImageIcon" src="/static/img/userinfo1.png" mode="scaleToFill"></image>
  46. </view>
  47. <view class="line"></view>
  48. <view class="item fx-r fx-bc fx-ac" @tap="tapOpen" data-url="/pages/user/detail/integral">
  49. <view class="itemLeftBox">
  50. <view class="name">我的趣豆</view>
  51. <view class="count">{{ user != null ? user.integral : 0 }}</view>
  52. </view>
  53. <image class="rightImageIcon" src="/static/img/userinfo2.png" mode="scaleToFill"></image>
  54. </view>
  55. <view class="lineAll"></view>
  56. <view class="item fx-r fx-bc fx-ac" @tap="tapOpen" data-url="/pages/user/detail/anticipate">
  57. <view class="itemLeftBox">
  58. <view class="name">易趣卷</view>
  59. <view class="count">{{ user != null ? user.anticipate : 0 }}</view>
  60. </view>
  61. <image class="rightImageIcon" src="/static/img/userinfo3.png" mode="scaleToFill"></image>
  62. </view>
  63. <view class="line"></view>
  64. <view class="item fx-r fx-bc fx-ac" @tap="tapOpen" data-url="/pages/user/detail/detail">
  65. <view class="itemLeftBox">
  66. <view class="name">提货积分</view>
  67. <view class="count">{{ user != null ? user.good_integral : 0 }}</view>
  68. </view>
  69. <image class="rightImageIcon" src="/static/img/userinfo4.png" mode="scaleToFill"></image>
  70. </view>
  71. <view class="line" v-if="user != null && user.number_code == 358"></view>
  72. <view class="item fx-r fx-bc fx-ac" v-if="user != null && user.number_code == 358" @tap="tapOpen" data-url="/pages/user/detail/award">
  73. <view class="itemLeftBox">
  74. <view class="name">奖金</view>
  75. <view class="count">{{ user != null ? user.award : 0 }}</view>
  76. </view>
  77. <image class="rightImageIcon" src="/static/img/userinfo4.png" mode="scaleToFill"></image>
  78. </view>
  79. </view>
  80. </view>
  81. </view>
  82. <!--馆长中心-->
  83. <view class="gz" v-if="user != null && user.isgz" @tap="tapOpen" data-url="/pages/gz/index">
  84. <image class="bg" src="/static/img/gz-bg.png"></image>
  85. <view class="inner fx-r fx-bc">
  86. <image class="icon" src="/static/img/gz-zuan.png"></image>
  87. <view class="name">部门总监职能中心</view>
  88. <view class="fx-g1"></view>
  89. <view class="sbtn">点击进入</view>
  90. </view>
  91. </view>
  92. <view class="body" :class="(user != null && user.isgz) ? 'to-gz' : 'no-gz' ">
  93. <view class="pannel" v-if="sysData.is_audit == 0">
  94. <view class="order-items fx-r fx-bc">
  95. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/user/qrcode/index"
  96. v-if="sysData.is_audit == 0">
  97. <image src="/static/img/user-content1.png"></image>
  98. <view class="name">邀请好友</view>
  99. </view>
  100. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/user/team/vermicelli"
  101. v-if="sysData.is_audit == 0">
  102. <image src="/static/img/user-content2.png"></image>
  103. <view class="name">我的粉丝</view>
  104. </view>
  105. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/user/order/index">
  106. <image src="/static/img/user-content3.png"></image>
  107. <view class="name">提货订单</view>
  108. </view>
  109. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/guild/order/order"
  110. v-if="sysData.is_audit == 0">
  111. <image src="/static/img/user-content4.png"></image>
  112. <view class="name">购买订单</view>
  113. </view>
  114. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/guild/order/myPro">
  115. <image src="/static/img/user-content5.png"></image>
  116. <view class="name">我的商品</view>
  117. </view>
  118. </view>
  119. </view>
  120. <!--我的商户-->
  121. <view class="pannel mt20" v-if=" user != null && user.m_id > 0">
  122. <view class="fx-r fx-bc fx-ac">
  123. <view class="items-title">我的商户</view>
  124. <view class="fx-g1"></view>
  125. <view class="shop-name">{{ user.m_name }}</view>
  126. </view>
  127. <view class="items fx-r">
  128. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/user/detail/brokerage">
  129. <image mode="heightFix" src="/static/img/user_earnings.png"></image>
  130. <view class="name">货款记录</view>
  131. </view>
  132. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/user/address/address">
  133. <image mode="heightFix" src="/static/img/user_tx.png"></image>
  134. <view class="name">我要提现</view>
  135. </view>
  136. </view>
  137. </view>
  138. <view class="pannel mt20">
  139. <view class="pannelTopImgBox">
  140. <image class="pannelTopImg" src="/static/img/moreGn.png" mode="scaleToFill"></image>
  141. </view>
  142. <view class="items fx-r">
  143. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/user/bank/bank"
  144. v-if="sysData.is_audit == 0">
  145. <image src="/static/img/userico1.png" mode="heightFix"></image>
  146. <view class="name">收款信息</view>
  147. </view>
  148. <view class="item fx-h fx-bc" @tap="tapOpenRz" v-if="sysData.is_audit == 0">
  149. <image src="/static/img/userico2.png" mode="heightFix"></image>
  150. <view class="name">实名认证</view>
  151. </view>
  152. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/user/address/address">
  153. <image src="/static/img/userico3.png" mode="heightFix"></image>
  154. <view class="name">收货地址</view>
  155. </view>
  156. <view class="item fx-h fx-bc" @tap="$refs.customer.open()">
  157. <image src="/static/img/userico4.png" mode="heightFix"></image>
  158. <view class="name">联系客服</view>
  159. </view>
  160. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/user/userinfo/index">
  161. <image src="/static/img/userico5.png" mode="heightFix"></image>
  162. <view class="name">个人资料</view>
  163. </view>
  164. <view class="item fx-h fx-bc" @tap="tapPayment" v-if="sysData.is_audit == 0">
  165. <image src="/static/img/userico6.png" mode="heightFix"></image>
  166. <view class="name">交易密码</view>
  167. </view>
  168. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/user/userinfo/bindPhone"
  169. v-if="sysData.is_audit == 0">
  170. <image src="/static/img/userico7.png" mode="heightFix"></image>
  171. <view class="name">绑定手机</view>
  172. </view>
  173. <view class="item fx-h fx-bc" @tap="tapOpen" data-url="/pages/user/setting/index">
  174. <image src="/static/img/userico8.png" mode="heightFix"></image>
  175. <view class="name">设置</view>
  176. </view>
  177. </view>
  178. </view>
  179. </view>
  180. <customer-wiget ref="customer"></customer-wiget>
  181. <view class="popwin fx-h fx-bc fx-ac" v-if="isGg">
  182. <view class="bg"></view>
  183. <view class="body fx-h">
  184. <image src="/static/img/user_vip_bg.png" class="bgimg"></image>
  185. <view class="pop-body">
  186. <view class="inner-top">尊敬的高级合伙人</view>
  187. <view class="inner-tip">您的高级合伙人有效期仅剩</view>
  188. <view class="inner">
  189. <view class="max-he fx-r fx-be fx-ac">
  190. <text class="c">{{ user != null ? user.last_mentor_time : ""}}</text>
  191. <text class="t">天</text>
  192. </view>
  193. <view class="fx-r fx-bc fx-ac foot">
  194. <view class="btn" @tap="isGg = false">我知晓></view>
  195. </view>
  196. </view>
  197. </view>
  198. <view class="m-close fx-h fx-bc">
  199. <image src="/static/img/btn-close.png" @tap="isGg = false" class="icon"></image>
  200. </view>
  201. </view>
  202. </view>
  203. </view>
  204. </template>
  205. <style lang="scss">
  206. .top2-bg {
  207. height: 100%;
  208. width: 100%;
  209. background: linear-gradient(to right, #FEA9C8, #FFE4F0, #FFA18E);
  210. position: absolute;
  211. .top3-bg {
  212. height: 100%;
  213. width: 100%;
  214. background: linear-gradient(rgba(255, 255, 255, 0), #FEF7F5);
  215. }
  216. }
  217. .top-bg {
  218. width: 100vw;
  219. height: 83vw;
  220. position: fixed;
  221. top: 0;
  222. }
  223. .newPeople {
  224. font-size: 12px;
  225. color: #999;
  226. padding-top: 15rpx;
  227. }
  228. .top-view {
  229. width: 100%;
  230. .top-inner {
  231. position: relative;
  232. z-index: 1;
  233. .top-h45 {
  234. height: 45rpx;
  235. }
  236. .user {
  237. position: relative;
  238. }
  239. .avatar {
  240. width: 130rpx;
  241. height: 130rpx;
  242. background: #efa69b;
  243. border-radius: 50%;
  244. image {
  245. width: 120rpx;
  246. height: 120rpx;
  247. border-radius: 50%;
  248. margin-left: 5rpx;
  249. margin-top: 5rpx;
  250. }
  251. }
  252. .nickname {
  253. margin-top: 20rpx;
  254. color: #000;
  255. font-size: 34rpx;
  256. font-weight: bold;
  257. }
  258. .iname {
  259. margin-top: 12rpx;
  260. image {
  261. width: 30rpx;
  262. height: 30rpx;
  263. margin-left: 12rpx;
  264. }
  265. .id-name {
  266. font-size: 30rpx;
  267. color: #666666;
  268. }
  269. }
  270. .level {
  271. margin-top: 20rpx;
  272. background: linear-gradient(to right, #f9ecc5 0%, #d6ba63 100%);
  273. border-radius: 60rpx;
  274. padding: 0 36rpx;
  275. image {
  276. width: 30rpx;
  277. height: 30rpx;
  278. margin-right: 10rpx;
  279. }
  280. .name {
  281. font-size: 30rpx;
  282. color: #93794B;
  283. margin-right: 2px;
  284. &:last-child {
  285. margin-right: 0;
  286. }
  287. }
  288. }
  289. .level-ty {
  290. position: absolute;
  291. right: 10px;
  292. bottom: -12px;
  293. font-size: 12px;
  294. color: #fff;
  295. }
  296. .earnings {
  297. margin: 25rpx 30rpx 0;
  298. border-radius: 20rpx;
  299. background-color: #FFF;
  300. .lineAll {
  301. width: 100%;
  302. height: 1px;
  303. background-color: rgba(245, 245, 247, 1);
  304. }
  305. .item {
  306. width: calc(50% - 1px);
  307. padding: 30rpx;
  308. box-sizing: border-box;
  309. line-height: 1;
  310. .itemLeftBox{
  311. flex-grow: 1;
  312. }
  313. .rightImageIcon {
  314. width: 66rpx;
  315. height: 66rpx;
  316. }
  317. .count {
  318. margin-top: 20rpx;
  319. font-size: 25rpx;
  320. color: rgba(255, 76, 76, 1);
  321. }
  322. .name {
  323. font-weight: bold;
  324. font-size: 28rpx;
  325. color: rgba(35, 35, 38, 1);
  326. }
  327. }
  328. .line {
  329. width: 1px;
  330. height: 70rpx;
  331. background-color: rgba(245, 245, 247, 1);
  332. }
  333. }
  334. }
  335. }
  336. .gz {
  337. position: relative;
  338. padding: 0px 20rpx;
  339. margin-top: 20rpx;
  340. .bg {
  341. width: calc(100vw - 40rpx);
  342. height: calc(13vw - 5rpx);
  343. }
  344. .inner {
  345. position: absolute;
  346. width: calc(100% - 80rpx);
  347. height: calc(100% - 10rpx);
  348. left: 40rpx;
  349. top: 0;
  350. .icon {
  351. width: 40rpx;
  352. height: 36rpx;
  353. }
  354. .name {
  355. margin-left: 15rpx;
  356. font-size: 30rpx;
  357. color: #6A4714;
  358. }
  359. .sbtn {
  360. background: linear-gradient(-90deg, #8C5F1D 0%, #8C5F1C 77%, #875916 99%);
  361. border-radius: 25rpx;
  362. height: 50rpx;
  363. line-height: 50rpx;
  364. padding: 0px 25rpx;
  365. font-size: 26rpx;
  366. color: #F0E1C9;
  367. }
  368. }
  369. }
  370. .body {
  371. padding: 20rpx 30rpx;
  372. position: relative;
  373. line-height: 1;
  374. .pannel {
  375. background: #fff;
  376. border-radius: 20rpx;
  377. .pannelTopImgBox{
  378. padding:30rpx 25rpx 0;
  379. .pannelTopImg{
  380. width: 140rpx;
  381. height: 26rpx !important;
  382. }
  383. }
  384. .order-items {
  385. padding: 40rpx 10rpx;
  386. .item {
  387. width: 20%;
  388. image {
  389. width: 90rpx;
  390. height: 88rpx;
  391. }
  392. .name {
  393. font-size: 24rpx;
  394. color: #0C1732;
  395. margin-top: 10rpx;
  396. }
  397. }
  398. }
  399. &.mt20 {
  400. margin-top: 20rpx;
  401. }
  402. .items-title {
  403. font-weight: bold;
  404. font-size: 28rpx;
  405. color: #333333;
  406. padding-left: 40rpx;
  407. padding-top: 30rpx;
  408. }
  409. .shop-name {
  410. font-size: 24rpx;
  411. color: #333333;
  412. padding-right: 10px;
  413. padding-top: 17px;
  414. }
  415. .items {
  416. padding-bottom: 40rpx;
  417. .item {
  418. width: 25%;
  419. margin-top: 50rpx;
  420. image {
  421. height: 40rpx;
  422. }
  423. .name {
  424. font-size: 24rpx;
  425. color: #333;
  426. margin-top: 32rpx;
  427. }
  428. }
  429. }
  430. }
  431. }
  432. /**弹出框 **/
  433. .popwin {
  434. position: fixed;
  435. width: 100%;
  436. height: 100%;
  437. top: 0;
  438. left: 0;
  439. z-index: 88;
  440. }
  441. .popwin .bg {
  442. background: rgba(0, 0, 0, 0.5);
  443. height: 100%;
  444. width: 100%;
  445. position: absolute;
  446. left: 0;
  447. top: 0;
  448. }
  449. .popwin .body {
  450. position: relative;
  451. border-radius: 8px;
  452. width: 100%;
  453. width: 80vw;
  454. right: -7vw;
  455. padding: 0;
  456. }
  457. .popwin .body .bgimg {
  458. width: 80vw;
  459. height: 83vw;
  460. position: absolute;
  461. top: 0;
  462. }
  463. .popwin .body .pop-body {
  464. width: 66vw;
  465. position: relative;
  466. }
  467. .popwin .body .inner {
  468. position: relative;
  469. z-index: 99;
  470. width: calc(100% - 80rpx);
  471. padding: 0px 40rpx;
  472. }
  473. .popwin .body .inner-top {
  474. height: 9vw;
  475. line-height: 9vw;
  476. text-align: center;
  477. font-weight: 500;
  478. font-size: 34rpx;
  479. color: #FEF9F0;
  480. }
  481. .popwin .body .inner-tip {
  482. margin-top: 8vw;
  483. height: 7vw;
  484. text-align: center;
  485. line-height: 7vw;
  486. font-weight: bold;
  487. font-size: 26rpx;
  488. color: #F9FAFA;
  489. }
  490. .max-he {
  491. height: 31vw;
  492. }
  493. .max-he .c {
  494. font-size: 150rpx;
  495. color: #201F1F;
  496. font-weight: bold;
  497. }
  498. .max-he .t {
  499. position: relative;
  500. top: -40rpx;
  501. }
  502. .foot {
  503. height: 22vw;
  504. margin-top: 6vw;
  505. }
  506. .popwin .btn {
  507. background: linear-gradient(0deg, #FAC37B, #FFF5B0);
  508. box-shadow: 2px 7px 7px 0px rgba(161, 23, 36, 0.4);
  509. border-radius: 15rpx;
  510. height: 66rpx;
  511. width: 40vw;
  512. font-size: 38rpx;
  513. color: #97000E;
  514. text-align: center;
  515. line-height: 66rpx
  516. }
  517. .popwin .m-close {
  518. margin-top: 10px;
  519. width: calc(100% - 10vw);
  520. }
  521. .popwin .m-close image {
  522. width: 120rpx;
  523. height: 120rpx;
  524. }
  525. </style>
  526. <script>
  527. import maoScroll from '@/components/mao-scroll/mao-scroll.vue';
  528. import customerWiget from '@/components/ui-public/customer-wiget.vue';
  529. import {
  530. mapState,
  531. mapMutations
  532. } from 'vuex';
  533. export default {
  534. components: {
  535. maoScroll,
  536. customerWiget
  537. },
  538. computed: mapState(['user', 'sysData']),
  539. data() {
  540. return {
  541. statusBarHeight: 20,
  542. isGg: false,
  543. isNewShow: false,
  544. timeValues: '',
  545. }
  546. },
  547. onLoad() {
  548. this.initView();
  549. },
  550. onShow(options) {
  551. this.checkUserLogin({
  552. page: this,
  553. isLogion: false,
  554. fn: this.init
  555. });
  556. },
  557. methods: {
  558. ...mapMutations(['setSys', 'checkUserLogin']),
  559. initView: function() {
  560. uni.getSystemInfo({
  561. success: (res) => {
  562. this.statusBarHeight = res.statusBarHeight;
  563. }
  564. });
  565. },
  566. /**
  567. *
  568. */
  569. init: function() {
  570. // if (this.user.is_mentor) {
  571. // this.isGg = true;
  572. // }
  573. console.log(this.user.mentor_id)
  574. if ((this.user.mentor_id == 15 || this.user.mentor_id == 6 && this.user.regtime > 0)) {
  575. //获取当前时间的时间戳
  576. let nowTime = Math.round(new Date().getTime()).toString();
  577. console.log(nowTime, '现在时间')
  578. //注册时间 this.user.regtime 两个月后
  579. let date = new Date(this.user.regtime * 1000);
  580. console.log(date, '注册时间')
  581. // 获取日期的月份和年份,用于处理月末变化的情况
  582. let currentMonth = date.getMonth();
  583. let currentYear = date.getFullYear();
  584. date.setMonth(date.getMonth() + 2);
  585. if (date.getMonth() !== (currentMonth + 2) % 12 || date.getFullYear() !== currentYear + Math.floor(
  586. (currentMonth + 2) / 12)) {
  587. date.setDate(0);
  588. }
  589. let dateTimeStr = new Date(date);
  590. // 将Date对象转换为时间戳(以秒为单位)
  591. let timestamp = Math.floor(dateTimeStr.getTime());
  592. console.log(timestamp, '注册两个月后时间')
  593. if (nowTime > timestamp) {
  594. this.isNewShow = false
  595. } else {
  596. this.isNewShow = true
  597. this.timeValues = timestamp - nowTime
  598. console.log(this.timeValues, '到期倒计时')
  599. }
  600. }
  601. if ((this.user.mentor_id == 15 || this.user.mentor_id == 6) && this.user.regtime == 0) {
  602. this.isNewShow = true
  603. }
  604. },
  605. /**
  606. * 授权登录
  607. */
  608. tapLogin: function() {
  609. uni.navigateTo({
  610. url: "/pages/login/index"
  611. })
  612. },
  613. /**
  614. * 打开Open
  615. * @param {Object} ev
  616. */
  617. tapOpen: function(ev) {
  618. let url = ev.currentTarget.dataset.url;
  619. if (!this.utils.isDefine(this.user)) {
  620. uni.navigateTo({
  621. url: "/pages/login/index"
  622. });
  623. return;
  624. }
  625. this.utils.navigateTo(url);
  626. },
  627. /**
  628. * 交易密钥
  629. */
  630. tapPayment: function() {
  631. if (!this.utils.isDefine(this.user)) {
  632. uni.navigateTo({
  633. url: "/pages/login/index"
  634. });
  635. return;
  636. }
  637. if (this.user.is_payment) {
  638. uni.navigateTo({
  639. url: "/pages/user/userinfo/security/mobileFind"
  640. })
  641. } else {
  642. uni.navigateTo({
  643. url: "/pages/user/userinfo/security/newPass"
  644. })
  645. }
  646. },
  647. tapOpenRz: function() {
  648. if (!this.utils.isDefine(this.user)) {
  649. uni.navigateTo({
  650. url: "/pages/login/index"
  651. });
  652. return;
  653. }
  654. if (this.user.is_auth == 1) {
  655. this.utils.Tip("已实名认证");
  656. return;
  657. }
  658. uni.navigateTo({
  659. url: "/pages/user/approve"
  660. });
  661. },
  662. }
  663. }
  664. </script>