做页面的时候我们做好pC端页面时,因编辑那边需求,在手机端页面也应该是缩小版,不能乱的。在网上找了各种解决方案,经实验,这种是可以的:

在head里边加上这两句meta

 <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="white">
 
另外有的页面在手机端只显示一半的时候,你可以试试把body的百分比宽度设置一下。

相关文章:

  • 2021-07-25
  • 2022-02-15
  • 2022-12-23
  • 2021-10-29
  • 2022-12-23
  • 2021-06-29
  • 2021-10-01
猜你喜欢
  • 2022-12-23
  • 2021-04-13
  • 2022-12-23
  • 2021-11-13
  • 2021-06-27
  • 2022-12-23
  • 2021-12-30
相关资源
相似解决方案