二维码跳转校验认证信息
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="taskDetail">
|
||||
<div class="taskDetail" v-if="showPages">
|
||||
<div class="task">
|
||||
<h4>{{ info.title }}</h4>
|
||||
<p>{{ info.detail }}</p>
|
||||
@@ -73,6 +73,7 @@ export default {
|
||||
qqmapsdk: null,
|
||||
distance: 100,
|
||||
flag: false,
|
||||
showPages: false,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -345,7 +346,17 @@ export default {
|
||||
uni.setNavigationBarTitle({
|
||||
title: '任务详情'
|
||||
});
|
||||
this.getDetail()
|
||||
if (!this.user.idNumber) {
|
||||
this.$dialog.confirm({
|
||||
content: '您只有完成信息认证后,才可进行相关操作。',
|
||||
confirmText: '去认证'
|
||||
}).then(() => {
|
||||
this.$linkTo('/pages/AppMine/userInfo')
|
||||
}).catch(() => {
|
||||
})
|
||||
} else {
|
||||
this.getDetail()
|
||||
}
|
||||
this.qqmapsdk = new QQMapWX({
|
||||
key: process.env.NODE_ENV == 'production' ? 'RWWBZ-64BEJ-MVLFJ-FTHLQ-JTR6J-SAB2S' : '3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user