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

双击浏览器上的背景图时,图片会向上拉伸,可以禁用双击事件吗? #33

Open
jackwei opened this issue Dec 12, 2014 · 5 comments

Comments

@jackwei
Copy link

jackwei commented Dec 12, 2014

双击浏览器上的背景图时,图片会向上拉伸,可以禁用双击事件吗?

@jackwei
Copy link
Author

jackwei commented Dec 12, 2014

只有在苹果手机上有这种情况。。。

@marlonfan
Copy link

@jackwei 这个好像不属于weixin api的问题吧 你说的是不是自动放大?这里需要加一条meta

<meta name="viewport" content="width=640, minimum-scale=.5, maximum-scale=2, user-scalable="no">

@jackwei
Copy link
Author

jackwei commented Dec 12, 2014

已经加了 meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" 但是不起作用,谢谢 @marlonfan

@marlonfan
Copy link

@jackwei 用我的 meta name="viewport" content="target-densitydpi=320,width=640,user-scalable=no"

@renaesop
Copy link

javascript:void(0)

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

3 participants