Repository navigation
Expand file tree
/
Copy pathbar.html
More file actions
246 lines (216 loc) · 6.89 KB
/
Copy pathbar.html
File metadata and controls
246 lines (216 loc) · 6.89 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<article class="component active" id="bars">
<h2 class="component-title">标题栏</h2>
<p class="component-description">标题栏放在页面顶部</p>
<div class="component-example component-example-fullbleed">
<header class="bar bar-nav">
<h1 class="title">标题</h1>
</header>
</div>
{% highlight html %}
<header class="bar bar-nav">
<h1 class="title">标题</h1>
</header>
{% endhighlight %}
</article>
<article class="component">
<h3 class="component-title">带按钮的标题栏</h3>
<div class="component-example component-example-fullbleed">
<header class="bar bar-nav">
<button class="button pull-left">
Left
</button>
<button class="button pull-right">
Right
</button>
<h1 class="title">Title</h1>
</header>
</div>
{% highlight html %}
<header class="bar bar-nav">
<button class="button pull-left">
按钮
</button>
<button class="button pull-right">
按钮
</button>
<h1 class="title">标题</h1>
</header>
{% endhighlight %}
</article>
<article class="component">
<h3 class="component-title">带图标的标题栏</h3>
<div class="component-example component-example-fullbleed">
<header class="bar bar-nav">
<a class="icon icon-left pull-left"></a>
<a class="icon icon-refresh pull-right"></a>
<h1 class="title">标题</h1>
</header>
</div>
{% highlight html %}
<header class="bar bar-nav">
<a class="icon icon-left pull-left"></a>
<a class="icon icon-refresh pull-right"></a>
<h1 class="title">标题</h1>
</header>
{% endhighlight %}
</article>
<article class="component">
<h3 class="component-title">带链接和图标</h3>
<div class="component-example component-example-fullbleed">
<header class="bar bar-nav">
<button class="button button-link button-nav pull-left">
<span class="icon icon-left"></span>
返回
</button>
<button class="button button-link button-nav pull-right">
下一步
<span class="icon icon-right"></span>
</button>
<h1 class="title">标题</h1>
</header>
</div>
{% highlight html %}
<header class="bar bar-nav">
<button class="button button-link button-nav pull-left">
<span class="icon icon-left"></span>
返回
</button>
<button class="button button-link button-nav pull-right">
下一步
<span class="icon icon-right"></span>
</button>
<h1 class="title">标题</h1>
</header>
{% endhighlight %}
</article>
<article class="component">
<h3 class="component-title">带标签页</h3>
<div class="component-example component-example-fullbleed">
<header class="bar bar-nav">
<button class="button pull-left">
Left
</button>
<button class="button pull-right">
Right
</button>
<div class="buttons-row">
<a href="#tab1" class="tab-link active button">Tab 1</a>
<a href="#tab2" class="tab-link button">Tab 2</a>
<a href="#tab3" class="tab-link button">Tab 3</a>
</div>
</header>
</div>
{% highlight html %}
<header class="bar bar-nav">
<button class="button pull-left">
Left
</button>
<button class="button pull-right">
Right
</button>
<div class="buttons-row">
<a href="#tab1" class="tab-link active button">Tab 1</a>
<a href="#tab2" class="tab-link button">Tab 2</a>
<a href="#tab3" class="tab-link button">Tab 3</a>
</div>
</header>
{% endhighlight %}
</article>
<article class="component" id='toolbar'>
<h2 class="component-title">工具栏</h2>
<div class="component-example component-example-fullbleed">
</div>
{% highlight html %}
<nav class="bar bar-tab">
<a class="tab-item external active" href="#">
<span class="icon icon-home"></span>
<span class="tab-label">文案</span>
</a>
<a class="tab-item external" href="#">
<span class="icon icon-me"></span>
<span class="tab-label">文案</span>
<span class="badge">2</span>
</a>
<a class="tab-item external" href="#">
<span class="icon icon-star"></span>
<span class="tab-label">文案</span>
</a>
<a class="tab-item external" href="#">
<span class="icon icon-cart"></span>
<span class="tab-label">文案</span>
</a>
<a class="tab-item external" href="#">
<span class="icon icon-settings"></span>
<span class="tab-label">文案</span>
</a>
</nav>
{% endhighlight %}
</article>
<article class="component">
<h3 class="component-title">工具栏 (只有文案)</h3>
<div class="component-example component-example-fullbleed">
<nav class="bar bar-tab">
<a class="tab-item external active" href="#">
文案
</a>
<a class="tab-item external" href="#">
文案
</a>
<a class="tab-item external" href="#">
文案
</a>
</nav>
</div>
{% highlight html %}
<nav class="bar bar-tab">
<a class="tab-item external active" href="#">
文案
</a>
<a class="tab-item external" href="#">
文案
</a>
<a class="tab-item external" href="#">
文案
</a>
</nav>
{% endhighlight %}
</article>
<article class="component">
<h3 class="component-title">二级标题栏</h3>
<div class="component-example component-example-fullbleed">
<nav class="bar bar-nav bar-standard">
<h1 class="title">多级标题栏和工具栏</h1>
</nav>
<!-- Block button in standard bar fixed below top bar -->
<div class="bar bar-header-secondary">
<button class="button button-block">Block level button</button>
</div>
<!-- Block button in standard bar fixed above the footer -->
<div class="bar bar-footer-secondary">
<button class="button button-block">Block level button</button>
</div>
<!-- Icons in standard bar fixed to the bottom of the screen -->
<div class="bar bar-footer">
<a class="icon icon-edit pull-left"></a>
<a class="icon icon-settings pull-right"></a>
</div>
</div>
{% highlight html %}
<nav class="bar bar-nav bar-standard">
<h1 class="title">多级标题栏和工具栏</h1>
</nav>
<!-- Block button in standard bar fixed below top bar -->
<div class="bar bar-header-secondary">
<button class="button button-block">Block level button</button>
</div>
<!-- Block button in standard bar fixed above the footer -->
<div class="bar bar-footer-secondary">
<button class="button button-block">Block level button</button>
</div>
<!-- Icons in standard bar fixed to the bottom of the screen -->
<div class="bar bar-footer">
<a class="icon icon-edit pull-left"></a>
<a class="icon icon-settings pull-right"></a>
</div>
{% endhighlight %}
</article>