-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
3x高清方案在 iPhone Plus 系列显示的问题 #683
Comments
antd-mobile 的高清脚本,和 https://github.com/amfe/lib-flexible/blob/afd83fad831e43d759c24fe8fe9bdd7ca6acefee/src/flexible.js#L69 这里的不太一样,比如这段 |
@warmhug 最近的项目上 正好两种方案都使用了下 |
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我参照 https://github.com/ant-design/ant-design-mobile/wiki/HD 的
设置 Viewport,在 iPhone 7 Plus 上确实实现了 0.33333 这样的比例,但是浏览器似乎是按照 2x 进行渲染的,于是出现了下面的效果:
如果scale设置为 0.5 则正常,相关的讨论可以参见:amfe/lib-flexible#32
因此应该加上这个判断:
The text was updated successfully, but these errors were encountered: