optimize layout

This commit is contained in:
2025-03-22 03:27:08 +08:00
parent 543a2c0ae8
commit b96d10cb62
10 changed files with 65 additions and 57 deletions

View File

@@ -273,10 +273,10 @@ onMounted(async () => {
style="height: 100%"
>
<Transition>
<div v-if="biliUserInfo" style="margin-top: 8px">
<div v-if="accountInfo.streamerInfo" style="margin-top: 8px">
<NSpace vertical justify="center" align="center">
<NAvatar
:src="biliUserInfo.face"
:src="accountInfo.streamerInfo.faceUrl"
:img-props="{ referrerpolicy: 'no-referrer' }"
round
bordered
@@ -286,7 +286,7 @@ onMounted(async () => {
/>
<NEllipsis v-if="width > 100" style="max-width: 100%">
<NText strong>
{{ biliUserInfo.name }}
{{ accountInfo.streamerInfo.name }}
</NText>
</NEllipsis>
</NSpace>