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