wip
This commit is contained in:
parent
79698314ad
commit
62d16db008
5 changed files with 25 additions and 16 deletions
|
@ -3,20 +3,20 @@
|
|||
<p class="title">気になるユーザーをフォロー:</p>
|
||||
<div class="users" v-if="!fetching && users.length > 0">
|
||||
<div class="user" v-for="user in users" :key="user.id">
|
||||
<a class="avatar-anchor" :href="`/${user.username}`">
|
||||
<router-link class="avatar-anchor" :to="`/${user.username}`">
|
||||
<img class="avatar" :src="`${user.avatar_url}?thumbnail&size=42`" alt="" v-user-preview="user.id"/>
|
||||
</a>
|
||||
</router-link>
|
||||
<div class="body">
|
||||
<a class="name" :href="`/${user.username}`" target="_blank" v-user-preview="user.id">{{ user.name }}</a>
|
||||
<router-link class="name" :to="`/${user.username}`" v-user-preview="user.id">{{ user.name }}</router-link>
|
||||
<p class="username">@{{ user.username }}</p>
|
||||
</div>
|
||||
<mk-follow-button user="user"/>
|
||||
<mk-follow-button :user="user"/>
|
||||
</div>
|
||||
</div>
|
||||
<p class="empty" v-if="!fetching && users.length == 0">おすすめのユーザーは見つかりませんでした。</p>
|
||||
<p class="fetching" v-if="fetching">%fa:spinner .pulse .fw%読み込んでいます<mk-ellipsis/></p>
|
||||
<a class="refresh" @click="refresh">もっと見る</a>
|
||||
<button class="close" @click="$destroy" title="閉じる">%fa:times%</button>
|
||||
<button class="close" @click="$destroy()" title="閉じる">%fa:times%</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue