Welcome to OStack Knowledge Sharing 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 Answer

0 votes
by (71.8m points)

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

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

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...