hbuilder的header在google浏览器中调试能正常显示,可是发布到app安装到手机后headr不显示。css
<header class="mui-bar mui-bar-nav"> <a href="index.html"><span class="mui-icon mui-icon-arrowleft" ></span></a> <h1 class="mui-title">活动</h1> </header>
解决方案html
方法1:将header标签换成div浏览器
方法2:把app.css中的如下2个样式注释掉app
.mui-plus header.mui-bar{ display: none; } .mui-plus .mui-bar-nav~.mui-content{ padding: 0; }