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

Loading…
Cancel
Save