提交 1690c1be authored 作者: lihuihui's avatar lihuihui

update

上级 0804f1e3
...@@ -16,11 +16,7 @@ ...@@ -16,11 +16,7 @@
<p>微信公众号</p> <p>微信公众号</p>
</li> --> </li> -->
</ul> </ul>
<transition <transition name="fade">
name="custom-classes-transition"
enter-active-class="animated tada"
leave-active-class="animated bounceOutRight"
>
<div v-show="tabBtnActive" class="tab_cont"> <div v-show="tabBtnActive" class="tab_cont">
<div class="enroll_cont"> <div class="enroll_cont">
<i <i
...@@ -72,18 +68,16 @@ export default { ...@@ -72,18 +68,16 @@ export default {
this.isShowBtn = true this.isShowBtn = true
this.tabBtnActive = false this.tabBtnActive = false
} }
console.log(window.scrollY, 'eee', document.documentElement.clientHeight)
} }
}, },
methods: { methods: {
handleClose() { handleClose() {
this.tabBtnActive = !this.tabBtnActive this.tabBtnActive = false
this.isShowBtn = true this.isShowBtn = true
}, },
handleMsOver() { handleMsOver() {
this.tabBtnActive = !this.tabBtnActive this.tabBtnActive = true
this.isShowBtn = false this.isShowBtn = false
// if (type !== '') { // if (type !== '') {
// this.tabBtnTarget = type // this.tabBtnTarget = type
// } // }
...@@ -316,4 +310,12 @@ export default { ...@@ -316,4 +310,12 @@ export default {
padding: 12px 0; padding: 12px 0;
text-align: center; text-align: center;
} }
.fade-enter-active,
.fade-leave-active {
transition: all 0.25s;
transform-origin: right center;
}
.fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
transform: scale(0);
}
</style> </style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论