|
@@ -17,7 +17,7 @@
|
|
|
<u-row customStyle="margin-bottom: 10px">
|
|
<u-row customStyle="margin-bottom: 10px">
|
|
|
<u-col span="4">
|
|
<u-col span="4">
|
|
|
<image class="tubiao"
|
|
<image class="tubiao"
|
|
|
- src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/logo.png"
|
|
|
|
|
|
|
+ :src="image"
|
|
|
mode="aspectFit" />
|
|
mode="aspectFit" />
|
|
|
</u-col>
|
|
</u-col>
|
|
|
<u-col span="8">
|
|
<u-col span="8">
|
|
@@ -62,7 +62,8 @@
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
userPhone: '',
|
|
userPhone: '',
|
|
|
- point: 0
|
|
|
|
|
|
|
+ point: 0,
|
|
|
|
|
+ image:'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/logo.png'
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onLoad() {
|
|
onLoad() {
|
|
@@ -78,9 +79,12 @@
|
|
|
let that = this;
|
|
let that = this;
|
|
|
getMiniCustomerUserInfo().then(res => {
|
|
getMiniCustomerUserInfo().then(res => {
|
|
|
|
|
|
|
|
- if (res.code == 0) {
|
|
|
|
|
|
|
+ if (res.code === 0) {
|
|
|
that.userPhone = res.data.phone;
|
|
that.userPhone = res.data.phone;
|
|
|
that.point = res.data.point;
|
|
that.point = res.data.point;
|
|
|
|
|
+ if (res.data.image !== '' && res.data.image != null){
|
|
|
|
|
+ that.image = res.data.image;
|
|
|
|
|
+ }
|
|
|
console.log(that.point);
|
|
console.log(that.point);
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|