修改实名认证

develop
jscyl13849007907 12 months ago
parent f9e2ef2240
commit bf7df2da41

@ -78,7 +78,7 @@ Page({
*/ */
onLoad: function (options) { onLoad: function (options) {
setTimeout(() => { setTimeout(() => {
console.log(app.globalData.loginUserInfo); console.log('mine:',app.globalData.loginUserInfo);
this.setData({ this.setData({
isLogin: app.globalData.isLogin, isLogin: app.globalData.isLogin,
hasUserInfo: app.globalData.hasUserInfo, hasUserInfo: app.globalData.hasUserInfo,

@ -60,7 +60,7 @@
</view> </view>
</navigator>--> </navigator>-->
<view class hover-class="none" hover-stop-propagation="false"> <view class hover-class="none" hover-stop-propagation="false">
<navigator class="bgf br8" url="/pages/realName1/index" hover-class="hcb" open-type="navigate" wx:if="{{userInfo.idauth == 0}}"> <navigator class="bgf br8" url="/pages/realName1/index" hover-class="hcb" open-type="navigate" wx:if="{{userInfo.user.idauth == 0}}">
<view class="realname mt_10 br_8"> <view class="realname mt_10 br_8">
<view class="fw500">实名认证</view> <view class="fw500">实名认证</view>
<view> <view>
@ -69,14 +69,14 @@
</view> </view>
</view> </view>
</navigator> </navigator>
<navigator class="bgf br8" url="/pages/trueName/index?realName={{userInfo.realName}}" open-type="navigate" wx:else> <navigator class="bgf br8" url="/pages/trueName/index?realName={{userInfo.user.realName}}" open-type="navigate" wx:else>
<view class="realname mt_10 br_8 bgf" hover-class="hcb"> <view class="realname mt_10 br_8 bgf" hover-class="hcb">
<view class="fw500"> <view class="fw500">
实名认证 实名认证
<view class="iconfont icon-yirenzheng ysd-base-color fw400 f18 ml4" style="line-height:1"></view> <view class="iconfont icon-yirenzheng ysd-base-color fw400 f18 ml4" style="line-height:1"></view>
</view> </view>
<view> <view>
<view class="display-flex c9" style="align-items:center">{{userInfo.realName}}</view> <view class="display-flex c9" style="align-items:center">{{userInfo.user.realName}}</view>
<view class="iconfont icon-gengduo11 c9"></view> <view class="iconfont icon-gengduo11 c9"></view>
</view> </view>
</view> </view>

Loading…
Cancel
Save