Browse Source

修复初级验证

master
453530270@qq.com 3 years ago
parent
commit
e1780be833
  1. 8
      pages/base/mine.vue

8
pages/base/mine.vue

@ -33,7 +33,7 @@
}} }}
</text> </text>
</v-link> </v-link>
<v-link tag="view" to="/pages/auth/primary" v-if="status==0" @click="getAuthInfo" <v-link tag="view" to="/pages/auth/primary" v-if="user_auth_level==0" @click="getAuthInfo"
class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center shadow-panel-4"> class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center shadow-panel-4">
<!-- :class="tabActive==0?'color-theme-1 bg-panel-3 rounded-xs shadow-panel-nei':''" --> <!-- :class="tabActive==0?'color-theme-1 bg-panel-3 rounded-xs shadow-panel-nei':''" -->
<view class="m-r-xs d-flex align-center"> <view class="m-r-xs d-flex align-center">
@ -279,6 +279,7 @@ export default {
refreshing: false, refreshing: false,
otc: {}, otc: {},
status: 0, status: 0,
user_auth_level: 0,
}; };
}, },
computed: { computed: {
@ -303,6 +304,7 @@ export default {
isShow(n, o) { isShow(n, o) {
if (n) { if (n) {
this.upDateData(); this.upDateData();
this.getAuthInfo();//this.user_auth_level
} }
}, },
tabActive() { tabActive() {
@ -321,8 +323,10 @@ export default {
Profile.getAuthInfo().then(res => { Profile.getAuthInfo().then(res => {
// this.detail = res.data // this.detail = res.data
this.status = res.data.status this.status = res.data.status
this.user_auth_level = res.data.primary_status
console.log(this.status, '9999') console.log(this.status, '9999')
console.log(res.data, '9999') console.log(res.data, '8888')
console.log(this.user_auth_level, '7777')
}) })
}, },
onRefresh() { onRefresh() {

Loading…
Cancel
Save