/* 渐变 */ .fade-enter-active, .fade-leave-active { transition: opacity 0.2s ease-in-out; } .fade-enter, .fade-leave-to { opacity: 0; }