我也不知道到底优化了什么

develop
Jmysy 2020-05-28 00:58:17 +08:00
parent e7395c8a24
commit bea33899be
8 changed files with 254 additions and 132 deletions

View File

@ -141,7 +141,6 @@
display: none;
}
/** 新增兼容 */
@media screen and (max-width:768px) {

View File

@ -1,28 +1,124 @@
.pear-container{margin: 10px;background-color: whitesmoke;}
.pear-container {
margin: 10px;
background-color: whitesmoke;
}
.layui-form-item{margin-bottom: 0px!important;margin-top: 5px!important;}
.layui-input{height: 34px!important;line-height: 34px!important;border-radius: 3px!important;}
.layui-form-label{width: 60px!important;padding-left: 0px!important;}
.layui-form-item {
margin-bottom: 0px !important;
margin-top: 5px !important;
}
.layui-table-tool-panel{margin-top:10px!important;}
.layui-table-tool{background-color: white!important;border-bottom: none!important;padding-bottom: 10px!important;}
.layui-table-header, .layui-table-header th{background-color: white!important;}
.layui-table-view{border: none!important;}
.layui-table-cell{height: 34px!important;line-height: 34px!important;}
.layui-laypage .layui-laypage-curr .layui-laypage-em{border-radius: 50px!important;background-color: #5FB878!important;}
.layui-laypage-limits, .layui-laypage-skip{display: none!important;}
.layui-table tr{height: 34px!important;line-height: 34px!important;}
.layui-table-cell{padding-top: 1px!important;}
.layui-table-box *{font-size: 13px!important;}
.layui-table-box button{font-size: 15px!important;}
.layui-table-page{height: 45px!important;padding-top: 10px!important;}
.layui-table-tool .layui-inline{border-radius: 3px!important;width: 30px!important;height: 30px!important;line-height: 20px!important;}
.layui-table-view .layui-table[lay-skin=line]{border: none!important;}
.layui-input {
height: 34px !important;
line-height: 34px !important;
border-radius: 3px !important;
}
.layui-form-label {
width: 60px !important;
padding-left: 0px !important;
}
.layui-table-tool-panel {
margin-top: 10px !important;
}
.layui-table-tool {
background-color: white !important;
border-bottom: none !important;
padding-bottom: 10px !important;
}
.layui-table-header,
.layui-table-header th {
background-color: white !important;
}
.layui-table-view {
border: none !important;
}
.layui-table-cell {
height: 34px !important;
line-height: 34px !important;
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {
border-radius: 50px !important;
background-color: #5FB878 !important;
}
.layui-laypage-limits,
.layui-laypage-skip {
display: none !important;
}
.layui-table tr {
height: 34px !important;
line-height: 34px !important;
}
.layui-table-cell {
padding-top: 1px !important;
}
.layui-table-box * {
font-size: 13px !important;
}
.layui-table-box button {
font-size: 15px !important;
}
.layui-table-page {
height: 45px !important;
padding-top: 10px !important;
}
.layui-table-tool .layui-inline {
border-radius: 3px !important;
width: 30px !important;
height: 30px !important;
line-height: 20px !important;
}
.layui-table-view .layui-table[lay-skin=line] {
border: none !important;
}
.layui-elem-quote {
border-left: 5px solid #5FB878 !important;
}
body::-webkit-scrollbar {
width: 0px;
height: 0px;
}
body::-webkit-scrollbar {
width: 6px;
height: 6px;
}
body::-webkit-scrollbar-track {
background: white;
border-radius: 2px;
}
body::-webkit-scrollbar-thumb {
background: #E6E6E6;
border-radius: 2px;
}
body::-webkit-scrollbar-thumb:hover {
background: #E6E6E6;
}
body::-webkit-scrollbar-corner {
background: #f6f6f6;
}
.pear-btn {
display: inline-block;
@ -156,11 +252,28 @@
}
/** 滚动条样式 */
::-webkit-scrollbar{width:4px;height:4px;}
::-webkit-scrollbar-track{background: white;border-radius:2px;}
::-webkit-scrollbar-thumb{background: #E6E6E6;border-radius:2px;}
::-webkit-scrollbar-thumb:hover{background: #E6E6E6;}
::-webkit-scrollbar-corner{background: #f6f6f6;}
::-webkit-scrollbar {
width: 4px;
height: 4px;
}
::-webkit-scrollbar-track {
background: white;
border-radius: 2px;
}
::-webkit-scrollbar-thumb {
background: #E6E6E6;
border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
background: #E6E6E6;
}
::-webkit-scrollbar-corner {
background: #f6f6f6;
}
.mainBox {
@ -171,6 +284,7 @@
bottom: 50px;
overflow: auto;
}
.bottom {
width: 100%;
position: absolute;
@ -181,10 +295,12 @@
background-color: #F8F8F8;
border-top: 1px solid #eee;
}
.button-container {
position: absolute;
right: 15px;
}
.main-container {
margin: 15px;
}

View File

@ -6,6 +6,7 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="../../admin/css/pearCommon.css" rel="stylesheet" />
<link rel="stylesheet" href="../../component/layui/css/layui.css" media="all">
<style>
.top-panel {

View File

@ -6,6 +6,7 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../../admin/css/pearCommon.css" />
<link rel="stylesheet" href="../../component/layui/css/layui.css" media="all">
<link rel="stylesheet" href="../../admin/css/pearButton.css" />
<style>
@ -24,6 +25,11 @@
margin-bottom: 3px;
}
.pear-card:hover,.pear-card2:hover{
box-shadow: 2px 0 5px rgba(0, 21, 41, .35);
}
.pear-card2 {
width: 100%;
height: 90px;

View File

@ -138,7 +138,7 @@
title: '授权',
shade: 0.1,
area: ['320px', '400px'],
content: MODULE_PATH + 'power?roleId='+obj.data["roleId"]
content: MODULE_PATH + 'edit.html'
});
}