diff --git a/README.md b/README.md index 61c8733..e4b66aa 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,25 @@
+#### 项目结构 + +``` +Pear Admin Layui +│ +├─admin 资源 +│ +├─component 组件 +│ +├─config 配置 +│ +├─view 视图 +│ +├─index.html 入口 +│ +└─login.html 登录 + +``` + #### 开源地址diff --git a/component/pear/css/module/message.css b/component/pear/css/module/message.css index 937ed5a..eefe70e 100644 --- a/component/pear/css/module/message.css +++ b/component/pear/css/module/message.css @@ -1,6 +1,6 @@ .pear-notice .layui-this { color: #5FB878 !important; - font-weight: 600; + font-weight: 500; } .pear-notice li { diff --git a/component/pear/module/message.js b/component/pear/module/message.js index 7852950..c1650a5 100644 --- a/component/pear/module/message.js +++ b/component/pear/module/message.js @@ -22,6 +22,7 @@ layui.define(['table', 'jquery', 'element'], function(exports) { var notice = createHtml(option); $(option.elem).html(notice); } + element.init(); return new message(option); } @@ -36,7 +37,6 @@ layui.define(['table', 'jquery', 'element'], function(exports) { }) } - /** 同 步 请 求 获 取 数 据 */ function getData(url) { $.ajaxSettings.async = false; diff --git a/view/console/console1.html b/view/console/console1.html index c6df7cd..66c5092 100644 --- a/view/console/console1.html +++ b/view/console/console1.html @@ -247,7 +247,7 @@