[Client] Add some animations 🎨

This commit is contained in:
syuilo 2018-12-16 11:32:20 +09:00
parent a70070ac7d
commit d18ee12d2f
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
7 changed files with 67 additions and 40 deletions

View file

@ -1,9 +1,11 @@
<template>
<mk-ui>
<main v-if="!fetching">
<template v-for="favorite in favorites">
<mk-note-detail class="post" :note="favorite.note" :key="favorite.note.id"/>
</template>
<sequential-entrance animation="entranceFromTop" delay="25">
<template v-for="favorite in favorites">
<mk-note-detail class="post" :note="favorite.note" :key="favorite.note.id"/>
</template>
</sequential-entrance>
<div class="more" v-if="existMore">
<ui-button inline @click="more">{{ $t('@.load-more') }}</ui-button>
</div>
@ -75,7 +77,7 @@ main
padding 16px
max-width 700px
> .post
> * > .post
margin-bottom 16px
> .more