党员认证
This commit is contained in:
@@ -36,16 +36,17 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
// let {status} = this.user
|
// 0未认证 1认证中 2已认证 3认证失败
|
||||||
// if (status == 2) {
|
let {partyStatusForWX} = this.user
|
||||||
// uni.redirectTo({url: "./partyAuthInfo"})
|
if (partyStatusForWX == 2) {
|
||||||
// } else if (status == 0) {
|
uni.redirectTo({url: "./partyAuthInfo"})
|
||||||
//停留此页
|
} else if (partyStatusForWX == 0) {
|
||||||
// } else if() {
|
// 停留此页
|
||||||
// uni.redirectTo({url: "./partyAuthSuccess"})
|
} else if(partyStatusForWX == 1) {
|
||||||
// } else if() {
|
uni.redirectTo({url: "./partyAuthSuccess"})
|
||||||
// uni.redirectTo({url: "./partyAuthSuccess"})
|
} else if(partyStatusForWX == 3) {
|
||||||
// }
|
uni.redirectTo({url: "./partyAuthSuccess"})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toAgreement() {
|
toAgreement() {
|
||||||
|
|||||||
BIN
src/project/pingchang/AppPartyAuth/img/success.png
Normal file
BIN
src/project/pingchang/AppPartyAuth/img/success.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
@@ -1,7 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="partyAuthSuccess">
|
<div class="partyAuthSuccess">
|
||||||
<template v-if="isSuccess">
|
<template v-if="isSuccess">
|
||||||
<image src="https://cdn.cunwuyun.cn/img/authSuccess.png"/>
|
<!-- <image src="https://cdn.cunwuyun.cn/img/authSuccess.png"/> -->
|
||||||
|
<image src="./img/success.png"/>
|
||||||
<h2 v-text="`认证成功!`"/>
|
<h2 v-text="`认证成功!`"/>
|
||||||
<div class="btn" @click="gotoInfo" v-text="`前往查看`"/>
|
<div class="btn" @click="gotoInfo" v-text="`前往查看`"/>
|
||||||
</template>
|
</template>
|
||||||
@@ -44,11 +45,11 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
isSuccess() {
|
isSuccess() {
|
||||||
return this.user.status == 2
|
return this.user.partyStatusForWX == 0
|
||||||
},
|
|
||||||
isFail() {
|
|
||||||
return this.user.status == "0"
|
|
||||||
},
|
},
|
||||||
|
// isFail() {
|
||||||
|
// return this.user.partyStatusForWX == 0
|
||||||
|
// },
|
||||||
authFail() {
|
authFail() {
|
||||||
return this.user.status == -1
|
return this.user.status == -1
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user