-
Notifications
You must be signed in to change notification settings - Fork 1
/
form-button.html
76 lines (76 loc) · 3.79 KB
/
form-button.html
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
<div class="bjui-pageContent">
<div class="pageFormContent">
<div style="margin:15px auto 0; width:800px;" >
<fieldset>
<legend>按钮</legend>
<table class="table table-condensed table-hover">
<thead>
<tr>
<th>样例</th>
<th>Class</th>
<th>属性</th>
</tr>
</thead>
<tbody>
<tr>
<td><button type="button" class="btn-default">普通按钮</button></td>
<td>btn-default</td>
<td></td>
</tr>
<tr>
<td><button type="button" class="btn-green">绿色按钮</button></td>
<td>btn-green</td>
<td></td>
</tr>
<tr>
<td><button type="button" class="btn-blue">蓝色按钮</button></td>
<td>btn-blue</td>
<td></td>
</tr>
<tr>
<td><button type="button" class="btn-red">红色按钮</button></td>
<td>btn-red</td>
<td></td>
</tr>
<tr>
<td><button type="button" class="btn-orange">橙色按钮</button></td>
<td>btn-orange</td>
<td></td>
</tr>
<tr>
<td><button type="button" class="btn-default" data-icon="home">图标按钮</button></td>
<td>btn-default</td>
<td>data-icon="home"</td>
</tr>
<tr>
<td><button type="button" class="btn-default btn-sm">小尺寸按钮</button></td>
<td>btn-default btn-sm</td>
<td></td>
</tr>
<tr>
<td><button type="button" class="btn-default btn-nm">较大尺寸按钮</button></td>
<td>btn-default btn-nm</td>
<td></td>
</tr>
<tr>
<td><button type="button" class="btn-default btn-lg">超大尺寸按钮</button></td>
<td>btn-default btn-lg</td>
<td></td>
</tr>
<tr>
<td colspan="3">
<div class="alert alert-info form-inline"><i class="fa fa-warning"></i> <strong>A链接按钮:</strong>A链接的按钮需要添加<strong>Class[btn]</strong>,方可转换成按钮形态,JS会为Button按钮自动添加Class[btn]。</div>
<div class="alert alert-warning form-inline"><i class="fa fa-warning"></i> <strong>图标说明:</strong>所用图标来自<a href="http://fortawesome.github.io/Font-Awesome/icons/" target="_blank">Font Awesome</a>,使用时仅需将fa-后面的部分放入data-icon中即可。</div>
</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
</div>
</div>
<div class="bjui-pageFooter">
<ul>
<li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
</ul>
</div>