1:在【manifest.json】文件中,在【plus-->distribute--> apple】下加上【 "UIReserveStatusbarOffset":false】,在【google】下加上【"ImmersedStatusbar":true】

2:配置完之后在引入的样式css中加上

.mui-ios header{

padding-top: 8px !important;

}

.mui-android header{

padding-top: 10px !important;

}

3:安卓版本可以,但是ios版本中,一旦又form表单带有input元素,将会导致标题栏上的标题向上移动,破坏样式,解决办法是在表单外层,div=mui-content里面在加上一层

<div class="mui-content" style="margin-top: 45px; padding: 0px;">

<div class="mui-content-padded" style="margin: 5px; ">

其他

</div></div>

相关文章:

  • 2022-12-23
  • 2021-05-31
  • 2021-08-24
  • 2022-02-01
  • 2021-11-23
  • 2021-12-13
  • 2022-02-07
  • 2022-02-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案