|
@@ -3,7 +3,7 @@
|
|
<image style="width: 100%;" mode="aspectFill" :src="imgSrc('/profile/logo/menuBackgroundImage.png')"></image>
|
|
<image style="width: 100%;" mode="aspectFill" :src="imgSrc('/profile/logo/menuBackgroundImage.png')"></image>
|
|
<view class="big-circle"></view>
|
|
<view class="big-circle"></view>
|
|
<view class="avatar-area z10" >
|
|
<view class="avatar-area z10" >
|
|
- <u-avatar :src="src" size="80" shape="circle"></u-avatar>
|
|
|
|
|
|
+ <u-avatar :src="avatar.length > 0 ? imgSrc(avatar) : src" size="80" shape="circle"></u-avatar>
|
|
</view>
|
|
</view>
|
|
<view class="menu-area z10">
|
|
<view class="menu-area z10">
|
|
<view class="basic-msg">
|
|
<view class="basic-msg">
|
|
@@ -88,6 +88,7 @@
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
src: 'https://tupian.qqw21.com/article/UploadPic/2021-1/20211722215735941.jpg',
|
|
src: 'https://tupian.qqw21.com/article/UploadPic/2021-1/20211722215735941.jpg',
|
|
|
|
+ avatar: '',
|
|
name: "",
|
|
name: "",
|
|
amount:null,
|
|
amount:null,
|
|
role:"",
|
|
role:"",
|
|
@@ -241,6 +242,7 @@
|
|
this.init()
|
|
this.init()
|
|
this.name = cache.session.getJSON('nickName')
|
|
this.name = cache.session.getJSON('nickName')
|
|
this.role = cache.session.getJSON('role')
|
|
this.role = cache.session.getJSON('role')
|
|
|
|
+ this.avatar = cache.session.getJSON('avatar')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|