feat: add transition animation

This commit is contained in:
jiangruowei
2017-03-30 17:40:08 +08:00
parent b2886f8856
commit abbb41083e
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<transition name="zan-toast">
<transition name="zan-toast-fade">
<div class="zan-toast-wrapper" v-show="visible">
<div class="zan-toast" :class="['zan-toast--' + displayStyle]">
<!-- 只显示文字 -->