60 lines
1.2 KiB
HTML
60 lines
1.2 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||
|
<title>常用元素 - layui</title>
|
||
|
|
||
|
<link rel="stylesheet" href="../src/css/layui.css">
|
||
|
|
||
|
<style>
|
||
|
body{padding: 10px;}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
|
||
|
<table class="layui-table">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>名称</th>
|
||
|
<th>组合</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td style="text-align: center;">原始</td>
|
||
|
<td>class="layui-btn layui-btn-primary"</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td style="text-align: center;">默认</td>
|
||
|
<td>class="layui-btn"</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td style="text-align: center;">百搭</td>
|
||
|
<td>class="layui-btn layui-btn-normal"</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td style="text-align: center;">暖色</td>
|
||
|
<td>class="layui-btn layui-btn-warm"</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td style="text-align: center;">警告</td>
|
||
|
<td>class="layui-btn layui-btn-danger"</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td style="text-align: center;">禁用</td>
|
||
|
<td>class="layui-btn layui-btn-disabled"</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
|
||
|
<script src="../src/layui.js"></script>
|
||
|
<script>
|
||
|
|
||
|
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|