在子页面(a)中弹出子页面(b),当回到子页面(a)时,还是显示的子页面(b)的内容,请问怎么处理
底部选项卡页面:
<nav class="mui-bar mui-bar-tab">
<a id="defaultTab" class="mui-tab-item mui-active defaultTab" href="remind.html">
<span class="mui-icon mui-icon-home"></span>
<label class="mui-tab-label">首页</label>
</a>
<a class="mui-tab-item" href="beforeSubscription.html">
<span class="mui-icon mui-icon mui-icon-person"></span>
<label class="mui-tab-label">认购前</label>
</a>
<a class="mui-tab-item" href="subscription.html">
<span class="mui-icon mui-icon-personadd"></span>
<label class="mui-tab-label">已认购</label>
</a>
<a class="mui-tab-item " href="signing.html">
<span class="mui-icon mui-icon-contact"></span>
<label class="mui-tab-label">已签约</label>
</a>
<a class="mui-tab-item " href="prospectiveowner.html">
<span class="mui-icon mui-icon-star"></span>
<label class="mui-tab-label">准业主</label>
</a>
</nav>
认购前页面:
<ul class="mui-table-view">
<li class="mui-table-view-cell">
<a href="userBaseInfo.html">
<img class="pic mui-pull-left" src="../images/contacts.jpg">
<div class="mui-media-body" style="float:left">
张三<span class="userType">[D]35%</span>
<p class='userInfo'>Tel:13876541234</p>
<p class='userInfo'>首访:2016/1/8</p>
<p class='userInfo'>意向户型:D</p>
</div>
<div style="float:right">
<img class="phone" src="../images/phone.jpg" onclick="dail()">
</div>
</a>
</li>
当选项卡切换到“认购前”显示列表页面,点击进入张三详情页面。点“已认购”可以显示“已认购”的列表,点“认购前”还是显示张三详情页面,此时应该显示“认购前”列表页面。使用plus.webview.hide()或者plus.webview.close()都不起作用。
z***@163.com
翻到这儿的时候,我一下子明白了还是自己解决吧....
2017-11-02 11:29