init
This commit is contained in:
18
src/common/fade/FadeAnimation.vue
Normal file
18
src/common/fade/FadeAnimation.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<transition>
|
||||
<slot></slot>
|
||||
</transition>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'FadeAnimation'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
.v-enter, .v-leave-to
|
||||
opacity: 0
|
||||
.v-enter-active, .v-leave-active
|
||||
transition: opacity .5s
|
||||
</style>
|
||||
Reference in New Issue
Block a user