1
0
This commit is contained in:
syuilo
2018-02-22 17:51:08 +09:00
parent fcf77dc095
commit f2fbf7f818
5 changed files with 19 additions and 5 deletions
@@ -2,9 +2,7 @@
<div class="mk-friends-maker">
<p class="title">気になるユーザーをフォロー:</p>
<div class="users" v-if="!fetching && users.length > 0">
<template each={ users }>
<mk-user-card user={ this } />
</template>
<mk-user-card v-for="user in users" :key="user.id" :user="user"/>
</div>
<p class="empty" v-if="!fetching && users.length == 0">おすすめのユーザーは見つかりませんでした</p>
<p class="fetching" v-if="fetching">%fa:spinner .pulse .fw%読み込んでいます<mk-ellipsis/></p>
@@ -47,6 +45,9 @@ export default Vue.extend({
this.page++;
}
this.fetch();
},
close() {
this.$destroy();
}
}
});