|
|
@@ -30,7 +30,7 @@
|
|
|
</u-col>
|
|
|
<u-col span="8">
|
|
|
<view class="jf_phone">
|
|
|
- {{userPhone}}
|
|
|
+ {{nickName}}
|
|
|
</view>
|
|
|
</u-col>
|
|
|
|
|
|
@@ -69,6 +69,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ nickName:'',
|
|
|
userPhone: '',
|
|
|
point: 0,
|
|
|
image:'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/xhc/common/logo.png'
|
|
|
@@ -89,6 +90,7 @@
|
|
|
|
|
|
if (res.code === 0) {
|
|
|
that.userPhone = res.data.phone;
|
|
|
+ that.nickName = res.data.nickName;
|
|
|
that.point = res.data.point;
|
|
|
// 验证图片路径是否为有效字符串,避免将布尔值当作路径
|
|
|
if (typeof res.data.image === 'string' && res.data.image !== '' && res.data.image != null && res.data.image.startsWith('http')){
|
|
|
@@ -175,7 +177,7 @@
|
|
|
.jf_phone {
|
|
|
font-weight: bold;
|
|
|
font-size: 30rpx;
|
|
|
- color: #000000;
|
|
|
+ color: #F8D994;
|
|
|
margin-bottom: 10rpx;
|
|
|
}
|
|
|
|