个人中心的authenInfo?.status

This commit is contained in:
wangzimeng 2025-08-15 09:06:30 +08:00
parent e405700578
commit 7a868c671c

View File

@ -26,20 +26,14 @@
<view style="font-weight: 800;" @click="sheep.$router.go('/pages/user/info')"> <view style="font-weight: 800;" @click="sheep.$router.go('/pages/user/info')">
{{ userInfo.nickname}} {{ userInfo.nickname}}
</view> </view>
<!-- <view class="UnAuthenBox weight8 fs-20" v-if="authenInfo.status == -1 " <image class="UnAuthenBox weight8 fs-20" v-if="authenInfo?.status == -1"
@click="toPage('/pages/user/authentication')">未认证</view>
<view class="authenticationBox weight8 fs-20" >已认证
</view> -->
<image class="UnAuthenBox weight8 fs-20" v-if="authenInfo.status == -1"
src="https://jiangxiaoxian.0rui.cn/unAuthen.png" @click="toPage('/pages/user/authentication')"></image> src="https://jiangxiaoxian.0rui.cn/unAuthen.png" @click="toPage('/pages/user/authentication')"></image>
<image class="authenticationBox weight8 fs-20" v-if="authenInfo.status == 1 " <image class="authenticationBox weight8 fs-20" v-if="authenInfo?.status == 1 "
src="https://jiangxiaoxian.0rui.cn/authened.png"></image> src="https://jiangxiaoxian.0rui.cn/authened.png"></image>
</view> </view>
<view class="info-name fs-36 weight8 flexD" v-else> <view class="info-name fs-36 weight8 flexD" v-else>
<view style="font-weight: 800;" @click="toLogin">登录/注册</view> <view style="font-weight: 800;" @click="toLogin">登录/注册</view>
<!-- <view class="UnAuthenBox weight8 fs-20" v-if="authenInfo.status == -1 && isLogin == true">未认证</view>
<view class="authenticationBox weight8 fs-20" v-if="authenInfo.status == 1 && isLogin == true">已认证</view> -->
</view> </view>
<view class="fs-28 weight4" style="margin-top: 30rpx;">剩余拨打次数 <view class="fs-28 weight4" style="margin-top: 30rpx;">剩余拨打次数
{{ userInfo.all_mobile_num ? userInfo.all_mobile_num : 0 }} {{ userInfo.all_mobile_num ? userInfo.all_mobile_num : 0 }}
@ -255,6 +249,7 @@
const scrollHeight = ref() const scrollHeight = ref()
onShow(() => { onShow(() => {
// console.log('onShow',authenInfo.value.status);
isIos(); isIos();
sheep.$store('user').updateUserData(); sheep.$store('user').updateUserData();
}); });