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

初次加载小程序时,经常会出现【页面加载了样式还未加载】的情况,导致页面样式错乱 #281

Open
auven opened this issue Jul 5, 2019 · 2 comments

Comments

@auven
Copy link

auven commented Jul 5, 2019

  • 问题现象

有没有什么办法解决这种进去页面前样式没加载出来,就会闪一下的问题,megalo 打包出来的样式都是在wxss文件中通过@import导的样式 所以在样式还没加载出来之前 界面会存在几百毫秒甚至几秒的无样式状态。

  • 版本

[email protected]@megalo/[email protected]

1562294266113078

1562294270283805

看了一下 mpvue 中也存在这样的问题,请问是否可以优化呢?

@phoenixsky
Copy link

@auven 你这个日历控件是开源的么?

@auven
Copy link
Author

auven commented Jul 17, 2019

@phoenixsky 不是呢

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

2 participants