src/components/panel/LegendPanel.vue
@@ -4,7 +4,7 @@ <i class="el-icon-more-outline"></i> <span>图例</span> </div> <transition name="fade"> <`transition` name="fade"> <div class="legend-content" v-show="legendControl"> <div class="legend-content-box" v-for="(item,index) in legendContents" :key="index"> <p>{{ item.title }}</p> @@ -258,8 +258,8 @@ } .fade-leave-active { transform-origin: right; animation: bounce-in 1s reverse; //transform-origin: right; //animation: bounce-in 1s reverse; transform-origin: right bottom; animation: bounce-in .5s reverse; }