This commit is contained in:
mappi-pr 2023-05-24 16:21:36 +09:00
parent 38a1d6693a
commit 563733a76b

View file

@ -102,14 +102,26 @@
<b>{{ number(user.notesCount) }}</b>
<span>{{ i18n.ts.notes }}</span>
</MkA>
<MkA v-click-anime :to="userPage(user, 'following')">
<b>{{ number(user.followingCount) }}</b>
<span>{{ i18n.ts.following }}</span>
</MkA>
<MkA v-click-anime :to="userPage(user, 'followers')">
<b>{{ number(user.followersCount) }}</b>
<span>{{ i18n.ts.followers }}</span>
</MkA>
<template v-if="user.ffVisibility == 'private'">
<div>
<b>{{ i18n.ts._ffVisibility.private }}</b>
<span>{{ i18n.ts.following }}</span>
</div>
<div>
<b>{{ i18n.ts._ffVisibility.private }}</b>
<span>{{ i18n.ts.followers }}</span>
</div>
</template>
<template v-else>
<MkA v-click-anime :to="userPage(user, 'following')">
<b>{{ number(user.followingCount) }}</b>
<span>{{ i18n.ts.following }}</span>
</MkA>
<MkA v-click-anime :to="userPage(user, 'followers')">
<b>{{ number(user.followersCount) }}</b>
<span>{{ i18n.ts.followers }}</span>
</MkA>
</template>
</div>
</div>
</div>
@ -551,6 +563,20 @@ onUnmounted(() => {
font-size: 70%;
}
}
>div {
flex: 1;
text-align: center;
> b {
display: block;
line-height: 16px;
}
> span {
font-size: 70%;
}
}
}
}
}