|
@@ -7,11 +7,11 @@
|
|
width="28px"
|
|
width="28px"
|
|
height="28px"
|
|
height="28px"
|
|
round
|
|
round
|
|
- src="https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg"
|
|
|
|
|
|
+ :src="systemStore.avatar"
|
|
/>
|
|
/>
|
|
<div class="user-info">
|
|
<div class="user-info">
|
|
<div class="user-info-name" @click="showWallet = true">
|
|
<div class="user-info-name" @click="showWallet = true">
|
|
- <div>{{walletStore.username}}</div>
|
|
|
|
|
|
+ <div>{{ systemStore.nickname }}</div>
|
|
<svg-icon style="width: 16px; height: 16px;margin-left: 3px;" name="down" />
|
|
<svg-icon style="width: 16px; height: 16px;margin-left: 3px;" name="down" />
|
|
</div>
|
|
</div>
|
|
<div class="user-info-key-body">
|
|
<div class="user-info-key-body">
|
|
@@ -22,7 +22,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="network">
|
|
<div class="network">
|
|
<van-image width="20px" height="20px" round :src="walletStore.accountIcon"/>
|
|
<van-image width="20px" height="20px" round :src="walletStore.accountIcon"/>
|
|
- <div class="network-name">{{walletStore.accountName}}</div>
|
|
|
|
|
|
+ <div class="network-name">{{systemStore.nickname}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="amount">
|
|
<div class="amount">
|
|
@@ -187,9 +187,12 @@
|
|
import { useRouter } from 'vue-router'
|
|
import { useRouter } from 'vue-router'
|
|
import { getNetwork } from '@/api/path/login.api'
|
|
import { getNetwork } from '@/api/path/login.api'
|
|
import { useWalletStore } from "@/stores/modules/walletStore";
|
|
import { useWalletStore } from "@/stores/modules/walletStore";
|
|
|
|
+ import { useSystemStore } from "@/stores/modules/systemStore";
|
|
|
|
+
|
|
import axios from 'axios'
|
|
import axios from 'axios'
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
const walletStore = useWalletStore();
|
|
const walletStore = useWalletStore();
|
|
|
|
+ const systemStore = useSystemStore();
|
|
|
|
|
|
const isShow = ref(true);
|
|
const isShow = ref(true);
|
|
const showWallet = ref(false);
|
|
const showWallet = ref(false);
|