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

View File

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

View File

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

View File

@ -64,12 +64,15 @@
<!-- 遮 盖 层 --> <!-- 遮 盖 层 -->
<div class="pear-cover"></div> <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-main">
<div class="loader"></div> <div class="loader"></div>
</div> </div>
<!-- 依 赖 脚 本 --> <!-- 依 赖 脚 本 -->
<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>
<!-- 框 架 初 始 化 --> <!-- 框 架 初 始 化 -->

View File

@ -38,7 +38,7 @@ layui.use(['echarts'], function() {
containLabel: true containLabel: true
}, },
legend: { legend: {
data: [ '上周', '本周'], data: ['上周', '本周'],
orient: 'horizontal', orient: 'horizontal',
icon: "rect", icon: "rect",
show: true, show: true,
@ -60,10 +60,6 @@ layui.use(['echarts'], function() {
}, },
yAxis: { yAxis: {
type: 'value', 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: { axisLabel: {
color: '#999', color: '#999',
textStyle: { textStyle: {
@ -87,19 +83,13 @@ layui.use(['echarts'], function() {
name: '上周', name: '上周',
type: 'line', type: 'line',
smooth: true, 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: '本周', name: '本周',
type: 'line', type: 'line',
smooth: true, smooth: true,
data: [1700,999,1100,899,199,99,1000] data: [1700, 999, 1100, 899, 199, 99, 1000]
} }
] ]
}; };