MkNumber for data in MkUserInfo
This commit is contained in:
parent
d2a1c947a4
commit
ca5d9377a1
1 changed files with 4 additions and 3 deletions
|
@ -34,15 +34,15 @@
|
||||||
<div class="status">
|
<div class="status">
|
||||||
<div>
|
<div>
|
||||||
<p>{{ i18n.ts.notes }}</p>
|
<p>{{ i18n.ts.notes }}</p>
|
||||||
<span>{{ user.notesCount }}</span>
|
<MkNumber :value="user.notesCount"/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>{{ i18n.ts.following }}</p>
|
<p>{{ i18n.ts.following }}</p>
|
||||||
<span>{{ user.followingCount }}</span>
|
<MkNumber :value="user.followingCount"/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>{{ i18n.ts.followers }}</p>
|
<p>{{ i18n.ts.followers }}</p>
|
||||||
<span>{{ user.followersCount }}</span>
|
<MkNumber :value="user.followersCount"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<MkFollowButton
|
<MkFollowButton
|
||||||
|
@ -57,6 +57,7 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import * as misskey from "calckey-js";
|
import * as misskey from "calckey-js";
|
||||||
import MkFollowButton from "@/components/MkFollowButton.vue";
|
import MkFollowButton from "@/components/MkFollowButton.vue";
|
||||||
|
import MkNumber from "@/components/MkNumber.vue";
|
||||||
import { userPage } from "@/filters/user";
|
import { userPage } from "@/filters/user";
|
||||||
import { i18n } from "@/i18n";
|
import { i18n } from "@/i18n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue