遇见
5 years ago
2 changed files with 26 additions and 6 deletions
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
<template> |
||||
<transition><slot></slot></transition> |
||||
</template> |
||||
|
||||
<script> |
||||
export default { |
||||
name: "Fade" |
||||
}; |
||||
</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