diff --git a/pages.json b/pages.json index 0eb4169..f04972d 100644 --- a/pages.json +++ b/pages.json @@ -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": "" + } } ] } diff --git a/pages/profile/profile.vue b/pages/profile/profile.vue index 1a65058..9fc3aab 100644 --- a/pages/profile/profile.vue +++ b/pages/profile/profile.vue @@ -23,7 +23,10 @@ - {{ userInfo.nickName || '点击登录' }} + + {{ userInfo.nickName || '点击登录' }} + 已实名 + @@ -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 { diff --git a/pages/realNameAuthentication/realNameAuthentication.vue b/pages/realNameAuthentication/realNameAuthentication.vue index cb42f11..0f6f987 100644 --- a/pages/realNameAuthentication/realNameAuthentication.vue +++ b/pages/realNameAuthentication/realNameAuthentication.vue @@ -2,7 +2,7 @@ - + 请输入您的有效身份信息 姓名 @@ -24,7 +24,7 @@ 您当前已完成实名认证 - + 提交 @@ -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) } },