This commit is contained in:
aqu415
2022-02-12 21:50:25 +08:00
parent b70416b5d8
commit 8b2bb18c71
+11 -1
View File
@@ -33,13 +33,22 @@
}); });
$(function () { $(function () {
layer.msg('ppp') //执行一个laypage实例
laypage.render({
elem: 'page_bar' //注意,这里的 test1 是 ID,不用加 # 号
, count: 50 //数据总数,从服务端得到
, limit: 20 // 每页显示的条数。
});
}) })
</script> </script>
</head> </head>
<body> <body>
<div style="margin-top: 5px;"> <div style="margin-top: 5px;">
<div class="layui-input-inline">
<input type="password" name="password" required lay-verify="required" placeholder="请输入思维导图名称" autocomplete="off" class="layui-input">
</div>
<button type="button" class="layui-btn">创建导图</button> <button type="button" class="layui-btn">创建导图</button>
<button type="button" class="layui-btn">搜索</button>
</div> </div>
<table class="layui-table"> <table class="layui-table">
<colgroup> <colgroup>
@@ -67,5 +76,6 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div id="page_bar"></div>
</body> </body>
</html> </html>