主页面 Index.html
<nav class="mui-bar mui-bar-tab">
<a class="mui-tab-item " href='Home/Index1.html' data-top='0px' data-bottom='51px'>
<span class="mui-icon mui-icon-home-filled"></span>
<span class="mui-tab-label">Index1</span>
</a>
<a class="mui-tab-item" href='Home/Index2.html' data-top='0px' data-bottom='0px'>
<span class="mui-icon mui-icon-bars"></span>
<span class="mui-tab-label">Index2</span>
</a>
<a class="mui-tab-item" href='Home/Index3.html' data-top='0px' data-bottom='51px'>
<span class="mui-icon mui-icon-contact-filled"></span>
<span class="mui-tab-label">Index3</span>
</a>
<a class="mui-tab-item" href='Home/Index4.html' data-top='0px' data-bottom='51px'>
<span class="mui-icon mui-icon-help-filled"></span>
<span class="mui-tab-label">Index4</span>
</a>
</nav>
子页面: Home/Index1.html Home/Index2.html Home/Index3.html Home/Index4.html
主页 Index.html 无内容,只有页脚选项卡,默认显示 Home/Index1.html ,
请注意 href='Home/Index2.html' data-top='0px' data-bottom='0px' , 每个页面打开,subpage_style 取
data-top data-bottom
现在问题来了,每次打开 Home/Index2.html , 按回退时,主页 先项卡不见了,请问大神如何破?
0 个回复