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; }