Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
2.5k views
in Technique[技术] by (71.8m points)

vue 2.0使用路由在切换页面动画在ios中会出现一闪的问题

图片描述

图片描述

这里是我的切换页面的动画

这是我的页面连接使用苹果手机的可以点击进取看看
http://139.199.155.229:8888/i...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

见:vue解决路由过渡动画抖动问题

例如,
<transition :name="van-slide-right">
  <router-view class="router" />
</transition>

则设置
.van-slide-right-leave-active{
  display: none;  
}

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...