From b1874d2073f6d06e5d27bb692d838a21bb51c52d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E4=BB=AA=E5=BC=8F?= <854085467@qq.com> Date: Wed, 31 Mar 2021 22:46:59 +0800 Subject: [PATCH] project file tree --- README.md | 19 +++++++++++++++++++ component/pear/css/module/message.css | 2 +- component/pear/module/message.js | 2 +- view/console/console1.html | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) 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 @@