0e1dbc594b818241a4cfc006c822f62db7263484.svn-base
1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<section id="menu_section">
<header>
<nav class="left">
<a href="#" data-icon="undo" data-target="back">返回</a>
</nav>
<h1 class="title">侧边菜单栏</h1>
</header>
<article class="active" id="menu_article" data-scroll="true">
<div class="scrollWrapper">
<h1> 左侧菜单栏</h1>
<div>
<a class="button" href="#left_push_aside" data-target="menu">push</a>
<a class="button" href="#left_overlay_aside" data-target="menu">overlay</a>
<a class="button" href="#left_reveal_aside" data-target="menu">reveal</a>
<a class="button" href="#show_close_aside" data-target="menu">show close</a>
</div>
<h1> 右侧菜单栏</h1>
<div>
<a class="button" href="#right_push_aside" data-target="menu">push</a>
<a class="button" href="#right_overlay_aside" data-target="menu">overlay</a>
<a class="button" href="#right_reveal_aside" data-target="menu">reveal</a>
<a class="button" href="#custom_width_aside" data-target="menu">自定义宽度</a>
</div>
<div>
<ul class="list inset">
<li class="divider">aside上的配置</li>
<li>默认宽度为264px</li>
<li>data-position="left | right"</li>
<li>data-transition="push | overlay | reveal"</li>
<li>data-show-close="true | false"</li>
<li class="divider">push</li>
<li>侧边栏与页面同时滑动</li>
<li class="divider">overlay</li>
<li>侧边栏从页面上层划出</li>
<li class="divider">reveal</li>
<li>侧边栏在底部,页面其上方划出</li>
</ul>
</div>
</div>
</article>
</section>