layui升级并兼容2.8.0

This commit is contained in:
2023-04-24 17:15:55 +08:00
parent 5460310933
commit 1aadf727ae
29 changed files with 670 additions and 866 deletions

View File

@@ -27,7 +27,7 @@
};
</script>
<script src="__STATIC__/common/js/app.js"></script>
<script src="__STATIC__/plugs/layui-v2.7.6/layui.js?v={$version}" charset="utf-8"></script>
<script src="__STATIC__/plugs/layui-v2.8.0/layui.js?v={$version}" charset="utf-8"></script>
<script src="__STATIC__/plugs/require-2.3.6/require.js?v={$version}" charset="utf-8"></script>
<script src="__STATIC__/config-admin.js?v={$version}" charset="utf-8"></script>
</head>

View File

@@ -15,17 +15,12 @@ use think\facade\App;
class Version extends Command
{
const VERSION = 'v2.0.25';
const VERSION = 'v2.0.26';
const LAYUI_VERSION = '2.7.6';
const LAYUI_VERSION = '2.8.0';
const COMMENT = [
'修复部分css没有正确使用缓存参数',
'修复table的field属性的边界情况处理',
'新增table的重载方法',
'优化table的tabbar设置关闭的情况',
'修复菜单管理修改排序的错误效果',
'新增curd生成的模型支持注解部分',
'引入并兼容layui2.8.0',
];
protected function configure()

View File

@@ -1,29 +1,29 @@
@import url("../../plugs/layui-v2.7.6/css/layui.css");
@import url("../../plugs/layui-v2.8.0/css/layui.css");
@import url("../../plugs/font-awesome-4.7.0/css/font-awesome.min.css");
@import url("../css/iconfont.css");
@import url('../../plugs/jq-module/city-picker/css/city-picker.css');
html,
body {
height : 100%;
height: 100%;
background: #f2f2f2;
}
.layuimini-container {
min-height : 250px;
padding : 15px;
margin-right : auto;
margin-left : auto;
padding-left : 15px;
min-height: 250px;
padding: 15px;
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
}
.layuimini-main {
position : relative;
padding : 15px 15px;
position: relative;
padding: 15px 15px;
background-color: #ffffff;
border : 1px solid #f2f2f2;
border-radius : 5px;
border: 1px solid #f2f2f2;
border-radius: 5px;
}
.text-center {
@@ -35,8 +35,8 @@ body {
}
.layuimini-form .layui-form-item {
position : relative;
padding : 0 60px 0 0;
position: relative;
padding: 0 60px 0 0;
line-height: 24px;
}
@@ -62,29 +62,29 @@ body {
.easy-bg-white {
background-color: #ffffff;
height : auto;
height: auto;
}
.hr-line {
color : #fff;
height : 1px;
margin : 30px 0;
color: #fff;
height: 1px;
margin: 30px 0;
background-color: #fff;
border-top : 1px dashed #e7eaec;
border-top: 1px dashed #e7eaec;
}
/**重写layui表格自适应*/
.layuimini-container .layui-table-cell {
height : 100%;
height: 100%;
max-width: 100%;
}
/**数据表格-搜索表单样式*/
.layuimini-container .table-search-fieldset {
margin : 0;
border : 1px solid #e6e6e6;
margin: 0;
border: 1px solid #e6e6e6;
padding: 10px 20px 5px 20px;
color : #6b6b6b;
color: #6b6b6b;
}
.layuimini-container .table-search-fieldset input::-webkit-input-placeholder {
@@ -106,30 +106,30 @@ body {
/**必填红点 */
.layuimini-form>.layui-form-item .required:after {
content : '*';
color : red;
position : absolute;
content: '*';
color: red;
position: absolute;
margin-left: 4px;
font-weight: bold;
line-height: 1.8em;
top : 6px;
right : 5px;
top: 6px;
right: 5px;
}
/*.layuimini-form>.layui-form-item>.layui-form-label {width:120px !important;}*/
/*.layuimini-form>.layui-form-item>.layui-input-block {margin-left:150px !important;}*/
.layuimini-form>.layui-form-item>.layui-input-block tip,
.layuimini-form>.layui-form-item>.layui-inline tip {
display : inline-block;
margin-top : 10px;
display: inline-block;
margin-top: 10px;
line-height: 15px;
font-size : 10px;
color : #a29c9c;
font-size: 10px;
color: #a29c9c;
}
/** 按钮背景色 */
.layuimini-container .layuimini-btn-primary {
color : #fff;
color: #fff;
background-color: #2c3e50;
}
@@ -143,34 +143,34 @@ body {
}
.layuimini-upload .layuimini-upload-btn {
display : inline-block;
position : absolute;
right : 0px;
display: inline-block;
position: absolute;
right: 0px;
background-color: #fff;
}
.layuimini-upload-show {
margin-top : 10px;
margin-top: 10px;
margin-bottom: 0;
}
.layuimini-upload-show li {
position : relative;
display : inline-block;
padding : 5px 0 5px 0;
padding-left : 10px;
position: relative;
display: inline-block;
padding: 5px 0 5px 0;
padding-left: 10px;
padding-right: 10px;
border : 1px solid #e2e2e2;
border: 1px solid #e2e2e2;
}
.layuimini-upload-show a img {
height : 80px;
height: 80px;
object-fit: cover;
}
.layuimini-upload-show .uploads-delete-tip {
position : absolute;
right : 10px;
position: absolute;
right: 10px;
font-size: 12px;
}
@@ -183,18 +183,18 @@ body {
}
.badge {
display : inline-block;
min-width : 10px;
padding : 3px 7px;
font-size : 11px;
font-weight : bold;
color : #fff;
line-height : 1;
vertical-align : middle;
white-space : nowrap;
text-align : center;
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: 11px;
font-weight: bold;
color: #fff;
line-height: 1;
vertical-align: middle;
white-space: nowrap;
text-align: center;
background-color: #777777;
border-radius : 10px;
border-radius: 10px;
}
/**vue隐藏样式*/
@@ -205,18 +205,18 @@ body {
/**表格url样式*/
.layuimini-table-url {
background-color: #1497f3;
color : #ffffff;
border-radius : 3px;
size : 8px !important;
padding : 2px
color: #ffffff;
border-radius: 3px;
size: 8px !important;
padding: 2px
}
.layuimini-table-url:hover {
background-color: #1497f3;
color : #ffffff;
border-radius : 3px;
size : 8px !important;
padding : 2px
color: #ffffff;
border-radius: 3px;
size: 8px !important;
padding: 2px
}
/**后台权限隐藏*/
@@ -228,21 +228,21 @@ body {
.layui-input-block {
margin-left: 130px;
min-height : 36px
min-height: 36px
}
/**
table样式
*/
.layuimini-container .layui-laypage .layui-laypage-curr .layui-laypage-em {
border-radius : 30px !important;
border-radius: 30px !important;
background-color: #1e9fff !important;
}
.layuimini-container .layui-table-tool {
background-color: #ffffff;
border-bottom : none !important;
padding-bottom : 15px !important;
border-bottom: none !important;
padding-bottom: 15px !important;
}
.layuimini-container .layui-table-view {
@@ -262,22 +262,22 @@ table样式
.layuimini-container .layui-table-box .layui-table-header th {
font-weight: bold !important;
color : #565656 !important;
color: #565656 !important;
}
/**
搜索
*/
.form-search .layui-btn {
height : 32px;
height: 32px;
line-height: 28px;
font-size : 12px;
padding : 0 10px;
font-size: 12px;
padding: 0 10px;
}
.form-search .layui-form-label {
padding : 0 8px;
height : 32px;
padding: 0 8px;
height: 32px;
line-height: 30px;
}
@@ -287,15 +287,15 @@ table样式
.form-search .layui-input-inline input,
.form-search .layui-input-inline select {
width : 100%;
height : 32px;
padding : 2px 8px;
width: 100%;
height: 32px;
padding: 2px 8px;
line-height: 1em;
font-size : 12px;
font-size: 12px;
}
.form-search .layui-form-select dl {
top : 31px;
top: 31px;
padding: 0;
}
@@ -304,15 +304,15 @@ table样式
按钮
*/
.layuimini-container .layui-btn-success {
color : #fff;
color: #fff;
background-color: #4bb368;
border-color : #4bb368;
border-color: #4bb368;
}
.layuimini-container .layui-btn-danger {
color : #fff;
color: #fff;
background-color: #f56c6c;
border-color : #f56c6c;
border-color: #f56c6c;
}
.layuimini-container .layui-table-tool .layui-btn+.layui-btn {
@@ -320,10 +320,10 @@ table样式
}
.layuimini-container .layui-table-tool .layui-inline[lay-event] {
width : 30px;
height : 30px;
width: 30px;
height: 30px;
line-height: 30px;
padding : 0px;
padding: 0px;
}
.layuimini-container .layui-table-tool .layui-inline .layui-icon {
@@ -342,7 +342,7 @@ table样式
开关
*/
.layuimini-container .layui-form-switch {
border : 1px solid #f56d6d;
border: 1px solid #f56d6d;
background-color: #f56d6d;
}
@@ -355,7 +355,7 @@ table样式
}
.layuimini-container .layui-form-onswitch {
border-color : #1f9fff;
border-color: #1f9fff;
background-color: #1f9fff;
}
@@ -364,30 +364,26 @@ table样式
*/
.layuimini-container .layui-form-select dl dd.layui-this {
background-color: #1e9fff !important;
color: #fff;
}
/**
弹出层样式
*/
.layui-layer-easy .layui-layer-title {
background : #2c3e50 !important;
color : #fff !important;
background: #2c3e50 !important;
color: #fff !important;
border-bottom: none;
}
.layui-layer-easy .layui-layer-title~.layui-layer-setwin {
top : 0px;
height: 42px;
}
.layui-layer-easy .layui-layer-title~.layui-layer-setwin>a {
height : 42px;
height: 42px;
line-height: 42px;
display : inline-block;
display: inline-block;
}
.layui-layer-easy.layui-layer-border {
border : none !important;
border: none !important;
box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.3) !important;
}
@@ -397,36 +393,40 @@ table样式
.layui-layer-easy .layui-layer-moves {
-webkit-box-sizing: content-box;
-moz-box-sizing : content-box;
box-sizing : content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.layui-layer-easy .layui-layer-btn {
text-align: center !important;
padding : 10px !important;
padding: 10px !important;
background: #ecf0f1;
overflow : hidden;
overflow: hidden;
}
.layui-layer-easy .layui-layer-btn a {
background-color: #95a5a6;
border-color : #95a5a6;
color : #fff !important;
height : 31px;
margin-top : 0;
border : 1px solid transparent;
border-color: #95a5a6;
color: #fff !important;
height: 31px;
margin-top: 0;
border: 1px solid transparent;
}
.layui-layer-easy .layui-layer-btn .layui-layer-btn0 {
background-color: #1E9FFF;
border-color : #1E9FFF;
border-color: #1E9FFF;
}
.layui-layer-easy .layui-layer-footer {
padding : 8px 20px;
padding: 8px 20px;
background-color: #ecf0f1;
height : auto;
text-align : inherit !important;
height: auto;
text-align: inherit !important;
}
.layui-layer-easy .layui-layer-setwin>span {
color: #fff;
}
.layui-layer-easy .layui-layer-setwin>a {
@@ -438,65 +438,34 @@ table样式
}
.layui-layer-easy .layui-layer-setwin>a:after {
content : "\e625";
font-family : iconfont;
font-style : normal;
font-weight : normal;
content: "\e625";
font-family: iconfont;
font-style: normal;
font-weight: normal;
text-decoration: inherit;
position : absolute;
font-size : 18px;
color : #fff;
margin : 0;
z-index : 1;
position: absolute;
font-size: 18px;
color: #fff;
margin: 0;
z-index: 1;
}
.layui-layer-easy .layui-layer-setwin>a:hover {
text-decoration: none !important;
background : none !important;
background: none !important;
}
.layui-layer-easy .layui-layer-setwin>a:focus {
text-decoration: none !important;
}
.layui-layer-easy .layui-layer-setwin .layui-layer-min {
display: none;
.layui-layer-easy .layui-layer-setwin .layui-layer-max::after,
.layui-layer-easy .layui-layer-setwin .layui-layer-max::before {
border-color: #fff;
}
.layui-layer-easy .layui-layer-setwin .layui-layer-min:after {
content: "\e625";
}
.layui-layer-easy .layui-layer-setwin .layui-layer-max {
display: none;
}
.layui-layer-easy .layui-layer-setwin .layui-layer-max:after {
content: "\e623";
}
.layui-layer-easy .layui-layer-setwin .layui-layer-maxmin {
display: none;
}
.layui-layer-easy .layui-layer-setwin .layui-layer-maxmin:after {
content: "\e624";
}
.layui-layer-easy .layui-layer-setwin .layui-layer-close1:after {
content: "\e626";
}
.layui-layer-easy .layui-layer-setwin .layui-layer-close2,
.layui-layer-easy .layui-layer-setwin .layui-layer-close2:hover {
background: url('../libs/layer/dist/theme/default/icon.png') no-repeat -149px -31px !important;
top : -30px;
right : -30px;
}
.layui-layer-easy .layui-layer-setwin .layui-layer-close2:after,
.layui-layer-easy .layui-layer-setwin .layui-layer-close2:hover:after {
display: none;
.layui-layer-easy .layui-layer-setwin .layui-layer-min::before {
background-color: #fff;
}
.layui-layer-content {
@@ -512,14 +481,14 @@ table样式
}
.layui-layer-easy-tab .layui-layer-content .layui-layer-tabmain {
margin : 0;
margin: 0;
padding: 0;
}
@media screen and (max-width: 1024px) {
.layuimini-form .layui-form-item {
position : relative;
padding : 0 30px 0 0;
position: relative;
padding: 0 30px 0 0;
line-height: 24px;
}
}
@@ -538,15 +507,15 @@ table样式
}
.line-limit-length {
width : 200px;
overflow : hidden;
width: 200px;
overflow: hidden;
text-overflow: ellipsis;
background : goldenrod;
white-space : nowrap;
background: goldenrod;
white-space: nowrap;
}
.data-item {
display : none;
display: none;
line-height: 28px;
}
@@ -556,14 +525,14 @@ table样式
}
.layui-form-item .layui-form-label {
float : unset;
float: unset;
text-align: left;
}
.layuimini-form>.layui-form-item .required:after {
right : unset;
left : 0;
right: unset;
left: 0;
margin-left: 0;
}
@@ -573,8 +542,8 @@ table样式
.layui-anim-upbit {
min-width: unset !important;
width : calc(100% - 20px);
overflow : auto
width: calc(100% - 20px);
overflow: auto
}
.layui-table-page {
@@ -592,10 +561,10 @@ table样式
.layui-table-main .layui-table tr {
background-color: #eee;
border-radius : 15px;
padding : 15px;
margin-bottom : 15px;
display : block;
border-radius: 15px;
padding: 15px;
margin-bottom: 15px;
display: block;
}
@@ -608,18 +577,18 @@ table样式
}
.layui-table-main td {
display : flex;
align-items : flex-start;
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-right : 0;
border-bottom : 1px solid #fff;
min-height : 30px;
margin-right: 0;
border-bottom: 1px solid #fff;
min-height: 30px;
}
.layui-table-main .layui-table-cell {
width : auto;
padding : 0;
width: auto;
padding: 0;
text-align: right;
}
@@ -639,7 +608,7 @@ table样式
.form-item-time-limit .layui-input-inline {
display: flex;
width : 274px;
width: 274px;
}
.form-item-number-limit .layui-input-inline {
@@ -649,13 +618,13 @@ table样式
/* 重写地区选择器的样式 */
.city-picker-span {
height : 38px;
border-width : 1px;
border-style : solid;
height: 38px;
border-width: 1px;
border-style: solid;
background-color: #fff;
color : rgba(0, 0, 0, .85);
border-radius : 2px;
border-color : #eee;
color: rgba(0, 0, 0, .85);
border-radius: 2px;
border-color: #eee;
}
.city-picker-span:hover {

View File

@@ -1,19 +1,19 @@
& {
color : #222;
color: #222;
background-color: #f0f0f0;
}
.layui-btn {
background : linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
border : 1.5px solid #888;
background: linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
border: 1.5px solid #888;
border-radius: 3px;
box-shadow : inset 0 -1px 1px hsla(0, 0%, 100%, .8), inset 0 1px 1px #fff;
box-sizing : border-box;
color : #222;
box-shadow: inset 0 -1px 1px hsla(0, 0%, 100%, .8), inset 0 1px 1px #fff;
box-sizing: border-box;
color: #222;
&:hover {
background : linear-gradient(180deg, #e5f4fd 45%, #b3e0f9 0);
background: linear-gradient(180deg, #e5f4fd 45%, #b3e0f9 0);
border-color: #72a2c5;
}
}
@@ -22,28 +22,28 @@
@extend .layui-btn;
color: #222 !important;
height : 26px;
height: 26px;
line-height: 26px;
font-size : 12px;
font-size: 12px;
}
.layui-layer-title {
background : linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4 !important;
border : 1px solid rgba(0, 0, 0, .6);
border-radius : 6px 6px 0 0;
background: linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4 !important;
border: 1px solid rgba(0, 0, 0, .6);
border-radius: 6px 6px 0 0;
// box-shadow : inset 0 0 .5px .5px #fff;
height : 27px;
height: 27px;
line-height: 27px;
color : #000 !important;
color: #000 !important;
letter-spacing: 0;
font-size : 12px;
text-shadow : 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
font-size: 12px;
text-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
padding: 0 80px 0 8px;
border : 0;
border: 0;
box-shadow: inset 0 .5px #fff;
@@ -51,27 +51,27 @@
.layui-layer-easy .layui-layer-title~.layui-layer-setwin {
height: 27px !important;
top : 1px;
top: 1px;
}
.layui-layer-easy .layui-layer-title~.layui-layer-setwin>a {
height : 20px !important;
height: 20px !important;
line-height: 20px !important;
background : linear-gradient(hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, .3) 45%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .1) 75%, hsla(0, 0%, 100%, .5)) !important;
border : 0;
border-radius : 0;
background: linear-gradient(hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, .3) 45%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .1) 75%, hsla(0, 0%, 100%, .5)) !important;
border: 0;
border-radius: 0;
border-bottom-right-radius: 0px;
border-right : 1px solid rgba(0, 0, 0, .6);
box-shadow : inset 0 0 0 .5px #eee;
box-sizing : border-box;
border-right: 1px solid rgba(0, 0, 0, .6);
box-shadow: inset 0 0 0 .5px #eee;
box-sizing: border-box;
padding : 0;
padding: 0;
position: relative;
margin-left: 0;
min-width : 26px;
min-width: 26px;
text-align: center;
&::after {
@@ -84,7 +84,7 @@
&:last-child {
border : 0;
border: 0;
border-bottom-right-radius: 5px;
}
@@ -95,11 +95,11 @@
&.layui-layer-close1 {
background-color: #d04a37 !important;
min-width : 45px !important;
min-width: 45px !important;
&:hover {
filter : contrast(1.3);
filter: contrast(1.3);
background-image: linear-gradient(hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, .3) 45%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .1) 75%, hsla(0, 0%, 100%, .5)) !important;
}
}
@@ -117,22 +117,22 @@
.layui-layer:not(.layui-layer-loading) {
.layui-layer-content {
background : #f0f0f0;
border : 1px solid rgba(0, 0, 0, .6);
box-shadow : 0 -1px 1px .5px #fff;
margin : 0 6px 0 6px;
padding : 6px;
background: #f0f0f0;
border: 1px solid rgba(0, 0, 0, .6);
box-shadow: 0 -1px 1px .5px #fff;
margin: 0 6px 0 6px;
padding: 6px;
border-bottom-width: 0;
}
&::before {
background : linear-gradient(transparent 20%, hsla(0, 0%, 100%, .7) 40%, transparent 41%), linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4;
background: linear-gradient(transparent 20%, hsla(0, 0%, 100%, .7) 40%, transparent 41%), linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4;
border-radius: 6px;
content : "";
height : 100%;
position : absolute;
width : 100%;
z-index : -1;
content: "";
height: 100%;
position: absolute;
width: 100%;
z-index: -1;
}
@@ -146,58 +146,58 @@
.layui-layer-easy .layui-layer-btn {
background: #f0f0f0;
border : 1px solid rgba(0, 0, 0, .6);
border: 1px solid rgba(0, 0, 0, .6);
box-shadow: 0 0 1px .5px #fff;
margin : 0 6px 6px;
padding : 6px;
margin: 0 6px 6px;
padding: 6px;
border-top: 0;
text-align: right !important;
}
.layui-card {
border : 1px solid rgba(0, 0, 0, .6);
border: 1px solid rgba(0, 0, 0, .6);
border-radius: 6px;
box-shadow : 0 0 5px 1px rgba(0, 0, 0, .6);
font : 9pt Segoe UI, sans-serif;
position : relative;
z-index : 0;
box-shadow: 0 0 5px 1px rgba(0, 0, 0, .6);
font: 9pt Segoe UI, sans-serif;
position: relative;
z-index: 0;
&::before {
background : linear-gradient(transparent 20%, hsla(0, 0%, 100%, .7) 40%, transparent 41%), linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4;
background: linear-gradient(transparent 20%, hsla(0, 0%, 100%, .7) 40%, transparent 41%), linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4;
border-radius: 6px;
content : "";
height : 100%;
position : absolute;
width : 100%;
z-index : -1;
content: "";
height: 100%;
position: absolute;
width: 100%;
z-index: -1;
}
.layui-card-header {
align-items : center;
background : linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4;
border-radius : 6px 6px 0 0;
font : 9pt Segoe UI, sans-serif;
align-items: center;
background: linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4;
border-radius: 6px 6px 0 0;
font: 9pt Segoe UI, sans-serif;
justify-content: space-between;
padding : 6px;
border : 0;
box-shadow : inset 0 .5px #fff;
height : 15px;
padding: 6px;
border: 0;
box-shadow: inset 0 .5px #fff;
height: 15px;
color : #000;
color: #000;
letter-spacing: 0;
line-height : 15px;
text-shadow : 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
line-height: 15px;
text-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
}
.layui-card-body {
background: #f0f0f0;
border : 1px solid rgba(0, 0, 0, .6);
border: 1px solid rgba(0, 0, 0, .6);
box-shadow: 0 0 1px .5px #fff;
margin : 0 6px 6px;
padding : 6px;
margin: 0 6px 6px;
padding: 6px;
}
}
@@ -208,30 +208,28 @@
}
.layuimini-tab .layui-tab-control>li {
height : 27px !important;
height: 27px !important;
line-height: 27px !important;
}
.layui-form-checkbox[lay-skin="primary"] i {
background : #ddd;
border : 1px solid #888;
box-shadow : inset 0 0 0 1.5px #eee, inset 0 2px 4px #888, inset -2px -3px 4px #fff;
box-sizing : border-box;
content : "";
display : inline-block;
height : 13px;
background: #ddd;
border: 1px solid #888;
box-shadow: inset 0 0 0 1.5px #eee, inset 0 2px 4px #888, inset -2px -3px 4px #fff;
box-sizing: border-box;
content: "";
display: inline-block;
height: 13px;
margin-right: 6px;
width : 13px;
color : transparent;
width: 13px;
color: transparent;
}
.layui-form-checked[lay-skin="primary"] i {
color: #16638f;
display : block;
border-color: #888;
display: block;
font-weight: 700;
position: absolute;
&::before {
@@ -248,13 +246,13 @@
.layui-input {
background-color: #fff;
border : 1px solid #ccc;
border: 1px solid #ccc;
border-top-color: rgb(204, 204, 204);
border-radius : 2px;
border-radius: 2px;
border-top-color: #888;
box-sizing : border-box;
font : 9pt Segoe UI, sans-serif;
padding : 3px 4px 5px;
box-sizing: border-box;
font: 9pt Segoe UI, sans-serif;
padding: 3px 4px 5px;
}
.layui-input,
@@ -265,7 +263,7 @@
.layui-form-label {
padding: 3px 15px;
font : 9pt Segoe UI, sans-serif;
font: 9pt Segoe UI, sans-serif;
}
@@ -275,20 +273,20 @@
.form-search .layui-input-inline input,
.form-search .layui-input-inline select {
height : unset;
height: unset;
line-height: unset;
}
.form-search .layui-form-label {
height : unset;
height: unset;
background: unset;
text-align: right;
border : unset;
border: unset;
}
.layuimini-upload-btn {
.layui-btn {
height : 25px;
height: 25px;
line-height: 25px;
}
}

View File

@@ -727,7 +727,6 @@
padding: 4px 9px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: #2e3436;
outline-color: rgba(53, 132, 228, 0.5);
@@ -852,7 +851,6 @@
transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
outline-color: rgba(53, 132, 228, 0.5);
border: 1px solid #cdc7c2;
@@ -933,7 +931,6 @@
font-weight: normal;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 0;
border-top-style: none;
@@ -993,7 +990,6 @@
padding: 4px 9px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: #2e3436 !important;
outline-color: rgba(53, 132, 228, 0.5);
@@ -1249,7 +1245,6 @@
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC) 14 0, pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: #212529;
background-color: #fff;
@@ -1324,9 +1319,7 @@
line-height: 24px;
}
.elem-style-nes .layui-table img {
-ms-interpolation-mode: nearest-neighbor;
image-rendering: -moz-crisp-edges;
image-rendering: pixelated;
image-rendering: pixelated;
}
.elem-style-nes .layui-form-checkbox[lay-skin=primary] i {
position: relative;
@@ -1470,7 +1463,7 @@
background: linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
border: 1.5px solid #888;
border-radius: 3px;
box-shadow: inset 0 -1px 1px hsla(0deg, 0%, 100%, 0.8), inset 0 1px 1px #fff;
box-shadow: inset 0 -1px 1px hsla(0, 0%, 100%, 0.8), inset 0 1px 1px #fff;
box-sizing: border-box;
color: #222;
}
@@ -1485,7 +1478,7 @@
font-size: 12px;
}
.elem-style-win7 .layui-layer-title {
background: linear-gradient(90deg, hsla(0deg, 0%, 100%, 0.4), rgba(0, 0, 0, 0.1), hsla(0deg, 0%, 100%, 0.2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 50%, transparent 53%), #4580c4 !important;
background: linear-gradient(90deg, hsla(0, 0%, 100%, 0.4), rgba(0, 0, 0, 0.1), hsla(0, 0%, 100%, 0.2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 50%, transparent 53%), #4580c4 !important;
border: 1px solid rgba(0, 0, 0, 0.6);
border-radius: 6px 6px 0 0;
height: 27px;
@@ -1505,7 +1498,7 @@
.elem-style-win7 .layui-layer-easy .layui-layer-title ~ .layui-layer-setwin > a {
height: 20px !important;
line-height: 20px !important;
background: linear-gradient(hsla(0deg, 0%, 100%, 0.3), hsla(0deg, 0%, 100%, 0.3) 45%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, hsla(0deg, 0%, 100%, 0.5)) !important;
background: linear-gradient(hsla(0, 0%, 100%, 0.3), hsla(0, 0%, 100%, 0.3) 45%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, hsla(0, 0%, 100%, 0.5)) !important;
border: 0;
border-radius: 0;
border-bottom-right-radius: 0px;
@@ -1537,7 +1530,7 @@
}
.elem-style-win7 .layui-layer-easy .layui-layer-title ~ .layui-layer-setwin > a.layui-layer-close1:hover {
filter: contrast(1.3);
background-image: linear-gradient(hsla(0deg, 0%, 100%, 0.3), hsla(0deg, 0%, 100%, 0.3) 45%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, hsla(0deg, 0%, 100%, 0.5)) !important;
background-image: linear-gradient(hsla(0, 0%, 100%, 0.3), hsla(0, 0%, 100%, 0.3) 45%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, hsla(0, 0%, 100%, 0.5)) !important;
}
.elem-style-win7 .layui-layer-dialog {
border-radius: 20px;
@@ -1554,7 +1547,7 @@
border-bottom-width: 0;
}
.elem-style-win7 .layui-layer:not(.layui-layer-loading)::before {
background: linear-gradient(transparent 20%, hsla(0deg, 0%, 100%, 0.7) 40%, transparent 41%), linear-gradient(90deg, hsla(0deg, 0%, 100%, 0.4), rgba(0, 0, 0, 0.1), hsla(0deg, 0%, 100%, 0.2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 50%, transparent 53%), #4580c4;
background: linear-gradient(transparent 20%, hsla(0, 0%, 100%, 0.7) 40%, transparent 41%), linear-gradient(90deg, hsla(0, 0%, 100%, 0.4), rgba(0, 0, 0, 0.1), hsla(0, 0%, 100%, 0.2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 50%, transparent 53%), #4580c4;
border-radius: 6px;
content: "";
height: 100%;
@@ -1583,7 +1576,7 @@
z-index: 0;
}
.elem-style-win7 .layui-card::before {
background: linear-gradient(transparent 20%, hsla(0deg, 0%, 100%, 0.7) 40%, transparent 41%), linear-gradient(90deg, hsla(0deg, 0%, 100%, 0.4), rgba(0, 0, 0, 0.1), hsla(0deg, 0%, 100%, 0.2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 50%, transparent 53%), #4580c4;
background: linear-gradient(transparent 20%, hsla(0, 0%, 100%, 0.7) 40%, transparent 41%), linear-gradient(90deg, hsla(0, 0%, 100%, 0.4), rgba(0, 0, 0, 0.1), hsla(0, 0%, 100%, 0.2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 50%, transparent 53%), #4580c4;
border-radius: 6px;
content: "";
height: 100%;
@@ -1593,7 +1586,7 @@
}
.elem-style-win7 .layui-card .layui-card-header {
align-items: center;
background: linear-gradient(90deg, hsla(0deg, 0%, 100%, 0.4), rgba(0, 0, 0, 0.1), hsla(0deg, 0%, 100%, 0.2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 50%, transparent 53%), #4580c4;
background: linear-gradient(90deg, hsla(0, 0%, 100%, 0.4), rgba(0, 0, 0, 0.1), hsla(0, 0%, 100%, 0.2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 50%, transparent 53%), #4580c4;
border-radius: 6px 6px 0 0;
font: 9pt Segoe UI, sans-serif;
justify-content: space-between;
@@ -1634,6 +1627,7 @@
}
.elem-style-win7 .layui-form-checked[lay-skin=primary] i {
color: #16638f;
border-color: #888;
display: block;
font-weight: 700;
position: absolute;

View File

@@ -9,7 +9,7 @@ require.config({
"echarts": ["plugs/echarts/echarts.min"],
"echarts-theme": ["plugs/echarts/echarts-theme"],
"easy-admin": ["plugs/easy-admin/easy-admin"],
"layui": ["plugs/layui-v2.7.6/layui"],
"layui": ["plugs/layui-v2.8.0/layui"],
"miniAdmin": ["plugs/lay-module/layuimini/miniAdmin"],
"miniMenu": ["plugs/lay-module/layuimini/miniMenu"],
"miniTab": ["plugs/lay-module/layuimini/miniTab"],

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-view{display:block;position:relative;margin:10px 0;padding:0;border:1px solid #eee;border-left-width:6px;background-color:#fafafa;color:#333;font-family:Courier New;font-size:13px}.layui-code-title{position:relative;padding:0 10px;height:40px;line-height:40px;border-bottom:1px solid #eee;font-size:12px}.layui-code-title>.layui-code-about{position:absolute;right:10px;top:0;color:#b7b7b7}.layui-code-about>a{padding-left:10px}.layui-code-view>.layui-code-ol,.layui-code-view>.layui-code-ul{position:relative;overflow:auto}.layui-code-view>.layui-code-ol>li{position:relative;margin-left:45px;line-height:20px;padding:0 10px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view>.layui-code-ol>li:first-child,.layui-code-view>.layui-code-ul>li:first-child{padding-top:10px}.layui-code-view>.layui-code-ol>li:last-child,.layui-code-view>.layui-code-ul>li:last-child{padding-bottom:10px}.layui-code-view>.layui-code-ul>li{position:relative;line-height:20px;padding:0 10px;list-style-type:none;*list-style-type:none;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-dark{border:1px solid #0c0c0c;border-left-color:#3f3f3f;background-color:#0c0c0c;color:#c2be9e}.layui-code-dark>.layui-code-title{border-bottom:none}.layui-code-dark>.layui-code-ol>li,.layui-code-dark>.layui-code-ul>li{background-color:#3f3f3f;border-left:none}.layui-code-dark>.layui-code-ul>li{margin-left:6px}.layui-code-demo .layui-code{visibility:visible!important;margin:-15px;border-top:none;border-right:none;border-bottom:none}.layui-code-demo .layui-tab-content{padding:15px;border-top:none}

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 299 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 321 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@@ -10,8 +10,8 @@
<title>ulthon_admin | 一款基于ThinkPHP6.0和Layui的快速开发的后台管理框架系统</title>
<link rel="stylesheet" href="//layui.ulthon.com/cdn/layui-ul.css">
<link rel="stylesheet" href="__STATIC__/common/css/welcome.css?v={$version}">
<link rel="stylesheet" href="/static/plugs/layui-v2.7.6/css/layui.css">
<script src="/static/plugs/layui-v2.7.6/layui.js"></script>
<link rel="stylesheet" href="/static/plugs/layui-v2.8.0/css/layui.css">
<script src="/static/plugs/layui-v2.8.0/layui.js"></script>
</head>