Skip to content

Commit

Permalink
调整hello mui列表结构,将segment(分段选择)移到tab bar二级目录下
Browse files Browse the repository at this point in the history
  • Loading branch information
hbcui1984 committed Aug 31, 2015
1 parent 3901e0c commit 3e60b07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ <h1 class="mui-title">侧面选项卡-div模式</h1>
//默认选中第一个
controls.querySelector('.mui-control-item').classList.add('mui-active');
contents.querySelector('.mui-control-content').classList.add('mui-active');
window.addEventListener('tap', function(e) {
console.log(document.location.hash);
})
</script>

</body>
Expand Down
5 changes: 5 additions & 0 deletions examples/hello-mui/examples/tabbar-with-submenus.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ <h1 class="mui-title">底部选项卡-二级菜单(div)</h1>
<a class="mui-tab-item" href="#Popover_1">方案</a>
<a class="mui-tab-item" href="#Popover_2">新闻</a>
</nav>
<div class="mui-content">
<div class="mui-content-padded">
<p style="text-indent: 22px;">这是包含二级菜单的底部选项卡示例,点击底部菜单,会展开显示对应的二级菜单。</p>
</div>
</div>
<div id="Popover_0" class="mui-popover mui-bar-popover">
<div class="mui-popover-arrow"></div>
<ul class="mui-table-view">
Expand Down
19 changes: 1 addition & 18 deletions examples/hello-mui/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,23 +296,6 @@
range(滑块)
</a>
</li>
<li class="mui-table-view-cell mui-collapse">
<a class="mui-navigate-right" href="#">
segment(分段选择)
</a>
<ul class="mui-table-view mui-table-view-chevron">
<li class="mui-table-view-cell">
<a class="mui-navigate-right" href="examples/tab-with-segmented-control.html">
按钮式选项卡
</a>
</li>
<li class="mui-table-view-cell">
<a class="mui-navigate-right" href="examples/tab-with-viewpagerindicator.html">
可拖动选项卡(仿Android)
</a>
</li>
</ul>
</li>
<li class="mui-table-view-cell">
<a class="mui-navigate-right" href="examples/switches.html">
switch(开关)
Expand Down Expand Up @@ -580,7 +563,7 @@
}
});
} else if (id && ~id.indexOf('.html')) {
if (!~id.indexOf('popovers.html')&&!~id.indexOf('tab-with-viewpagerindicator.html')&&mui.os.ios) {
if (!~id.indexOf('popovers.html')&&mui.os.ios) {
mui.openWindow({
id: id,
url: this.href,
Expand Down

0 comments on commit 3e60b07

Please sign in to comment.