Commit 83c49405 authored by Mac's avatar Mac

修改认证的问题

parent cf4a7951
......@@ -100,7 +100,7 @@
</view>
</view>
<!-- 头像上传的情况 4-26新加 -->
<view class="subItemBox" v-if="item1.subType==4" style="height: 140rpx;">
<view class="subItemBox" v-if="item1.subType==4" style="height: 140rpx;justify-content: flex-start">
<view class="subName">
{{item1.name}}
<text v-if="item1.must!=undefined && item1.must" style="font-size: 12px;color: #F70027;margin-left: 3px;font-weight: normal;">*</text>
......
......@@ -79,7 +79,7 @@
<u-toast ref="uToast" />
<tabbar></tabbar>
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth='gbAuth'></auth>
<u-modal v-model="show" content="还未认证/上传身份证信息,是否去认证?" :show-cancel-button='true' @confirm='queren'></u-modal>
<u-modal v-model="show" :content="showtext" :show-cancel-button='true' @confirm='queren'></u-modal>
</view>
</template>
......@@ -119,7 +119,8 @@
},
forumList: [],
isAttestation:0,
isFaTie:0
isFaTie:0,
showtext:'去认证',
};
},
created() {
......@@ -238,20 +239,15 @@
this.showAuth = true;
} else {
if(this.isAttestation == 1){//判断是否认证了
if(this.isFaTie == 1){
uni.navigateTo({
url: '/pages/blindDate/postPublishing?ForumId=' + this.msg.ForumId
})
}else{
uni.showToast({
title: '暂无发帖权限,联系管理员开通权利',
duration: 2000,
icon:"none"
});
}
}else{
}else if(this.isAttestation == 0){
this.show = true
this.showtext = '还未认证,是否去认证?'
}else if(this.isAttestation == 2){
this.show = true
this.showtext = '还未上传身份证信息,是否去认证?'
}
}
......
......@@ -384,7 +384,7 @@
</u-popup>
</view>
<tabbar v-if='barshow==0'></tabbar>
<u-modal v-model="rzshow" content="还未认证,是否去认证?" :show-cancel-button='true' @confirm='queren'></u-modal>
<u-modal v-model="rzshow" :content="showtext" :show-cancel-button='true' @confirm='queren'></u-modal>
</div>
</template>
......@@ -446,6 +446,7 @@
barshow:0,
IsOpenMiAi:0,//1开启 0 没开启
isAttestation:0,
showtext:'去认证',
}
},
created() {
......@@ -875,8 +876,12 @@
uni.navigateTo({
url: '/pages/friendcircle/release'
})
}else{
}else if(this.isAttestation == 0){
this.rzshow = true
this.showtext = '还未认证,是否去认证?'
}else if(this.isAttestation == 2){
this.rzshow = true
this.showtext = '还未上传身份证信息,是否去上传?'
}
}
......
......@@ -32,7 +32,7 @@
<view class="renzhen" v-if="user_info.isAttestation==0 " >
未认证
</view>
<view class="renzhen" v-if="user_info.isAttestation==1" :style="{'border':'1px solid '+mainColor,'color':mainColor}">
<view class="renzhen" v-if="user_info.isAttestation>0" :style="{'border':'1px solid '+mainColor,'color':mainColor}">
已认证
</view>
</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment