We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
//这段动画组织的代码 我不知道外层怎么输入动画配置信息。。? configureScene(route) { if (route.query) { if (route.query.anim === 'floatFromBottom') { return Platform.OS === 'android' ? Navigator.SceneConfigs.FloatFromBottomAndroid : Navigator.SceneConfigs.FloatFromBottom; } if (Platform.OS === 'ios' && route.query.anim === 'floatFromLeft') { return Navigator.SceneConfigs.FloatFromLeft; } if (Platform.OS === 'ios' && route.query.anim === 'floatFromRight') { return Navigator.SceneConfigs.FloatFromRight; } if (Platform.OS === 'ios' && route.query.anim === 'pushFromRight') { return Navigator.SceneConfigs.PushFromRight; } } return Platform.OS === 'android' ? Navigator.SceneConfigs.FloatFromBottomAndroid : Navigator.SceneConfigs.FloatFromRight; }
The text was updated successfully, but these errors were encountered:
URL例如 /login,指定动画方式可以写作/login?anim=floatFromBottom,利用react-router进行参数传递的。
/login
/login?anim=floatFromBottom
Sorry, something went wrong.
哦哦 ok 谢啦
No branches or pull requests
The text was updated successfully, but these errors were encountered: