Commit 24a5c243 authored by 刘用法's avatar 刘用法

输入好各个字段信息,切换到其他APP再切换回来,会把已填的信息自动清空

parent f815932f
......@@ -6,8 +6,8 @@
</u-navbar>
<view class="mine-content">
<view class="header-view">
<view :class="['head-image', {'has-image': avatar}]">
<u-avatar :src="headImageUrl" :size="headSize" mode="circle"></u-avatar>
<view class="head-image">
<image :style="headImageStyle" :src="headImageUrl"></image>
</view>
<view class="header-content">
<view class="name-view" @click="handleClickName">{{name || "点击登录"}}</view>
......@@ -120,6 +120,9 @@
},
placeholderImage() {
return this.qnPath + 'touxiang.png'
},
headImageStyle() {
return this.avatar ? 'width:136rpx; height:136rpx;border-radius:68rpx' : 'width:144rpx; height:144rpx;border-radius:72rpx'
},
headSize() {
return this.avatar ? 136 : 144
......@@ -192,11 +195,9 @@
height: 144rpx;
background-color: #FFFFFF;
border-radius: 72rpx;
&.has-image {
// border: 4rpx solid #FFFFFF;
padding: 4rpx;
}
display: flex;
align-items: center;
justify-content: center;
}
.header-content {
......
......@@ -103,13 +103,16 @@
}
},
onLoad(e) {},
onShow() {
onShow() {
/** 测试提了bug:ID1001079【首页-入驻-在线签约】:输入好各个字段信息,切换到其他APP再切换回来,会把已填的信息自动清空
不知道这一段当初为什么加,就屏蔽了
const refs = this.$refs
this.$nextTick(() => {
if (refs['radio'] && refs['radio'].length > 0) {
refs['radio'][0].setRadioCheckedStatus()
}
})
})
*/
this.startCounting()
this.getBaseInfo()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment