实名认证0.9

This commit is contained in:
WindowBird 2025-09-09 16:31:55 +08:00
parent 8b925686f6
commit 2f200f48a7
3 changed files with 32 additions and 27 deletions

View File

@ -112,17 +112,16 @@
}
},
{
"path" : "pages/test/test",
"style" :
{
"navigationBarTitleText" : "test"
}
"path": "pages/test/test",
"style": {
"navigationBarTitleText": "test"
}
},
{
"path" : "pages/realNameAuthentication/realNameAuthentication",
"style" : {
"navigationStyle": "custom"
}
"path": "pages/realNameAuthentication/realNameAuthentication",
"style": {
"navigationStyle": "custom"
}
}
],
"subPackages": [
@ -151,18 +150,10 @@
}
},
{
"path" : "facialRecognition/facialRecognition",
"style" :
{
"navigationBarTitleText" : ""
}
},
{
"path" : "web-view/web-view",
"style" :
{
"navigationBarTitleText" : ""
}
"path": "facialRecognition/facialRecognition",
"style": {
"navigationBarTitleText": ""
}
}
]
}

View File

@ -23,7 +23,10 @@
<view v-else style="padding: 30rpx"></view>
</view>
<view class="user-details">
<text class="user-name" @click="goLogin()">{{ userInfo.nickName || '点击登录' }}</text>
<view class="user-name">
<text @click="goLogin()">{{ userInfo.nickName || '点击登录' }}</text>
<view v-if="userInfo.isReal" class="tag">已实名</view>
</view>
<view class="settings-icon" @click="goToSettings">
<image :src="commonEnum.SET" class="settings-img" mode="aspectFit" />
@ -539,11 +542,21 @@ export default {
align-items: flex-start;
.user-name {
display: block;
display: flex;
font-size: 32rpx;
font-weight: bold;
color: #3d3d3d;
margin-bottom: 10rpx;
.tag {
margin-left: 30rpx;
color: #fff;
background: #f15a04;
border-radius: 10rpx;
font-size: 28rpx;
padding: 5rpx;
}
}
.user-id {

View File

@ -2,7 +2,7 @@
<view class="page">
<custom-nav-bar :fill="false" :show-back="true" background-color="transparent" title="" />
<image class="bj" mode="" src="https://api.ccttiot.com/image-1757389708427.png"></image>
<view v-if="isReal !== true" class="sfxx">
<view v-if="!isReal" class="sfxx">
<view class="tit"> 请输入您的有效身份信息</view>
<view class="name"> 姓名 <input v-model="name" placeholder="请填写姓名" type="text" /></view>
<view class="name">
@ -24,7 +24,7 @@
您当前已完成实名认证
</view>
</view>
<view v-if="isReal !== true" class="anniu" @click="btnshiming">
<view v-if="!isReal" class="anniu" @click="btnshiming">
<!-- <text>进入人脸识别</text> -->
<text>提交</text>
</view>
@ -40,12 +40,13 @@ import {
export default {
data() {
return {
isReal: false,
bgc: {
backgroundColor: '',
},
name: '',
zfzh: '',
isReal: false,
backData: null,
smflag: true,
}
@ -53,7 +54,7 @@ export default {
onLoad(option) {
if (option.isReal) {
console.log('用户实名123', option.isReal)
this.isReal = option.isReal
this.isReal = true
console.log('用户实名1', this.isReal)
}
},