diff --git a/component/pear/css/pear-module/table.css b/component/pear/css/pear-module/table.css new file mode 100644 index 0000000..e69de29 diff --git a/component/pear/css/pear.css b/component/pear/css/pear.css index a85f6cc..5081c8f 100644 --- a/component/pear/css/pear.css +++ b/component/pear/css/pear.css @@ -11,3 +11,4 @@ @import url("pear-module/tab.css"); @import url("pear-module/code.css"); @import url("pear-module/link.css"); +@import url("pear-module/table.css"); diff --git a/index.html b/index.html index 8682ed3..5b269fa 100644 --- a/index.html +++ b/index.html @@ -77,6 +77,7 @@ logoTitle: "Pear Admin", // 网站标题 logoImage: "admin/images/logo.png" // 网站Logo }; + admin.render(config); }) diff --git a/view/document/drawer.html b/view/document/drawer.html index a05f2c3..a9fc43a 100644 --- a/view/document/drawer.html +++ b/view/document/drawer.html @@ -11,14 +11,78 @@
-+ + 并 + ++
+ layui.use(['element', 'jquery', 'drawer', 'layer','code'], function() {
+ var drawer = layui.drawer;
+
+ drawer.open({
+ direction: "right",
+ dom: ".layer-open-mask",
+ distance: "30%",
+ maskClose: true
+ });
+
+ })
+
+