-
Notifications
You must be signed in to change notification settings - Fork 49
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
mip-shell切换页面时,需要不同的行业shell允许自定义loading样式 #51
Comments
满足这个需求目前有两种办法:
|
和 #68 一样,解决了会一并关闭 |
代码已经合入完毕了。 动画钩子函数经过重构的 mip-shell 中,会有3个处理动画的函数,子类可以关注:
switchPage 内部处理逻辑在 在介绍具体方法前,先明晰3组概念:
不需要动画时
需要动画时
参数对象 options所有这些方法的参数对象 options 格式均相同,如下:
其中 |
背景:
目前mip-shell切换时,页面入场动画都是统一的从右往左滑动入场,但是在小说这个业务中,用户进行翻页操作时,大范围的页面入场,整体交互体验较差,希望可以自定义行业shell的loading入场动画。
诉求:
希望mip-shell能够暴露出来创建loading和页面入场动画的接口,行业shell可以根据需求自行定制。
The text was updated successfully, but these errors were encountered: