From 8b2bb18c71472b053c467c099eb364fa9d30c609 Mon Sep 17 00:00:00 2001 From: aqu415 Date: Sat, 12 Feb 2022 21:50:25 +0800 Subject: [PATCH] update --- static/html/list.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/static/html/list.html b/static/html/list.html index a10e85b..d2cf2ff 100644 --- a/static/html/list.html +++ b/static/html/list.html @@ -33,13 +33,22 @@ }); $(function () { - layer.msg('ppp') + //执行一个laypage实例 + laypage.render({ + elem: 'page_bar' //注意,这里的 test1 是 ID,不用加 # 号 + , count: 50 //数据总数,从服务端得到 + , limit: 20 // 每页显示的条数。 + }); })
+
+ +
+
@@ -67,5 +76,6 @@
+