Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
test.html 1.26 KB
Copy Edit Web IDE Raw Blame History
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="./plugins/layui/css/layui.css" media="all">
<table class="layui-table" lay-data="{height:315, url:'table.json', page:true, id:'test',height: 'full-25'}" lay-filter="test" id="test">
<th lay-data="{field:'id', width:80, sort: true}">ID</th>
<th lay-data="{field:'username', width:80}">用户名</th>
<th lay-data="{field:'sex', width:80, sort: true}">性别</th>
<th lay-data="{field:'city', width:80}">城市</th>
<th lay-data="{field:'sign', width:177}">签名</th>
<th lay-data="{field:'experience', width:80, sort: true}">积分</th>
<th lay-data="{field:'score', width:80, sort: true}">评分</th>
<th lay-data="{field:'classify', width:80}">职业</th>
<th lay-data="{field:'wealth', width:135, sort: true}">财富</th>
<script src="./plugins/layui/layui.js"></script>
layui.use('table', function() {
var table = layui.table;

Comment ( 0 )

Sign in for post a comment