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