mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
更新 DefaultIndexTemplate.vue,修复头像和用户信息的绑定
This commit is contained in:
@@ -96,8 +96,8 @@ export const Config: TemplateConfig<ConfigType> = {
|
|||||||
vertical
|
vertical
|
||||||
>
|
>
|
||||||
<NAvatar
|
<NAvatar
|
||||||
v-if="biliInfo"
|
v-if="accountInfo.streamerInfo"
|
||||||
:src="biliInfo?.face"
|
:src="accountInfo.streamerInfo.faceUrl"
|
||||||
:size="width > 750 ? 175 : 100"
|
:size="width > 750 ? 175 : 100"
|
||||||
round
|
round
|
||||||
bordered
|
bordered
|
||||||
@@ -114,14 +114,14 @@ export const Config: TemplateConfig<ConfigType> = {
|
|||||||
strong
|
strong
|
||||||
style="font-size: 32px"
|
style="font-size: 32px"
|
||||||
>
|
>
|
||||||
{{ biliInfo?.name }}
|
{{ userInfo?.name }}
|
||||||
</NText>
|
</NText>
|
||||||
<NText
|
<NText
|
||||||
strong
|
strong
|
||||||
style="font-size: 20px"
|
style="font-size: 20px"
|
||||||
depth="3"
|
depth="3"
|
||||||
>
|
>
|
||||||
({{ userInfo?.name }})
|
({{ userInfo?.streamerInfo?.name }})
|
||||||
</NText>
|
</NText>
|
||||||
</NSpace>
|
</NSpace>
|
||||||
<NText
|
<NText
|
||||||
@@ -129,7 +129,7 @@ export const Config: TemplateConfig<ConfigType> = {
|
|||||||
depth="3"
|
depth="3"
|
||||||
style="font-size: medium"
|
style="font-size: medium"
|
||||||
>
|
>
|
||||||
{{ userInfo?.biliId }}
|
{{ userInfo.streamerInfo?.uId }}
|
||||||
</NText>
|
</NText>
|
||||||
<NText
|
<NText
|
||||||
strong
|
strong
|
||||||
|
|||||||
Reference in New Issue
Block a user