Commit 09088c8f authored by 高铭波's avatar 高铭波

修改我的用户信息显示

parent a36e3874
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
return this.vuex_settled && this.vuex_settled.avatar return this.vuex_settled && this.vuex_settled.avatar
}, },
name() { name() {
return (this.settled && (this.settled.id_card_name || this.settled.name)) || (this.vuex_user && (this.vuex_user.name || this.vuex_user.loginName)) return (this.settled && this.settled.nickname) || (this.vuex_user && (this.vuex_user.name || this.vuex_user.loginName))
}, },
mobile() { mobile() {
return (this.settled && this.settled.mobile) || (this.vuex_user && this.vuex_user.mobile) return (this.settled && this.settled.mobile) || (this.vuex_user && this.vuex_user.mobile)
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
] ]
}, },
telTip() { telTip() {
return this.mobile && '已绑定手机'|| '绑定手机号' return this.mobile || '绑定手机号'
}, },
headImageUrl() { headImageUrl() {
return this.avatar || this.placeholderImage return this.avatar || this.placeholderImage
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
background-color: #FFFFFF; background-color: #FFFFFF;
border-radius: 26rpx; border-radius: 26rpx;
color: #2272FF; color: #2272FF;
width: 164rpx; width: 180rpx;
height: 52rpx; height: 52rpx;
font-size: 20rpx; font-size: 20rpx;
display: flex; display: flex;
......
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