<script src="../vue.js"></script>
<title>Document</title><style> .fade-enter{ opacity: 1; } .fade-enter-active{ transition: opacity 3s; }</style>
</head>
<body>
<div id="app"> <transition name='fade'> <div v-show='show'>hello world</div> </transition> <button @click='handclick'>change</button> </div>transition的过渡效果不起作用啊,为什么??
萧十郎
lfeish
相关分类