Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我在 jQueryMobile 中开发了一个网页。我的问题是,当我在 WebView 中从一个页面导航到另一个页面时,页面高度似乎太大了。另请注意,导航页面高度与前一页面高度大致相同。什么是问题。请帮我。
您在 jqm 页面中添加了哪些元标记?在标题中试试这个:
<meta name="viewport" content="target-densitydpi=device-dpi" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
如果您想包括缩放,请调整最小值和最大值。然后,您还必须将这些缩放功能添加到您的 web 视图中。