project file tree

develop
就眠仪式 2021-03-31 22:46:59 +08:00
parent dbc9ef3407
commit b1874d2073
4 changed files with 22 additions and 3 deletions

View File

@ -44,6 +44,25 @@
</p>
#### 项目结构
```
Pear Admin Layui
├─admin 资源
├─component 组件
├─config 配置
├─view 视图
├─index.html 入口
└─login.html 登录
```
#### 开源地址
<p style="padding:10px;" width="90%">

View File

@ -1,6 +1,6 @@
.pear-notice .layui-this {
color: #5FB878 !important;
font-weight: 600;
font-weight: 500;
}
.pear-notice li {

View File

@ -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;

View File

@ -247,7 +247,7 @@
<script src="../../component/layui/layui.js"></script>
<script src="../../component/pear/pear.js"></script>
<script>
layui.use(['layer', 'echarts', 'element', 'count','topBar'], function() {
layui.use(['layer', 'echarts', 'element', 'count'], function() {
var $ = layui.jquery,
layer = layui.layer,
element = layui.element,