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
在项目中,发现没有使用wx.getSystemInfo这个API去获取使用机型的系统信息。 然后通过windowWidth,windowHeight和safeArea来调整小程序的布局设置。
没有通过wx.getSystemInfo的适配,在部分机型上可能会出现一些样式问题。
The text was updated successfully, but these errors were encountered:
整个布局是自适应的,应该不关心具体的 windowWidth,windowHeight。
但像底部虚拟按键、顶部刘海之类的,的确可以通过 safeArea 做更好的适配。但目前仅仅依靠厂商的默认策略来适配了。
这个 Demo 项目更多的还是关注功能与逻辑。对于样式会尽可能保持简单,所以如果不是什么影响可用性的问题,应该不会进行更详细的适配了。
Sorry, something went wrong.
好的 谢谢!
No branches or pull requests
在项目中,发现没有使用wx.getSystemInfo这个API去获取使用机型的系统信息。
然后通过windowWidth,windowHeight和safeArea来调整小程序的布局设置。
没有通过wx.getSystemInfo的适配,在部分机型上可能会出现一些样式问题。
The text was updated successfully, but these errors were encountered: