Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地打包后,weex下跳转没有转场动画 #5

Open
zj1024 opened this issue Mar 7, 2020 · 3 comments
Open

本地打包后,weex下跳转没有转场动画 #5

zj1024 opened this issue Mar 7, 2020 · 3 comments

Comments

@zj1024
Copy link

zj1024 commented Mar 7, 2020

weex环境

通过readme里的demo扫码weex运行,有转场动画,本地运行没有。

clone到本地,打包后weex只有一个js文件,初步判断为weex下要通过跳转不同链接才会有转场动画,而本地扫码的只有一个链接

怎么样在weex下有转场动画呢?

Sent from PPHub

@ChrisCindy
Copy link
Contributor

@yacheng

@yacheng
Copy link

yacheng commented Mar 8, 2020

go-rax 项目中 weex 链路默认是没有做转场动画能力的,可以使用 universal-navigate 包借助 weex 的 navigator api 实现转场。

@zj1024
Copy link
Author

zj1024 commented Mar 8, 2020

go-rax 项目中 weex 链路默认是没有做转场动画能力的,可以使用 universal-navigate 包借助 weex 的 navigator api 实现转场。

使用 universal-navigate 包跳转是在多页面基础上的,使用rax官网的build-plugin-rax-app套件,打包后只有一个index.weex.js,没有多页面的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants