ComposerUpdate

This commit is contained in:
Anyon 2019-11-26 14:57:46 +08:00
parent 331b1aad1a
commit e016a227cc
18 changed files with 336 additions and 55 deletions

8
composer.lock generated
View File

@ -783,12 +783,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "d59b40f099926275e5ecec372624ab7212c27bc0" "reference": "265496e70f48b940c755aeee1c78443662231e80"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/d59b40f099926275e5ecec372624ab7212c27bc0", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/265496e70f48b940c755aeee1c78443662231e80",
"reference": "d59b40f099926275e5ecec372624ab7212c27bc0", "reference": "265496e70f48b940c755aeee1c78443662231e80",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -832,7 +832,7 @@
], ],
"description": "ThinkPHP v6.0 Development Library", "description": "ThinkPHP v6.0 Development Library",
"homepage": "http://framework.thinkadmin.top", "homepage": "http://framework.thinkadmin.top",
"time": "2019-11-23T12:12:24+00:00" "time": "2019-11-26T06:05:05+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,3 @@
[data-tips-image] {
cursor: zoom-in !important;
}
.notdata { .notdata {
padding: 15px; padding: 15px;
display: block; display: block;
@ -110,7 +107,7 @@
.hr-line-dashed { .hr-line-dashed {
color: #fff; color: #fff;
height: 1px; height: 1px;
margin: 20px 0; margin: 15px 0;
background-color: #fff; background-color: #fff;
border-top: 1px dashed #e7eaec; border-top: 1px dashed #e7eaec;
} }
@ -168,6 +165,33 @@
.font-s40 { .font-s40 {
font-size: 40px !important; font-size: 40px !important;
} }
.font-w1 {
font-weight: 100 !important;
}
.font-w2 {
font-weight: 200 !important;
}
.font-w3 {
font-weight: 300 !important;
}
.font-w4 {
font-weight: 400 !important;
}
.font-w5 {
font-weight: 500 !important;
}
.font-w6 {
font-weight: 600 !important;
}
.font-w7 {
font-weight: 700 !important;
}
.font-w8 {
font-weight: 800 !important;
}
.font-w9 {
font-weight: 900 !important;
}
.padding-0 { .padding-0 {
padding: 0 !important; padding: 0 !important;
} }
@ -499,4 +523,7 @@
background: #dcdcdc; background: #dcdcdc;
border-color: #dcdcdc; border-color: #dcdcdc;
} }
[data-tips-image] {
cursor: zoom-in !important;
}
/*# sourceMappingURL=console.custom.css.map */ /*# sourceMappingURL=console.custom.css.map */

View File

@ -1 +1 @@
{"version":3,"sources":["console.custom.less"],"names":[],"mappings":"AAAA;EACE,eAAA;;AAGF;EACE,aAAA;EACA,cAAA;EACA,eAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;EACA,yBAAA;EACA,yBAAA;EACA,0BAAA;;AAGF;EACE,iBAAA;EACA,qBAAA;EACA,sBAAA;EACA,yBAAA;;AAGF;EACE,2BAAA;EACA,8BAAA;EACA,gCAAA;EACA,mCAAA;;AAGF;EACE,kBAAA;;AAGF;EACE,kBAAA;;AAGF;EACE,cAAA;;AAGF;EACE,eAAA;;AAGF;EACE,mBAAA;;AAGF;EACE,WAAA;EACA,eAAA;;AAGF;EACE,qBAAA;;AAKA,MAAC;EACC,WAAA;;AAGF,MAAC;EACC,YAAA;;AAKF,MAAC;EACC,WAAA;;AAGF,MAAC;EACC,YAAA;;AAKF,OAAC;EACC,cAAA;;AAGF,OAAC;EACC,cAAA;;AAGF,OAAC;EACC,WAAA;;AAGF,OAAC;EACC,WAAA;;AAGF,OAAC;EACC,WAAA;;AAKF,MAAC;EACC,mBAAA;;AAGF,MAAC;EACC,gBAAA;;AAGF,MAAC;EACC,iBAAA;;AAGF,MAAC;EACC,kBAAA;;AAGF,MAAC;EACC,sBAAA;;AAGF,MAAC;EACC,sBAAA;;AAKF,UAAC;EACC,iBAAA;;AAGF,UAAC;EACC,YAAY,0CAAZ;;AAGF,UAAC;EACC,YAAY,0CAAZ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,WAAA;EACA,WAAA;EACA,YAAA;EACA,yBAAA;EACA,qBAAA;EACA,iBAAA;EACA,kBAAA;EACA,iBAAA;;AArCR,qBAQE,KAME,KA0BE;EACE,mBAAA;EACA,eAAA;;AA1CR,qBAQE,KAME,KA+BE,IAAG;EACD,mBAAA;EACA,qBAAA","file":"console.custom.css"} {"version":3,"sources":["console.custom.less"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,cAAA;EACA,eAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;EACA,yBAAA;EACA,yBAAA;EACA,0BAAA;;AAGF;EACE,iBAAA;EACA,qBAAA;EACA,sBAAA;EACA,yBAAA;;AAGF;EACE,2BAAA;EACA,8BAAA;EACA,gCAAA;EACA,mCAAA;;AAGF;EACE,kBAAA;;AAGF;EACE,kBAAA;;AAGF;EACE,cAAA;;AAGF;EACE,eAAA;;AAGF;EACE,mBAAA;;AAGF;EACE,WAAA;EACA,eAAA;;AAGF;EACE,qBAAA;;AAKA,MAAC;EACC,WAAA;;AAGF,MAAC;EACC,YAAA;;AAKF,MAAC;EACC,WAAA;;AAGF,MAAC;EACC,YAAA;;AAKF,OAAC;EACC,cAAA;;AAGF,OAAC;EACC,cAAA;;AAGF,OAAC;EACC,WAAA;;AAGF,OAAC;EACC,WAAA;;AAGF,OAAC;EACC,WAAA;;AAKF,MAAC;EACC,mBAAA;;AAGF,MAAC;EACC,gBAAA;;AAGF,MAAC;EACC,iBAAA;;AAGF,MAAC;EACC,kBAAA;;AAGF,MAAC;EACC,sBAAA;;AAGF,MAAC;EACC,sBAAA;;AAKF,UAAC;EACC,iBAAA;;AAGF,UAAC;EACC,YAAY,0CAAZ;;AAGF,UAAC;EACC,YAAY,0CAAZ;;AAGF,UAAC;EACC,YAAY,0CAAZ;;AAGF,UAAC;EACC,YAAY,0CAAZ;;;AAMF,SAAC;EACC,WAAA;EACA,WAAA;EACA,cAAA;EACA,sBAAA;EACA,8BAAA;;AAGF,SAAC;EACC,gBAAA;EACA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BAAA;;AAzBV,qBAQE,KAME,KAeE;AA7BN,qBAQE,KAME,KAeO;EACH,WAAA;EACA,WAAA;EACA,YAAA;EACA,yBAAA;EACA,qBAAA;EACA,iBAAA;EACA,kBAAA;EACA,iBAAA;;AArCR,qBAQE,KAME,KA0BE;EACE,mBAAA;EACA,eAAA;;AA1CR,qBAQE,KAME,KA+BE,IAAG;EACD,mBAAA;EACA,qBAAA;;AAMR;EACE,eAAA","file":"console.custom.css"}

View File

@ -155,4 +155,220 @@
.layui-layout.layui-layout-left-hide [data-target-menu-type] { .layui-layout.layui-layout-left-hide [data-target-menu-type] {
display: none; display: none;
} }
/* 通用分页 */
.pagination-container {
line-height: 40px;
}
.pagination-container > span {
color: #666;
font-size: 9pt;
}
.pagination-container > ul {
float: right;
display: inline-block;
margin: 0;
padding: 0;
}
.pagination-container > ul > li {
z-index: 1;
display: inline-block;
}
.pagination-container > ul > li.active {
z-index: 2;
}
.pagination-container > ul > li.active > span {
color: #fff;
border-color: #098;
padding-right: 1px;
background: #009688 !important;
}
.pagination-container > ul > li > a,
.pagination-container > ul > li > span {
color: #333;
width: 33px;
height: 30px;
border: 1px solid #dcdcdc;
display: inline-block;
margin-left: -1px;
text-align: center;
line-height: 28px;
}
.pagination-container > ul > li > span {
background: #dcdcdc;
cursor: default;
}
.pagination-container > ul > li > a:hover {
background: #dcdcdc;
border-color: #dcdcdc;
}
/** 手机盒子及微信菜单 */
.mobile-preview {
width: 317px;
height: 580px;
position: relative;
background: url(../img/wechat/mobile_head.png) no-repeat 0 0;
}
.mobile-preview .mobile-header {
color: #fff;
width: auto;
margin: 0 30px;
overflow: hidden;
font-size: 15px;
padding-top: 30px;
text-align: center;
white-space: nowrap;
text-overflow: ellipsis;
word-wrap: normal;
user-select: none;
pointer-events: none;
-moz-user-select: none;
-webkit-user-select: none;
-webkit-pointer-events: none;
}
.mobile-preview .mobile-body {
top: 60px;
left: 0;
right: 0;
bottom: 0;
position: absolute;
border: 1px solid #ccc;
background: #f5f5f5;
}
.mobile-preview .mobile-body iframe {
width: 100%;
height: 100%;
}
.mobile-preview .mobile-footer {
left: 0;
right: 0;
bottom: 0;
margin: 0;
position: absolute;
padding-left: 43px;
border: 1px solid #ccc;
list-style-type: none;
background: url(../img/wechat/mobile_foot.png) no-repeat 0 0;
}
.mobile-preview .mobile-footer li {
float: left;
width: 33.33%;
position: relative;
text-align: center;
line-height: 50px;
}
.mobile-preview .mobile-footer li a {
width: auto;
display: block;
overflow: hidden;
border: 1px solid hsla(0, 0%, 100%, 0);
border-left: 1px solid #e7e7eb;
margin-top: -1px;
margin-bottom: -1px;
color: #616161;
white-space: nowrap;
text-decoration: none;
text-overflow: ellipsis;
word-wrap: normal;
}
.mobile-preview .mobile-footer li a:hover {
background: rgba(0, 0, 0, 0.02);
}
.mobile-preview .mobile-footer li a.active {
border: 1px solid #44b549 !important;
box-shadow: 0 0 1px #44b549;
}
.mobile-preview .mobile-footer li a span:before {
width: 1px;
height: 1px;
content: '';
display: inline-block;
}
.mobile-preview .mobile-footer li > .close {
top: 1px;
right: 1px;
width: 18px;
height: 18px;
display: none;
cursor: pointer;
position: absolute;
text-align: center;
line-height: 18px;
}
.mobile-preview .mobile-footer li:hover > .close {
display: inline-block;
}
.mobile-preview .mobile-footer li:hover > .close:hover {
color: #fff !important;
background: #999 !important;
}
.mobile-preview .mobile-footer .icon-add {
width: 14px;
height: 14px;
border-bottom: none !important;
background: url(../img/wechat/index.png) 0 0 no-repeat;
}
.mobile-preview .mobile-footer .icon-add,
.mobile-preview .mobile-footer .icon-sub {
display: inline-block;
vertical-align: middle;
}
.mobile-preview .mobile-footer .icon-sub {
width: 7px;
height: 7px;
margin-right: 2px;
background: url(../img/wechat/index.png) 0 -3pc no-repeat;
}
.mobile-preview .mobile-footer .sub-menu {
width: 100%;
bottom: 60px;
margin: -1px;
display: block;
position: absolute;
border: 1px solid #d0d0d0;
background-color: #fafafa;
}
.mobile-preview .mobile-footer .sub-menu ul,
.mobile-preview .mobile-footer .sub-menu ul li {
float: none;
padding: 0;
z-index: 11;
display: block;
width: 100%;
}
.mobile-preview .mobile-footer .sub-menu ul li a {
padding: 0 5px;
border: 1px solid hsla(0, 0%, 100%, 0);
}
.mobile-preview .mobile-footer .sub-menu ul li a.bottom-border {
margin: -1px -1px 0;
border-bottom: 1px solid #e7e7eb;
}
.mobile-preview .mobile-footer .sub-menu ul li:last-child a.bottom-border {
border-bottom-color: #fff;
}
.mobile-preview .mobile-footer .arrow {
left: 50%;
position: absolute;
margin-left: -6px;
}
.mobile-preview .mobile-footer .arrow_in,
.mobile-preview .mobile-footer .arrow_out {
width: 0;
height: 0;
z-index: 10;
display: inline-block;
border: 6px dashed transparent;
border-bottom-width: 0;
border-top-style: solid;
}
.mobile-preview .mobile-footer .arrow_in {
z-index: 3;
bottom: -5px;
border-top-color: #fafafa;
}
.mobile-preview .mobile-footer .arrow_out {
z-index: 2;
bottom: -6px;
border-top-color: #d0d0d0;
}
/*# sourceMappingURL=console.layout.css.map */ /*# sourceMappingURL=console.layout.css.map */

View File

@ -1 +1 @@
{"version":3,"sources":["console.layout.less"],"names":[],"mappings":";AACA,aACE;EACE,SAAA;EACA,SAAA;EACA,cAAA;;AAJJ,aAOE;EACE,SAAA;EACA,SAAA;EACA,cAAA;;AAVJ,aAOE,cAKE;EACE,gBAAA;;AAbN,aAOE,cAKE,cAGE;EACE,kBAAA;;AAhBR,aAOE,cAKE,cAOE;EACE,YAAA;EACA,YAAA;EACA,iBAAA;EACA,0CAAA;EACA,gBAAA;;;AAOR;EACE,YAAA;EACA,mBAAA;;AAFF,aAIE;EAEE,uCAAA;EACA,2CAAA;;AAPJ,aAUE;AAVF,aAWE;EACE,UAAA;;AAZJ,aAeE;EACE,WAAA;EACA,YAAA;EACA,YAAA;EACA,eAAA;EACA,iBAAA;EACA,2CAAA;EACA,4CAAA;;AAtBJ,aAeE,YASE;EACE,cAAA;EACA,gBAAA;;AA1BN,aA8BE;EACE,YAAA;EACA,iBAAA;;AAEA,aAJF,g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,uBACC;EACE,OAAA;;AAFJ,aAAC,uBAKC;EACE,aAAA;;AANJ,aAAC,uBASC;EACE,aAAA","file":"console.layout.css"} {"version":3,"sources":["console.layout.less"],"names":[],"mappings":";AACA,aACE;EACE,SAAA;EACA,SAAA;EACA,cAAA;;AAJJ,aAOE;EACE,SAAA;EACA,SAAA;EACA,cAAA;;AAVJ,aAOE,cAKE;EACE,gBAAA;;AAbN,aAOE,cAKE,cAGE;EACE,kBAAA;;AAhBR,aAOE,cAKE,cAOE;EACE,YAAA;EACA,YAAA;EACA,iBAAA;EACA,0CAAA;EACA,gBAAA;;;AAOR;EACE,YAAA;EACA,mBAAA;;AAFF,aAIE;EAEE,uCAAA;EACA,2CAAA;;AAPJ,aAUE;AAVF,aAWE;EACE,UAAA;;AAZJ,aAeE;EACE,WAAA;EACA,YAAA;EACA,YAAA;EACA,eAAA;EACA,iBAAA;EACA,2CAAA;EACA,4CAAA;;AAtBJ,aAeE,YASE;EACE,cAAA;EACA,gBAAA;;AA1BN,aA8BE;EACE,YAAA;EACA,iBAAA;;AAEA,aAJF,gBAIG;EACC,mBAAA;;AAnCN,aA8BE,gBAQE;EACE,WAAA;;AAvCN,aA8BE,gBAYE;EACE,SAAA;EACA,UAAA;EACA,YAAA;EACA,iBAAA;;AA9CN,aA8BE,gBAYE,iBAME;EACE,mBAAA;;AAGF,aAtBJ,gBAYE,iBAUG,WAAY;EACX,gBAAA;;AAGF,aA1BJ,gBAYE,iBAcG,WAAY,IAAI;EACf,WAAA;;AAzDR,aA8BE,gBAYE,iBAkBE,GAAG;EACD,UAAA;EACA,WAAA;EACA,kBAAA;EACA,6BAAA;;AAhER,aAqEE;AArEF,aAqEkB,gBAAe;EAC7B,aAAA;;AAtEJ,aAyEE,oBACE,KAAK;EACH,0CAAA;EACA,wCAAA;;;AAMN,aAEE,cACE;EACE,aAAA;;AAJN,aAEE,cAKE;EACE,WAAA;;AARN,aAEE,cASE;EACE,2CAAA;;AAZN,aAEE,cASE,gBAGE;E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AuCE,eAuEE;EACE,WAAA;EACA,YAAA;EACA,8BAAA;EACA,sDAAA;;AAlHN,eAuCE,eA8EE;AArHJ,eAuCE,eA8Ea;EACT,qBAAA;EACA,sBAAA;;AAvHN,eAuCE,eAmFE;EACE,UAAA;EACA,WAAA;EACA,iBAAA;EACA,yDAAA;;AA9HN,eAuCE,eA0FE;EACE,WAAA;EACA,YAAA;EACA,YAAA;EACA,cAAA;EACA,kBAAA;EACA,yBAAA;EACA,yBAAA;;AAxIN,eAuCE,eA0FE,UASE;AA1IN,eAuCE,eA0FE,UASM,GAAG;EACL,WAAA;EACA,UAAA;EACA,WAAA;EACA,cAAA;EACA,WAAA;;AA/IR,eAuCE,eA0FE,UAiBE,GAAG,GACD;EACE,cAAA;EACA,sCAAA;;AAEA,eAhHR,eA0FE,UAiBE,GAAG,GACD,EAIG;EACC,mBAAA;EACA,gCAAA;;AAIJ,eAtHN,eA0FE,UAiBE,GAAG,GAWA,WAAY,EAAC;EACZ,yBAAA;;AA9JV,eAuCE,eA4HE;EACE,SAAA;EACA,kBAAA;EACA,iBAAA;;AAtKN,eAuCE,eAkIE;AAzKJ,eAuCE,eAkIa;EACT,QAAA;EACA,SAAA;EACA,WAAA;EACA,qBAAA;EACA,8BAAA;EACA,sBAAA;EACA,uBAAA;;AAhLN,eAuCE,eA4IE;EACE,UAAA;EACA,YAAA;EACA,yBAAA;;AAtLN,eAuCE,eAkJE;EACE,UAAA;EACA,YAAA;EACA,yBAAA","file":"console.layout.css"}

View File

@ -105,6 +105,6 @@
vertical-align: middle; vertical-align: middle;
} }
.layui-badge { .layui-badge {
line-height: 20px line-height: 20px;
} }
/*# sourceMappingURL=console.layui.css.map */ /*# sourceMappingURL=console.layui.css.map */

View File

@ -1 +1 @@
{"version":3,"sources":["console.layui.less"],"names":[],"mappings":"AAAA,WAAW;EACT,gBAAA;;AAGF,oBAAqB,YAAW,WAAY;EAC1C,sBAAA;;AAGF,mBAAoB,qBAAqB;EACvC,mBAAA;EACA,iBAAA;;AAGF,oBAAqB;EACnB,iBAAA;;;AAIF;AAAc;EACZ,iBAAA;;AAIA,kBAAC;EACC,iBAAA;;AAGF,kBAAC;EACC,iBAAA;;;AAKJ,UACE,gBACE;EACE,MAAA;EACA,YAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EACA,aAAA;EACA,eAAA;EACA,kBAAA;EACA,uBAAA;EACA,kCAAA;EACA,mCAAA;;AAEA,UAdJ,gBACE,gBAaG;EACC,SAAS,OAAT;;AAIJ,UAnBF,gBAmBI;AAAkB,UAnBtB,gBAmBuB,EAAG;EACtB,YAAA;EACA,aAAA;EACA,WAAW,cAAX;EACA,cAAc,cAAd;EACA,eAAe,cAAf;EACA,gBAAgB,cAAhB;EACA,mBAAmB,cAAnB;;AAKN,YAEE;AAFF,YAEM;EACF,eAAA;;AAHJ,YAME;EACE,WAAA;EACA,eAAA;;AARJ,YAWE;EACE,sBAAA;EACA,6BAAA;EACA,4BAAA;EACA,6BAAA;;AAfJ,YAWE,oBAME;EACE,WAAA;EACA,mBAAA;;AAnBN,YAWE,oBAWE;EACE,WAAA;EACA,WAAA;EACA,YAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,iBAAA;;AA7BN,YAiCE;EACE,sBAAA;EACA,kBAAA;EACA,6BAAA;EACA,8BAAA;;AArCJ,YAiCE,qBAME;EACE,oBAAA;EACA,sBAAA;;AAzCN,YA6CE,GACE;EACE,WAAA;EACA,wBAAA;;AAEA,YALJ,GACE,cAIG;EACC,aAAA;EACA,UAAA;;AApDR,YA6CE,GAWE;EACE,WAAA;EACA,WAAA;EACA,YAAA;EACA,qBAAA;EACA,iBAAA;EACA,mCAAA;EACA,sBAAA;EACA,sBAAA","file":"console.layui.css"} {"version":3,"sources":["console.layui.less"],"names":[],"mappings":"AAAA,WAAW;EACT,gBAAA;;AAGF,oBAAqB,YAAW,WAAY;EAC1C,sBAAA;;AAGF,mBAAoB,qBAAqB;EACvC,mBAAA;EACA,iBAAA;;AAGF,oBAAqB;EACnB,iBAAA;;;AAIF;AAAc;EACZ,iBAAA;;AAIA,kBAAC;EACC,iBAAA;;AAGF,kBAAC;EACC,iBAAA;;;AAKJ,UACE,gBACE;EACE,MAAA;EACA,YAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EACA,aAAA;EACA,eAAA;EACA,kBAAA;EACA,uBAAA;EACA,kCAAA;EACA,mCAAA;;AAEA,UAdJ,gBACE,gBAaG;EACC,SAAS,OAAT;;AAIJ,UAnBF,gBAmBI;AAAkB,UAnBtB,gBAmBuB,EAAG;EACtB,YAAA;EACA,aAAA;EACA,WAAW,cAAX;EACA,cAAc,cAAd;EACA,eAAe,cAAf;EACA,gBAAgB,cAAhB;EACA,mBAAmB,cAAnB;;AAKN,YAEE;AAFF,YAEM;EACF,eAAA;;AAHJ,YAME;EACE,WAAA;EACA,eAAA;;AARJ,YAWE;EACE,sBAAA;EACA,6BAAA;EACA,4BAAA;EACA,6BAAA;;AAfJ,YAWE,oBAME;EACE,WAAA;EACA,mBAAA;;AAnBN,YAWE,oBAWE;EACE,WAAA;EACA,WAAA;EACA,YAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,iBAAA;;AA7BN,YAiCE;EACE,sBAAA;EACA,kBAAA;EACA,6BAAA;EACA,8BAAA;;AArCJ,YAiCE,qBAME;EACE,oBAAA;EACA,sBAAA;;AAzCN,YA6CE,GACE;EACE,WAAA;EACA,wBAAA;;AAEA,YALJ,GACE,cAIG;EACC,aAAA;EACA,UAAA;;AApDR,YA6CE,GAWE;EACE,WAAA;EACA,WAAA;EACA,YAAA;EACA,qBAAA;EACA,iBAAA;EACA,mCAAA;EACA,sBAAA;EACA,sBAAA;;AAKN;EACE,iBAAA","file":"console.layui.css"}

View File

@ -154,6 +154,7 @@ return array(
'think\\admin\\helper\\QueryHelper' => $vendorDir . '/zoujingli/think-library/src/helper/QueryHelper.php', 'think\\admin\\helper\\QueryHelper' => $vendorDir . '/zoujingli/think-library/src/helper/QueryHelper.php',
'think\\admin\\helper\\SaveHelper' => $vendorDir . '/zoujingli/think-library/src/helper/SaveHelper.php', 'think\\admin\\helper\\SaveHelper' => $vendorDir . '/zoujingli/think-library/src/helper/SaveHelper.php',
'think\\admin\\helper\\TokenHelper' => $vendorDir . '/zoujingli/think-library/src/helper/TokenHelper.php', 'think\\admin\\helper\\TokenHelper' => $vendorDir . '/zoujingli/think-library/src/helper/TokenHelper.php',
'think\\admin\\helper\\ValidateHelper' => $vendorDir . '/zoujingli/think-library/src/helper/ValidateHelper.php',
'think\\admin\\queue\\ListenQueue' => $vendorDir . '/zoujingli/think-library/src/queue/ListenQueue.php', 'think\\admin\\queue\\ListenQueue' => $vendorDir . '/zoujingli/think-library/src/queue/ListenQueue.php',
'think\\admin\\queue\\QueryQueue' => $vendorDir . '/zoujingli/think-library/src/queue/QueryQueue.php', 'think\\admin\\queue\\QueryQueue' => $vendorDir . '/zoujingli/think-library/src/queue/QueryQueue.php',
'think\\admin\\queue\\StartQueue' => $vendorDir . '/zoujingli/think-library/src/queue/StartQueue.php', 'think\\admin\\queue\\StartQueue' => $vendorDir . '/zoujingli/think-library/src/queue/StartQueue.php',

View File

@ -245,6 +245,7 @@ class ComposerStaticInit078c2496db47e2e94f2057948fdfa517
'think\\admin\\helper\\QueryHelper' => __DIR__ . '/..' . '/zoujingli/think-library/src/helper/QueryHelper.php', 'think\\admin\\helper\\QueryHelper' => __DIR__ . '/..' . '/zoujingli/think-library/src/helper/QueryHelper.php',
'think\\admin\\helper\\SaveHelper' => __DIR__ . '/..' . '/zoujingli/think-library/src/helper/SaveHelper.php', 'think\\admin\\helper\\SaveHelper' => __DIR__ . '/..' . '/zoujingli/think-library/src/helper/SaveHelper.php',
'think\\admin\\helper\\TokenHelper' => __DIR__ . '/..' . '/zoujingli/think-library/src/helper/TokenHelper.php', 'think\\admin\\helper\\TokenHelper' => __DIR__ . '/..' . '/zoujingli/think-library/src/helper/TokenHelper.php',
'think\\admin\\helper\\ValidateHelper' => __DIR__ . '/..' . '/zoujingli/think-library/src/helper/ValidateHelper.php',
'think\\admin\\queue\\ListenQueue' => __DIR__ . '/..' . '/zoujingli/think-library/src/queue/ListenQueue.php', 'think\\admin\\queue\\ListenQueue' => __DIR__ . '/..' . '/zoujingli/think-library/src/queue/ListenQueue.php',
'think\\admin\\queue\\QueryQueue' => __DIR__ . '/..' . '/zoujingli/think-library/src/queue/QueryQueue.php', 'think\\admin\\queue\\QueryQueue' => __DIR__ . '/..' . '/zoujingli/think-library/src/queue/QueryQueue.php',
'think\\admin\\queue\\StartQueue' => __DIR__ . '/..' . '/zoujingli/think-library/src/queue/StartQueue.php', 'think\\admin\\queue\\StartQueue' => __DIR__ . '/..' . '/zoujingli/think-library/src/queue/StartQueue.php',

View File

@ -805,12 +805,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "d59b40f099926275e5ecec372624ab7212c27bc0" "reference": "265496e70f48b940c755aeee1c78443662231e80"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/d59b40f099926275e5ecec372624ab7212c27bc0", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/265496e70f48b940c755aeee1c78443662231e80",
"reference": "d59b40f099926275e5ecec372624ab7212c27bc0", "reference": "265496e70f48b940c755aeee1c78443662231e80",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -826,7 +826,7 @@
"ext-json": "*", "ext-json": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2019-11-23T12:12:24+00:00", "time": "2019-11-26T06:05:05+00:00",
"type": "library", "type": "library",
"extra": { "extra": {
"think": { "think": {

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?php <?php
// This file is automatically generated at:2019-11-25 09:55:30 // This file is automatically generated at:2019-11-26 14:54:30
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\app\\Service', 0 => 'think\\app\\Service',

View File

@ -21,6 +21,7 @@ use think\admin\helper\PageHelper;
use think\admin\helper\QueryHelper; use think\admin\helper\QueryHelper;
use think\admin\helper\SaveHelper; use think\admin\helper\SaveHelper;
use think\admin\helper\TokenHelper; use think\admin\helper\TokenHelper;
use think\admin\helper\ValidateHelper;
use think\App; use think\App;
use think\db\exception\DataNotFoundException; use think\db\exception\DataNotFoundException;
use think\db\exception\DbException; use think\db\exception\DbException;
@ -226,27 +227,7 @@ class Controller extends \stdClass
*/ */
protected function _vali(array $rules, $type = '') protected function _vali(array $rules, $type = '')
{ {
list($data, $rule, $info) = [[], [], []]; return ValidateHelper::instance()->init($rules, $type);
foreach ($rules as $name => $message) {
if (stripos($name, '#') !== false) {
list($name, $alias) = explode('#', $name);
}
if (stripos($name, '.') === false) {
$data[$name] = empty($alias) ? $name : $alias;
} else {
list($_rgx) = explode(':', $name);
list($_key, $_rule) = explode('.', $name);
$info[$_rgx] = $message;
$data[$_key] = empty($alias) ? $_key : $alias;
$rule[$_key] = empty($rule[$_key]) ? $_rule : "{$rule[$_key]}|{$_rule}";
}
}
foreach ($data as $key => $name) $data[$key] = input("{$type}{$name}");
if ($this->app->validate->rule($rule)->message($info)->check($data)) {
return $data;
} else {
$this->error($this->app->validate->getError());
}
} }
/** /**

View File

@ -36,7 +36,7 @@ abstract class Helper
* 数据库实例 * 数据库实例
* @var Query * @var Query
*/ */
protected $query; public $query;
/** /**
* 当前控制器实例 * 当前控制器实例
@ -67,11 +67,10 @@ abstract class Helper
/** /**
* 实例对象反射 * 实例对象反射
* @param array $args 额外参数
* @return static * @return static
*/ */
public static function instance(array $args = []): Helper public static function instance(): Helper
{ {
return Container::getInstance()->invokeClass(static::class, $args); return Container::getInstance()->make(static::class);
} }
} }

View File

@ -15,8 +15,6 @@
namespace think\admin; namespace think\admin;
use think\admin\storage\LocalStorage;
use think\admin\storage\QiniuStorage;
use think\App; use think\App;
use think\Container; use think\Container;
use think\Exception; use think\Exception;

View File

@ -41,13 +41,13 @@ class FormHelper extends Helper
* 数据对象主键名称 * 数据对象主键名称
* @var array|string * @var array|string
*/ */
protected $pkField; protected $field;
/** /**
* 数据对象主键值 * 数据对象主键值
* @var string * @var string
*/ */
protected $pkValue; protected $value;
/** /**
* 表单模板文件 * 表单模板文件
@ -71,12 +71,12 @@ class FormHelper extends Helper
{ {
$this->query = $this->buildQuery($dbQuery); $this->query = $this->buildQuery($dbQuery);
list($this->template, $this->where, $this->data) = [$template, $where, $data]; list($this->template, $this->where, $this->data) = [$template, $where, $data];
$this->pkField = empty($field) ? ($this->query->getPk() ? $this->query->getPk() : 'id') : $field;; $this->field = empty($field) ? ($this->query->getPk() ? $this->query->getPk() : 'id') : $field;;
$this->pkValue = input($this->pkField, isset($data[$this->pkField]) ? $data[$this->pkField] : null); $this->value = input($this->field, isset($data[$this->field]) ? $data[$this->field] : null);
// GET请求, 获取数据并显示表单页面 // GET请求, 获取数据并显示表单页面
if ($this->app->request->isGet()) { if ($this->app->request->isGet()) {
if ($this->pkValue !== null) { if ($this->value !== null) {
$where = [$this->pkField => $this->pkValue]; $where = [$this->field => $this->value];
$data = (array)$this->query->where($where)->where($this->where)->find(); $data = (array)$this->query->where($where)->where($this->where)->find();
} }
$data = array_merge($data, $this->data); $data = array_merge($data, $this->data);
@ -89,7 +89,7 @@ class FormHelper extends Helper
if ($this->app->request->isPost()) { if ($this->app->request->isPost()) {
$data = array_merge($this->app->request->post(), $this->data); $data = array_merge($this->app->request->post(), $this->data);
if (false !== $this->controller->callback('_form_filter', $data, $this->where)) { if (false !== $this->controller->callback('_form_filter', $data, $this->where)) {
$result = data_save($this->query, $data, $this->pkField, $this->where); $result = data_save($this->query, $data, $this->field, $this->where);
if (false !== $this->controller->callback('_form_result', $result, $data)) { if (false !== $this->controller->callback('_form_result', $result, $data)) {
if ($result !== false) $this->controller->success('恭喜, 数据保存成功!', ''); if ($result !== false) $this->controller->success('恭喜, 数据保存成功!', '');
$this->controller->error('数据保存失败, 请稍候再试!'); $this->controller->error('数据保存失败, 请稍候再试!');

View File

@ -0,0 +1,58 @@
<?php
// +----------------------------------------------------------------------
// | Library for ThinkAdmin
// +----------------------------------------------------------------------
// | 版权所有 2014~2019 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://demo.thinkadmin.top
// +----------------------------------------------------------------------
// | 开源协议 ( https://mit-license.org )
// +----------------------------------------------------------------------
// | gitee 仓库地址 https://gitee.com/zoujingli/ThinkLibrary
// | github 仓库地址 https://github.com/zoujingli/ThinkLibrary
// +----------------------------------------------------------------------
namespace think\admin\helper;
use think\admin\Helper;
/**
* 快捷输入验证器
* Class ValidateHelper
* @package think\admin\helper
*/
class ValidateHelper extends Helper
{
/**
* 快捷输入并验证( 支持 规则 # 别名
* @param array $rules 验证规则( 验证信息数组
* @param string $type 输入方式 ( post. get. )
* @return array
*/
public function init(array $rules, $type = '')
{
list($data, $rule, $info) = [[], [], []];
foreach ($rules as $name => $message) {
if (stripos($name, '#') !== false) {
list($name, $alias) = explode('#', $name);
}
if (stripos($name, '.') === false) {
$data[$name] = empty($alias) ? $name : $alias;
} else {
list($_rgx) = explode(':', $name);
list($_key, $_rule) = explode('.', $name);
$info[$_rgx] = $message;
$data[$_key] = empty($alias) ? $_key : $alias;
$rule[$_key] = empty($rule[$_key]) ? $_rule : "{$rule[$_key]}|{$_rule}";
}
}
foreach ($data as $key => $name) $data[$key] = input("{$type}{$name}");
if ($this->app->validate->rule($rule)->message($info)->check($data)) {
return $data;
} else {
$this->controller->error($this->app->validate->getError());
}
}
}

View File

@ -45,9 +45,9 @@ class LocalStorage extends Storage
public function set($name, $file, $safe = false) public function set($name, $file, $safe = false)
{ {
try { try {
$file = $this->path($name, $safe); $path = $this->path($name, $safe);
file_exists(dirname($file)) || mkdir(dirname($file), 0755, true); file_exists(dirname($path)) || mkdir(dirname($path), 0755, true);
if (file_put_contents($file, $file)) return $this->info($name, $safe); if (file_put_contents($path, $file)) return $this->info($name, $safe);
} catch (\Exception $e) { } catch (\Exception $e) {
throw new \think\Exception("本地文件存储失败,{$e->getMessage()}"); throw new \think\Exception("本地文件存储失败,{$e->getMessage()}");
} }