wip
This commit is contained in:
parent
38a1d6693a
commit
563733a76b
|
@ -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%;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue