diff --git a/Pear Admin v 2.0/index.html b/Pear Admin v 2.0/index.html index 9502442..a63d48e 100644 --- a/Pear Admin v 2.0/index.html +++ b/Pear Admin v 2.0/index.html @@ -4,14 +4,14 @@ - + - + @@ -71,32 +71,35 @@ var config = { keepLoad: 1200, // 主 页 加 载 过 度 时 长 可为 false - muiltTab: true , // 是 否 开 启 多 标 签 页 true 开启 false 关闭 + muiltTab: true, // 是 否 开 启 多 标 签 页 true 开启 false 关闭 control: false, // 是 否 开 启 多 系 统 菜 单 true 开启 false 关闭 theme: "dark-theme", // 默 认 主 题 样 式 dark-theme 默认主题 light-theme 亮主题 index: 'view/console/console1.html', // 默 认 加 载 主 页 data: 'admin/data/menu.json', // 菜 单 数 据 加 载 地 址 }; - - pearAdmin.render(config); - - /** - * 消 息 初 始 化 - * */ - pearNotice.render({ + + var option = { elem: 'headerNotice', url: 'admin/data/notice.json', height: '200px', click: function(id, title) { layer.msg("当前监听消息" + id + "消息标题:" + title); } + } + + pearAdmin.render(config); + + pearNotice.render(option); + + $("body").on("click", ".pearson", function() { + pearTab.addTabOnlyByElem("content", { + id: 111, + title: "个人信息", + url: "view/system/person.html", + close: true + }) }) - - $("body").on("click",".pearson",function(){ - pearTab.addTabOnlyByElem("content" - ,{id:111,title:"个人信息",url:"view/system/person.html",close:true}) - }) - + }) diff --git a/Pear Admin v 2.0/view/console/console1.html b/Pear Admin v 2.0/view/console/console1.html index 0584e9d..71685ff 100644 --- a/Pear Admin v 2.0/view/console/console1.html +++ b/Pear Admin v 2.0/view/console/console1.html @@ -9,143 +9,31 @@ diff --git a/Pear Admin v 2.0/view/console/console2.html b/Pear Admin v 2.0/view/console/console2.html index 618059d..a8453bc 100644 --- a/Pear Admin v 2.0/view/console/console2.html +++ b/Pear Admin v 2.0/view/console/console2.html @@ -10,120 +10,24 @@