project file tree
parent
dbc9ef3407
commit
b1874d2073
19
README.md
19
README.md
|
|
@ -44,6 +44,25 @@
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
#### 项目结构
|
||||||
|
|
||||||
|
```
|
||||||
|
Pear Admin Layui
|
||||||
|
│
|
||||||
|
├─admin 资源
|
||||||
|
│
|
||||||
|
├─component 组件
|
||||||
|
│
|
||||||
|
├─config 配置
|
||||||
|
│
|
||||||
|
├─view 视图
|
||||||
|
│
|
||||||
|
├─index.html 入口
|
||||||
|
│
|
||||||
|
└─login.html 登录
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
#### 开源地址
|
#### 开源地址
|
||||||
|
|
||||||
<p style="padding:10px;" width="90%">
|
<p style="padding:10px;" width="90%">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.pear-notice .layui-this {
|
.pear-notice .layui-this {
|
||||||
color: #5FB878 !important;
|
color: #5FB878 !important;
|
||||||
font-weight: 600;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pear-notice li {
|
.pear-notice li {
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
|
||||||
var notice = createHtml(option);
|
var notice = createHtml(option);
|
||||||
$(option.elem).html(notice);
|
$(option.elem).html(notice);
|
||||||
}
|
}
|
||||||
|
element.init();
|
||||||
return new message(option);
|
return new message(option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -36,7 +37,6 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** 同 步 请 求 获 取 数 据 */
|
/** 同 步 请 求 获 取 数 据 */
|
||||||
function getData(url) {
|
function getData(url) {
|
||||||
$.ajaxSettings.async = false;
|
$.ajaxSettings.async = false;
|
||||||
|
|
|
||||||
|
|
@ -247,7 +247,7 @@
|
||||||
<script src="../../component/layui/layui.js"></script>
|
<script src="../../component/layui/layui.js"></script>
|
||||||
<script src="../../component/pear/pear.js"></script>
|
<script src="../../component/pear/pear.js"></script>
|
||||||
<script>
|
<script>
|
||||||
layui.use(['layer', 'echarts', 'element', 'count','topBar'], function() {
|
layui.use(['layer', 'echarts', 'element', 'count'], function() {
|
||||||
var $ = layui.jquery,
|
var $ = layui.jquery,
|
||||||
layer = layui.layer,
|
layer = layui.layer,
|
||||||
element = layui.element,
|
element = layui.element,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue