Browse Source

设置真实姓名

master
kuaileWu 3 months ago
parent
commit
8490f40fc4
  1. 22
      pages/index/index.vue

22
pages/index/index.vue

@ -118,6 +118,7 @@
</view>
</uni-popup>
<view class="getphone-box"></view>
</view>
</template>
@ -332,15 +333,17 @@ export default {
this.pageShow = true;
this.$nextTick(() => {
console.log(this.$refs, 'this.$refs.nameWrap');
this.$refs.nameWrap.open('bottom')
})
let visitFlag = true;
this.doctorInfo = data;
this.user_type = this.doctorInfo.user_type;
if(!data.realname) {
this.$nextTick(() => {
this.$refs.nameWrap.open('bottom')
})
}
var title = this.doctorInfo.doctor_info.doctor_name + '主页'
uni.setNavigationBarTitle({
title: title
@ -748,7 +751,15 @@ export default {
margin: 0 auto;
}
.getphone-box{
position: fixed;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
z-index: 8999999999;
opacity: 0;
}
}
.popup-container {
@ -831,6 +842,5 @@ export default {
font-size: 26rpx;
font-family: PingFang SC;
}
}
</style>

Loading…
Cancel
Save