develop
就眠仪式 2021-03-10 22:01:30 +08:00
parent 186db9d19e
commit 442c03d62f
5 changed files with 115 additions and 113 deletions

View File

@ -1,3 +1,9 @@
html,
body,
.layui-layout {
height: 100%;
}
.pear-admin .layui-header,
.pear-admin .layui-body,
.pear-admin .layui-logo,
@ -10,7 +16,7 @@
font-size: 20px;
}
.pear-admin .layui-layout-right .layui-nav-child{
.pear-admin .layui-layout-right .layui-nav-child {
border: 1px solid whitesmoke;
border-radius: 6px;
width: 150px;
@ -142,7 +148,7 @@
display: none;
}
.pear-admin .layui-header .layui-nav-more{
.pear-admin .layui-header .layui-nav-more {
display: none;
}
@ -165,15 +171,15 @@
color: white !important;
}
@media screen and (min-width: 768px){
@media screen and (min-width: 768px) {
.layui-hide-sm {
display: inline-block!important;
display: inline-block !important;
}
}
@media screen and (min-width: 769px){
@media screen and (min-width: 769px) {
.layui-hide-sm {
display: none!important;
display: none !important;
}
}
@ -182,14 +188,16 @@
.collaspe {
display: none !important;
}
.pear-collasped-pe {
display: inline-block !important;
}
.layui-layout-control{
left: 45px!important;
.layui-layout-control {
left: 45px !important;
}
.layui-layout-left{
.layui-layout-left {
padding-left: 10px;
padding-right: 10px;
}

View File

@ -68,9 +68,11 @@
}
body {
background-repeat:no-repeat;
background-color: whitesmoke;
background-size: 100%;
height: 100%;
}
}
.code {
float: left;

View File

@ -457,6 +457,5 @@ layui.define(['table', 'jquery', 'element', 'yaml', 'form', 'tab', 'menu', 'fram
res("返回值");
});
}
exports('admin', pearAdmin);
})

View File

@ -64,12 +64,15 @@
<!-- 遮 盖 层 -->
<div class="pear-cover"></div>
<!-- 移 动 端 便 捷 操 作 -->
<div class="pear-collasped-pe collaspe"><a href="#" class="layui-icon layui-icon-shrink-right"></a></div>
<div class="pear-collasped-pe collaspe">
<a href="#" class="layui-icon layui-icon-shrink-right"></a>
</div>
<!-- 加 载 动 画-->
<div class="loader-main">
<div class="loader"></div>
</div>
<!-- 依 赖 脚 本 -->
<script src="component/layui/layui.js"></script>
<script src="component/pear/pear.js"></script>
<!-- 框 架 初 始 化 -->

View File

@ -38,7 +38,7 @@ layui.use(['echarts'], function() {
containLabel: true
},
legend: {
data: [ '上周', '本周'],
data: ['上周', '本周'],
orient: 'horizontal',
icon: "rect",
show: true,
@ -60,10 +60,6 @@ layui.use(['echarts'], function() {
},
yAxis: {
type: 'value',
// max: max_value>=100? max_value + 100: max_value+10,
// max: max_value > 100 ? max_value * 2 : max_value + 10,
// interval: 10,
// nameLocation: "center",
axisLabel: {
color: '#999',
textStyle: {
@ -87,19 +83,13 @@ layui.use(['echarts'], function() {
name: '上周',
type: 'line',
smooth: true,
data: [1800,1000,2000,1000,500,100,1200]
data: [1800, 1000, 2000, 1000, 500, 100, 1200]
},
// {
// name: '钱包笔数',
// type: 'line',
// smooth: true,
// data: [13,54,34,344,35,53]
// },
{
name: '本周',
type: 'line',
smooth: true,
data: [1700,999,1100,899,199,99,1000]
data: [1700, 999, 1100, 899, 199, 99, 1000]
}
]
};