ComposerUpdate

This commit is contained in:
Anyon 2020-07-04 19:39:48 +08:00
parent 8b8c7806e9
commit ad9f239cf9
21 changed files with 548 additions and 2804 deletions

10
composer.lock generated
View File

@ -982,16 +982,16 @@
},
{
"name": "zoujingli/wechat-developer",
"version": "v1.2.21",
"version": "v1.2.22",
"source": {
"type": "git",
"url": "https://github.com/zoujingli/WeChatDeveloper.git",
"reference": "5cf008c37471f775ae28a23fd1ac06c91eac682f"
"reference": "7eb7f6a2d8aa4a105208c7dff6428dcecd0c7059"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zoujingli/WeChatDeveloper/zipball/5cf008c37471f775ae28a23fd1ac06c91eac682f",
"reference": "5cf008c37471f775ae28a23fd1ac06c91eac682f",
"url": "https://api.github.com/repos/zoujingli/WeChatDeveloper/zipball/7eb7f6a2d8aa4a105208c7dff6428dcecd0c7059",
"reference": "7eb7f6a2d8aa4a105208c7dff6428dcecd0c7059",
"shasum": "",
"mirrors": [
{
@ -1044,7 +1044,7 @@
"wechatpay",
"wepay"
],
"time": "2020-04-26T03:22:09+00:00"
"time": "2020-07-04T07:24:41+00:00"
}
],
"packages-dev": [],

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,441 +0,0 @@
.notdata {
padding: 15px;
display: block;
font-size: 13px;
text-align: center;
line-height: 22px;
letter-spacing: 8px;
border: 1px solid #e6e6e6;
background-color: #f2f2f2;
border-radius: 0 2px 2px 0;
}
.notselect {
user-select: none;
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
}
.transition {
transition: all 0.2s linear;
-o-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-webkit-transition: all 0.2s linear;
}
.absolute {
position: absolute !important;
}
.relative {
position: relative !important;
}
.block {
display: block !important;
}
.pointer {
cursor: pointer !important;
}
.nowrap {
white-space: nowrap !important;
}
.help-block {
color: #999;
font-size: 12px;
}
.inline-block {
display: inline-block !important;
}
.pull-left {
float: left !important;
}
.pull-right {
float: right !important;
}
.full-width {
width: 100% !important;
}
.full-height {
height: 100% !important;
}
.color-red {
color: #ec494e !important;
}
.color-blue {
color: #2494f2 !important;
}
.color-desc {
color: #999 !important;
}
.color-text {
color: #333 !important;
}
.color-green {
color: #090 !important;
}
.sub-span-red span {
color: #ec494e !important;
}
.sub-span-blue span {
color: #2494f2 !important;
}
.sub-span-desc span {
color: #999 !important;
}
.sub-span-text span {
color: #333 !important;
}
.sub-span-green span {
color: #090 !important;
}
.text-top {
vertical-align: top !important;
}
.text-left {
text-align: left !important;
}
.text-right {
text-align: right !important;
}
.text-center {
text-align: center !important;
}
.text-middle {
vertical-align: middle !important;
}
.text-bottom {
vertical-align: bottom !important;
}
.think-bg-white {
background: white !important;
}
.think-bg-blue {
background: linear-gradient(-125deg, #57bdbf, #2f9de2) !important;
}
.think-bg-orig {
background: linear-gradient(-141deg, #ecca1b, #f39526) !important;
}
.think-bg-red {
background: linear-gradient(-125deg, #ff7d7d, #fb2c95) !important;
}
.think-bg-violet {
background: linear-gradient(-113deg, #c543d8, #925cc3) !important;
}
/* 分隔线条 */
.hr-line-dashed {
color: #fff;
height: 1px;
margin: 15px 0;
background-color: #fff;
border-top: 1px dashed #e7eaec;
}
.hr-line-solid {
margin-top: 15px;
margin-bottom: 15px;
border-bottom: 1px solid #e7eaec;
background-color: rgba(0, 0, 0, 0);
}
/* 文字大小 */
.border-0 {
border: 0 !important;
}
.border-radius {
border-radius: 50% !important;
}
.border-radius-0 {
border-radius: 0 !important;
}
.border-radius-left-0 {
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
.border-radius-right-0 {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
.font-s10 {
font-size: 10px !important;
}
.font-s11 {
font-size: 11px !important;
}
.font-s12 {
font-size: 12px !important;
}
.font-s13 {
font-size: 13px !important;
}
.font-s14 {
font-size: 14px !important;
}
.font-s15 {
font-size: 15px !important;
}
.font-s16 {
font-size: 16px !important;
}
.font-s18 {
font-size: 18px !important;
}
.font-s20 {
font-size: 20px !important;
}
.font-s30 {
font-size: 30px !important;
}
.font-s40 {
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 !important;
}
.padding-5 {
padding: 5px !important;
}
.padding-10 {
padding: 10px !important;
}
.padding-15 {
padding: 15px !important;
}
.padding-20 {
padding: 20px !important;
}
.padding-25 {
padding: 25px !important;
}
.padding-30 {
padding: 30px !important;
}
.padding-40 {
padding: 40px !important;
}
.padding-top-0 {
padding-top: 0 !important;
}
.padding-top-5 {
padding-top: 5px !important;
}
.padding-top-10 {
padding-top: 10px !important;
}
.padding-top-15 {
padding-top: 15px !important;
}
.padding-top-20 {
padding-top: 20px !important;
}
.padding-top-30 {
padding-top: 30px !important;
}
.padding-top-40 {
padding-top: 40px !important;
}
.padding-left-0 {
padding-left: 0 !important;
}
.padding-left-5 {
padding-left: 5px !important;
}
.padding-left-10 {
padding-left: 10px !important;
}
.padding-left-15 {
padding-left: 15px !important;
}
.padding-left-20 {
padding-left: 20px !important;
}
.padding-left-30 {
padding-left: 30px !important;
}
.padding-left-40 {
padding-left: 40px !important;
}
.padding-right-0 {
padding-right: 0 !important;
}
.padding-right-5 {
padding-right: 5px !important;
}
.padding-right-10 {
padding-right: 10px !important;
}
.padding-right-15 {
padding-right: 15px !important;
}
.padding-right-20 {
padding-right: 20px !important;
}
.padding-right-30 {
padding-right: 30px !important;
}
.padding-right-40 {
padding-right: 40px !important;
}
.padding-bottom-0 {
padding-bottom: 0 !important;
}
.padding-bottom-5 {
padding-bottom: 5px !important;
}
.padding-bottom-10 {
padding-bottom: 10px !important;
}
.padding-bottom-15 {
padding-bottom: 15px !important;
}
.padding-bottom-20 {
padding-bottom: 20px !important;
}
.padding-bottom-30 {
padding-bottom: 30px !important;
}
.padding-bottom-40 {
padding-bottom: 40px !important;
}
.margin-0 {
margin: 0 !important;
}
.margin-5 {
margin: 5px !important;
}
.margin-10 {
margin: 10px !important;
}
.margin-15 {
margin: 15px !important;
}
.margin-20 {
margin: 20px !important;
}
.margin-25 {
margin: 25px !important;
}
.margin-30 {
margin: 30px !important;
}
.margin-40 {
margin: 40px !important;
}
.margin-top-0 {
margin-top: 0 !important;
}
.margin-top-5 {
margin-top: 5px !important;
}
.margin-top-10 {
margin-top: 10px !important;
}
.margin-top-15 {
margin-top: 15px !important;
}
.margin-top-20 {
margin-top: 20px !important;
}
.margin-top-25 {
margin-top: 25px !important;
}
.margin-top-30 {
margin-top: 30px !important;
}
.margin-top-40 {
margin-top: 40px !important;
}
.margin-left-0 {
margin-left: 0 !important;
}
.margin-left-5 {
margin-left: 5px !important;
}
.margin-left-10 {
margin-left: 10px !important;
}
.margin-left-15 {
margin-left: 15px !important;
}
.margin-left-20 {
margin-left: 20px !important;
}
.margin-left-25 {
margin-left: 25px !important;
}
.margin-left-30 {
margin-left: 30px !important;
}
.margin-left-40 {
margin-left: 40px !important;
}
.margin-right-0 {
margin-right: 0 !important;
}
.margin-right-5 {
margin-right: 5px !important;
}
.margin-right-10 {
margin-right: 10px !important;
}
.margin-right-15 {
margin-right: 15px !important;
}
.margin-right-20 {
margin-right: 20px !important;
}
.margin-right-25 {
margin-right: 25px !important;
}
.margin-right-30 {
margin-right: 30px !important;
}
.margin-right-40 {
margin-right: 40px !important;
}
.margin-bottom-0 {
margin-bottom: 0 !important;
}
.margin-bottom-5 {
margin-bottom: 5px !important;
}
.margin-bottom-10 {
margin-bottom: 10px !important;
}
.margin-bottom-15 {
margin-bottom: 15px !important;
}
.margin-bottom-20 {
margin-bottom: 20px !important;
}
.margin-bottom-25 {
margin-bottom: 25px !important;
}
.margin-bottom-30 {
margin-bottom: 30px !important;
}
.margin-bottom-40 {
margin-bottom: 40px !important;
}
/*# sourceMappingURL=console.custom.css.map */

View File

@ -1 +0,0 @@
{"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,UAAC,GAAI;EACH,cAAA;;AAGF,UAAC,IAAK;EACJ,cAAA;;AAGF,UAAC,IAAK;EACJ,WAAA;;AAGF,UAAC,IAAK;EACJ,WAAA;;AAGF,UAAC,KAAM;EACL,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;E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;;AAKF,OADD,MACE;EACC,eAAA;;AAGF,OALD,MAKE;EACC,iBAAA;;AAGF,OATD,MASE;EACC,kBAAA;;AAGF,OAbD,MAaE;EACC,kBAAA;;AAGF,OAjBD,MAiBE;EACC,kBAAA;;AAGF,OArBD,MAqBE;EACC,kBAAA;;AAGF,OAzBD,MAyBE;EACC,kBAAA;;AAGF,OA7BD,MA6BE;EACC,kBAAA;;AAKF,OADD,OACE;EACC,gBAAA;;AAGF,OALD,OAKE;EACC,kBAAA;;AAGF,OATD,OASE;EACC,mBAAA;;AAGF,OAbD,OAaE;EACC,mBAAA;;AAGF,OAjBD,OAiBE;EACC,mBAAA;;AAGF,OArBD,OAqBE;EACC,mBAAA;;AAGF,OAzBD,OAyBE;EACC,mBAAA;;AAGF,OA7BD,OA6BE;EACC,mBAAA","file":"console.custom.css"}

View File

@ -612,4 +612,367 @@
margin-bottom: 40px !important
}
}
}
.think-switch-button .layui-form-switch {
margin-top: 0
}
.input-right-icon {
top: 0;
right: 0;
width: 38px;
height: 38px;
display: inline-block;
position: absolute;
text-align: center;
line-height: 38px;
}
/** 加载进度 */
.pace-inactive {
display: none
}
.pace-progress {
top: 0;
right: 100%;
width: 100%;
height: 2px;
z-index: 2000;
position: fixed;
background: #22df80
}
.uploadimage {
width: 77px;
height: 77px;
cursor: pointer;
position: relative;
display: inline-block;
border: 1px dashed #e2e2e2;
background: url('../img/upimg.png') no-repeat center center;
background-size: cover;
}
.uploadimage:hover span.layui-icon {
display: inline-block;
}
.uploadimage span.layui-icon {
display: none;
width: 20px;
height: 20px;
text-align: center;
line-height: 22px;
color: #fff;
right: 0;
position: absolute;
background: rgba(0, 0, 0, .5)
}
.uploadimagemtl {
margin-right: 8px;
a {
color: #fff;
width: 20px;
height: 20px;
float: right;
display: none;
text-align: center;
line-height: 22px;
background: rgba(0, 0, 0, .5)
}
&:hover a {
cursor: pointer;
display: inline-block;
&:hover {
color: #fff;
text-decoration: none
}
}
}
[data-tips-image] {
cursor: zoom-in !important
}
.portal-block-container {
font-size: 14px;
letter-spacing: 1px;
.portal-block-icon {
top: 45%;
right: 8%;
font-size: 65px;
position: absolute;
color: rgba(255, 255, 255, 0.4);
}
.portal-block-item {
color: #fff;
line-height: 4em;
padding: 15px 25px;
position: relative;
> div:nth-child(2) {
font-size: 46px;
line-height: 46px;
}
}
}
/* 通用分页 */
.pagination-container {
line-height: 40px;
> span {
color: #666;
font-size: 9pt
}
> ul {
float: right;
display: inline-block;
margin: 0;
padding: 0;
> li {
z-index: 1;
display: inline-block;
&.active {
z-index: 2;
> span {
color: #fff;
border-color: #098;
padding-right: 1px;
background: #009688 !important
}
}
> a, > span {
color: #333;
width: 33px;
height: 30px;
border: 1px solid #dcdcdc;
display: inline-block;
margin-left: -1px;
text-align: center;
line-height: 28px
}
> span {
background: #dcdcdc;
cursor: default
}
> 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-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-body {
top: 60px;
left: 0;
right: 0;
bottom: 0;
position: absolute;
border: 1px solid #ccc;
background: #f5f5f5;
iframe {
width: 100%;
height: 100%
}
}
.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;
li {
float: left;
width: 33.33%;
position: relative;
text-align: center;
line-height: 50px;
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;
&:hover {
background: rgba(0, 0, 0, .02)
}
&.active {
border: 1px solid #44b549 !important;
box-shadow: 0 0 1px #44b549
}
span:before {
width: 1px;
height: 1px;
content: '';
display: inline-block
}
}
> .close {
top: 1px;
right: 1px;
width: 18px;
height: 18px;
display: none;
cursor: pointer;
position: absolute;
text-align: center;
line-height: 18px
}
&:hover > .close {
display: inline-block;
&:hover {
color: #fff !important;
background: #999 !important
}
}
}
.icon-add {
width: 14px;
height: 14px;
border-bottom: none !important;
background: url(../img/wechat/index.png) 0 0 no-repeat
}
.icon-add, .icon-sub {
display: inline-block;
vertical-align: middle
}
.icon-sub {
width: 7px;
height: 7px;
margin-right: 2px;
background: url(../img/wechat/index.png) 0 -3pc no-repeat
}
.sub-menu {
width: 100%;
bottom: 60px;
margin: -1px;
display: block;
position: absolute;
border: 1px solid #d0d0d0;
background-color: #fafafa;
ul, ul li {
float: none;
padding: 0;
z-index: 11;
display: block;
width: 100%
}
ul li {
a {
padding: 0 5px;
border: 1px solid hsla(0, 0%, 100%, 0);
&.bottom-border {
margin: -1px -1px 0;
border-bottom: 1px solid #e7e7eb
}
}
&:last-child a.bottom-border {
border-bottom-color: #fff
}
}
}
.arrow {
left: 50%;
position: absolute;
margin-left: -6px
}
.arrow_in, .arrow_out {
width: 0;
height: 0;
z-index: 10;
display: inline-block;
border: 6px dashed transparent;
border-bottom-width: 0;
border-top-style: solid
}
.arrow_in {
z-index: 3;
bottom: -5px;
border-top-color: #fafafa
}
.arrow_out {
z-index: 2;
bottom: -6px;
border-top-color: #d0d0d0
}
}
}

View File

@ -1,157 +0,0 @@
/* 弹框层表单 */
fieldset {
margin: 0;
border: 1px solid #e6e6e6;
padding: 10px 20px 5px 20px;
}
fieldset legend {
color: #666;
padding: 0 10px;
font-size: 14px;
}
.form-search .layui-btn {
height: 32px;
line-height: 28px;
font-size: 12px;
padding: 0 10px;
}
.form-search .layui-form-label {
width: auto !important;
padding: 0 8px;
height: 32px;
line-height: 30px;
}
.form-search .layui-input-inline {
width: 170px;
}
.form-search .layui-input-inline input,
.form-search .layui-input-inline select {
width: 100%;
height: 32px;
padding: 2px 8px;
line-height: 1em;
}
.form-search .layui-form-select dl {
top: 31px;
padding: 0;
}
.layui-form input.layui-input,
.layui-form select.layui-select {
line-height: 1em;
}
/* 表单验证异常提示 */
.label-required-prev:before {
width: 1em;
color: red;
content: '*';
display: inline-block;
position: absolute;
text-align: left;
font-weight: 700;
line-height: 1.6em;
margin-left: -0.8em;
}
.label-required:after,
.label-required-next:after {
top: 6px;
right: 5px;
color: red;
content: '*';
position: absolute;
margin-left: 4px;
font-weight: 700;
line-height: 1.8em;
}
.label-required-null:before {
content: none !important;
}
/** 自定义表单样式 */
.think-form-label {
padding: 9px 15px;
font-weight: 400;
line-height: 20px;
text-align: right;
}
.think-form-group-right {
border-left: none;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.think-form-group-left input {
border-right: none;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.think-box-shadow {
background: #fff;
padding: 20px 20px !important;
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}
/** checkbox & radio */
label.think-checkbox,
label.think-radio {
margin-right: 10px;
display: inline-block;
}
.think-checkbox,
.think-radio {
cursor: pointer;
margin-top: 10px;
font-weight: 400;
line-height: 17px;
}
.think-checkbox input[type=checkbox] {
width: 18px;
height: 18px;
border: 1px solid #dcdcdc;
cursor: pointer;
margin: 0 5px 0 0;
position: relative;
display: inline-block !important;
background: #fff;
appearance: none;
box-sizing: border-box !important;
border-radius: 1px;
vertical-align: bottom;
-webkit-appearance: none;
}
.think-checkbox input[type=checkbox]:checked:after {
color: #666;
padding: 2px;
display: block;
content: "\e605";
font-size: 12px;
font-style: normal;
font-weight: 700;
position: absolute;
font-family: layui-icon !important;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.think-radio input[type=radio] {
width: 18px;
height: 18px;
cursor: pointer;
margin: 0 5px 0 0;
position: relative;
border: 1px solid #dcdcdc;
display: inline-block !important;
box-sizing: border-box !important;
appearance: none;
background: #fff;
border-radius: 1em;
vertical-align: bottom;
-webkit-appearance: none;
}
.think-radio input[type=radio]:checked:after {
top: 4px;
left: 4px;
width: 8px;
height: 8px;
content: '';
display: block;
position: relative;
background: #666;
border-radius: 1em;
}
/*# sourceMappingURL=console.form.css.map */

View File

@ -1 +0,0 @@
{"version":3,"sources":["console.form.less"],"names":[],"mappings":";AACA;EACE,SAAA;EACA,yBAAA;EACA,2BAAA;;AAHF,QAKE;EACE,WAAA;EACA,eAAA;EACA,eAAA;;AAIJ,YACE;EACE,YAAA;EACA,iBAAA;EACA,eAAA;EACA,eAAA;;AALJ,YAQE;EACE,sBAAA;EACA,cAAA;EACA,YAAA;EACA,iBAAA;;AAZJ,YAeE;EACE,YAAA;;AAhBJ,YAeE,oBAGE;AAlBJ,YAeE,oBAGS;EACL,WAAA;EACA,YAAA;EACA,gBAAA;EACA,gBAAA;;AAtBN,YA0BE,mBAAmB;EACjB,SAAA;EACA,UAAA;;AAIJ,WACE,MAAK;AADP,WACqB,OAAM;EACvB,gBAAA;;;AAMF,eAAC,KAAK;EACJ,UAAA;EACA,UAAA;EACA,SAAS,GAAT;EACA,qBAAA;EACA,kBAAA;EACA,gBAAA;EACA,gBAAA;EACA,kBAAA;EACA,mBAAA;;AAGF,eAAC;AAAQ,eAAC,KAAK;EACb,QAAA;EACA,UAAA;EACA,UAAA;EACA,SAAS,GAAT;EACA,kBAAA;EACA,gBAAA;EACA,gBAAA;EACA,kBAAA;;AAGF,eAAC,KAAK;EACJ,aAAA;;;AAKJ;EACE,iBAAA;EACA,gBAAA;EACA,iBAAA;EACA,iBAAA;;AAGF;EACE,iBAAA;EACA,yBAAA;EACA,4BAAA;;AAGF,sBAAuB;EACrB,kBAAA;EACA,0BAAA;EACA,6BAAA;;AAGF;EACE,gBAAA;EACA,6BAAA;EACA,0CAAA;;;AAIF,KAAK;AAAiB,KAAK;EACzB,kBAAA;EACA,qBAAA;;AAGF;AAAiB;EACf,eAAA;EACA,gBAAA;EACA,gBAAA;EACA,iBAAA;;AAGF,eAAgB,MAAK;EACnB,WAAA;EACA,YAAA;EACA,yBAAA;EACA,eAAA;EACA,iBAAA;EACA,kBAAA;EACA,qBAAA;EACA,gBAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;EACA,wBAAA;;AAEA,eAfc,MAAK,eAelB,QAAQ;EACP,WAAA;EACA,YAAA;EACA,cAAA;EACA,SAAS,OAAT;EACA,eAAA;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,uBAAA;EACA,mCAAA;EACA,kCAAA;;AAIJ,YAAa,MAAK;EAChB,WAAA;EACA,YAAA;EACA,eAAA;EACA,iBAAA;EACA,kBAAA;EACA,yBAAA;EACA,qBAAA;EACA,sBAAA;EACA,gBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sBAAA;EACA,wBAAA;;AAEA,YAfW,MAAK,YAef,QAAQ;EACP,QAAA;EACA,SAAA;EACA,UAAA;EACA,WAAA;EACA,SAAS,EAAT;EACA,cAAA;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA","file":"console.form.css"}

View File

@ -1,4 +1,3 @@
/* 弹框层表单 */
fieldset {
margin: 0;
border: 1px solid #e6e6e6;

View File

@ -1,469 +0,0 @@
/* 页面布局 - 全局 */
.layui-layout > .layui-side {
top: 50px;
bottom: 0;
overflow: auto;
}
.layui-layout > .layui-body {
top: 50px;
bottom: 0;
overflow: auto;
}
.layui-layout > .layui-body > .layui-card {
box-shadow: none;
}
.layui-layout > .layui-body > .layui-card > .layui-card-body {
padding: 15px 15px;
}
.layui-layout > .layui-body > .layui-card > .layui-card-header {
height: 50px;
border: none;
line-height: 50px;
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
background: #fff;
}
/* 页面布局 - 头部 */
.layui-header {
height: 50px;
background: #393D49 !important;
}
.layui-header [data-target-menu-type] {
border-left: 1px solid rgba(0, 0, 0, 0);
border-right: 1px solid rgba(0, 0, 0, 0.15);
}
.layui-header .layui-layout-left,
.layui-header .layui-layout-right {
padding: 0;
}
.layui-header .layui-logo {
color: #fff;
width: 199px;
height: auto;
font-size: 18px;
line-height: 49px;
border-right: 1px solid rgba(0, 0, 0, 0.15);
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.layui-header .layui-logo sup {
font-size: 9px;
line-height: 9px;
}
.layui-header .layui-nav-item {
height: 50px;
line-height: 50px;
}
.layui-header .layui-nav-item.layui-this {
background: #009688;
}
.layui-header .layui-nav-item > a {
color: #fff !important;
}
.layui-header .layui-nav-item .layui-nav-child {
top: 49px;
padding: 0;
border: none;
line-height: 45px;
}
.layui-header .layui-nav-item .layui-nav-child + a {
padding-right: 35px;
}
.layui-header .layui-nav-item .layui-nav-child.layui-show + a {
background: #fff;
}
.layui-header .layui-nav-item .layui-nav-child.layui-show + a span {
color: #333;
}
.layui-header .layui-nav-item .layui-nav-child dd a {
padding: 0;
color: #333;
text-align: center;
border-top: 1px solid #eaedf1;
}
.layui-header .layui-nav-bar,
.layui-header .layui-nav-item:after {
display: none !important;
}
.layui-header .layui-layout-right > li > a {
border-left: 1px solid rgba(0, 0, 0, 0.15);
border-right: 1px solid rgba(0, 0, 0, 0);
}
/* 页面布局 - 左则 */
.layui-layout > .layui-side .layui-nav-bar {
display: none !important;
}
.layui-layout > .layui-side .layui-side-scroll {
width: 100% !important;
}
.layui-layout > .layui-side .layui-nav-item {
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.layui-layout > .layui-side .layui-nav-item a {
height: 45px;
display: block;
line-height: 45px;
color: #fff !important;
}
.layui-layout > .layui-side .layui-nav-item a:hover {
background: hsla(0, 0%, 39%, 0.2) !important;
}
.layui-layout > .layui-side .layui-nav-itemed {
border-bottom: none !important;
}
.layui-layout > .layui-side .layui-nav-tree-top a {
height: 28px !important;
line-height: 28px !important;
}
.layui-layout.layui-layout-left-mini > .layui-body {
left: 50px;
}
.layui-layout.layui-layout-left-mini > .layui-side .layui-nav-more {
display: none !important;
}
.layui-layout.layui-layout-left-mini > .layui-side .layui-nav-item a {
padding: 0;
}
.layui-layout.layui-layout-left-mini > .layui-side .layui-nav-item .nav-text {
display: none;
}
.layui-layout.layui-layout-left-mini > .layui-side .layui-nav-item .nav-icon {
display: inline-block !important;
padding: 0 !important;
}
.layui-layout.layui-layout-left-mini > .layui-side .layui-nav-item .layui-nav-child {
padding: 0;
display: block !important;
background-color: rgba(0, 0, 0, 0.3) !important;
}
.layui-layout.layui-layout-left-mini > .layui-side,
.layui-layout.layui-layout-left-mini > .layui-side .layui-nav-tree,
.layui-layout.layui-layout-left-mini > .layui-side .layui-side-scroll {
width: 50px;
text-align: center;
}
.layui-layout.layui-layout-left-mini [data-target-menu-type] i {
display: inline-block;
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
-ms-transform: rotate(180deg);
}
.layui-layout.layui-layout-left-hide > .layui-body {
left: 0 !important;
}
.layui-layout.layui-layout-left-hide > .layui-side {
display: none;
}
.layui-layout.layui-layout-left-hide [data-target-menu-type] {
display: none;
}
.think-switch-button .layui-form-switch {
margin-top: 0;
}
.input-right-icon {
top: 0;
right: 0;
width: 38px;
height: 38px;
display: inline-block;
position: absolute;
text-align: center;
line-height: 38px;
}
/** 加载进度 */
.pace-inactive {
display: none;
}
.pace-progress {
top: 0;
right: 100%;
width: 100%;
height: 2px;
z-index: 2000;
position: fixed;
background: #22df80;
}
.uploadimage {
width: 77px;
height: 77px;
cursor: pointer;
position: relative;
display: inline-block;
border: 1px dashed #e2e2e2;
background: url('../img/upimg.png') no-repeat center center;
background-size: cover;
}
.uploadimage:hover span.layui-icon {
display: inline-block;
}
.uploadimage span.layui-icon {
display: none;
width: 20px;
height: 20px;
text-align: center;
line-height: 22px;
color: #fff;
right: 0;
position: absolute;
background: rgba(0, 0, 0, 0.5);
}
.uploadimagemtl {
margin-right: 8px;
}
.uploadimagemtl a {
color: #fff;
width: 20px;
height: 20px;
float: right;
display: none;
text-align: center;
line-height: 22px;
background: rgba(0, 0, 0, 0.5);
}
.uploadimagemtl:hover a {
cursor: pointer;
display: inline-block;
}
.uploadimagemtl:hover a:hover {
color: #fff;
text-decoration: none;
}
[data-tips-image] {
cursor: zoom-in !important;
}
.portal-block-container {
font-size: 14px;
letter-spacing: 1px;
}
.portal-block-container .portal-block-icon {
top: 45%;
right: 8%;
font-size: 65px;
position: absolute;
color: rgba(255, 255, 255, 0.4);
}
.portal-block-container .portal-block-item {
color: #fff;
line-height: 4em;
padding: 15px 25px;
position: relative;
}
.portal-block-container .portal-block-item > div:nth-child(2) {
font-size: 46px;
line-height: 46px;
}
/* 通用分页 */
.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 */

View File

@ -1 +0,0 @@
{"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,iBA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,4 +1,3 @@
/* 页面布局 - 全局 */
.layui-layout {
> .layui-side {
top: 50px;
@ -12,18 +11,44 @@
overflow: auto;
> .layui-card {
width: 100%;
height: 100%;
box-shadow: none;
> .layui-card-body {
padding: 15px 15px
}
> .layui-card-header {
left: 0;
right: 0;
z-index: 3;
height: 50px;
border: none;
position: absolute;
background: #fff;
line-height: 50px;
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);
background: #fff
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
}
> .layui-card-header + .layui-card-body {
top: 50px;
}
> .layui-card-body {
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 2;
padding: 15px;
overflow: auto;
position: absolute;
.layui-tab.layui-tab-card {
border: none;
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
}
.layui-tab.layui-tab-card > .layui-tab-content.think-box-shadow {
box-shadow: none;
}
}
}
}
@ -35,13 +60,12 @@
background: #393D49 !important;
[data-target-menu-type] {
// box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .15);
border-left: 1px solid rgba(0, 0, 0, 0);
border-right: 1px solid rgba(0, 0, 0, .15);
}
.layui-layout-left,
.layui-layout-right {
.layui-layout-left, .layui-layout-right {
margin: 0;
padding: 0
}
@ -193,9 +217,9 @@
[data-target-menu-type] i {
display: inline-block;
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
-ms-transform: rotate(180deg)
-ms-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
}
}
@ -214,364 +238,3 @@
}
}
.think-switch-button .layui-form-switch {
margin-top: 0
}
.input-right-icon {
top: 0;
right: 0;
width: 38px;
height: 38px;
display: inline-block;
position: absolute;
text-align: center;
line-height: 38px;
}
/** 加载进度 */
.pace-inactive {
display: none
}
.pace-progress {
top: 0;
right: 100%;
width: 100%;
height: 2px;
z-index: 2000;
position: fixed;
background: #22df80
}
.uploadimage {
width: 77px;
height: 77px;
cursor: pointer;
position: relative;
display: inline-block;
border: 1px dashed #e2e2e2;
background: url('../img/upimg.png') no-repeat center center;
background-size: cover;
}
.uploadimage:hover span.layui-icon {
display: inline-block;
}
.uploadimage span.layui-icon {
display: none;
width: 20px;
height: 20px;
text-align: center;
line-height: 22px;
color: #fff;
right: 0;
position: absolute;
background: rgba(0, 0, 0, .5)
}
.uploadimagemtl {
margin-right: 8px;
a {
color: #fff;
width: 20px;
height: 20px;
float: right;
display: none;
text-align: center;
line-height: 22px;
background: rgba(0, 0, 0, .5)
}
&:hover a {
cursor: pointer;
display: inline-block;
&:hover {
color: #fff;
text-decoration: none
}
}
}
[data-tips-image] {
cursor: zoom-in !important
}
.portal-block-container {
font-size: 14px;
letter-spacing: 1px;
.portal-block-icon {
top: 45%;
right: 8%;
font-size: 65px;
position: absolute;
color: rgba(255, 255, 255, 0.4);
}
.portal-block-item {
color: #fff;
line-height: 4em;
padding: 15px 25px;
position: relative;
> div:nth-child(2) {
font-size: 46px;
line-height: 46px;
}
}
}
/* 通用分页 */
.pagination-container {
line-height: 40px;
> span {
color: #666;
font-size: 9pt
}
> ul {
float: right;
display: inline-block;
margin: 0;
padding: 0;
> li {
z-index: 1;
display: inline-block;
&.active {
z-index: 2;
> span {
color: #fff;
border-color: #098;
padding-right: 1px;
background: #009688 !important
}
}
> a, > span {
color: #333;
width: 33px;
height: 30px;
border: 1px solid #dcdcdc;
display: inline-block;
margin-left: -1px;
text-align: center;
line-height: 28px
}
> span {
background: #dcdcdc;
cursor: default
}
> 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-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-body {
top: 60px;
left: 0;
right: 0;
bottom: 0;
position: absolute;
border: 1px solid #ccc;
background: #f5f5f5;
iframe {
width: 100%;
height: 100%
}
}
.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;
li {
float: left;
width: 33.33%;
position: relative;
text-align: center;
line-height: 50px;
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;
&:hover {
background: rgba(0, 0, 0, .02)
}
&.active {
border: 1px solid #44b549 !important;
box-shadow: 0 0 1px #44b549
}
span:before {
width: 1px;
height: 1px;
content: '';
display: inline-block
}
}
> .close {
top: 1px;
right: 1px;
width: 18px;
height: 18px;
display: none;
cursor: pointer;
position: absolute;
text-align: center;
line-height: 18px
}
&:hover > .close {
display: inline-block;
&:hover {
color: #fff !important;
background: #999 !important
}
}
}
.icon-add {
width: 14px;
height: 14px;
border-bottom: none !important;
background: url(../img/wechat/index.png) 0 0 no-repeat
}
.icon-add, .icon-sub {
display: inline-block;
vertical-align: middle
}
.icon-sub {
width: 7px;
height: 7px;
margin-right: 2px;
background: url(../img/wechat/index.png) 0 -3pc no-repeat
}
.sub-menu {
width: 100%;
bottom: 60px;
margin: -1px;
display: block;
position: absolute;
border: 1px solid #d0d0d0;
background-color: #fafafa;
ul, ul li {
float: none;
padding: 0;
z-index: 11;
display: block;
width: 100%
}
ul li {
a {
padding: 0 5px;
border: 1px solid hsla(0, 0%, 100%, 0);
&.bottom-border {
margin: -1px -1px 0;
border-bottom: 1px solid #e7e7eb
}
}
&:last-child a.bottom-border {
border-bottom-color: #fff
}
}
}
.arrow {
left: 50%;
position: absolute;
margin-left: -6px
}
.arrow_in, .arrow_out {
width: 0;
height: 0;
z-index: 10;
display: inline-block;
border: 6px dashed transparent;
border-bottom-width: 0;
border-top-style: solid
}
.arrow_in {
z-index: 3;
bottom: -5px;
border-top-color: #fafafa
}
.arrow_out {
z-index: 2;
bottom: -6px;
border-top-color: #d0d0d0
}
}
}

View File

@ -1,107 +0,0 @@
.layui-form.layui-card {
box-shadow: none;
}
.layui-layer-content .layui-form.layui-card .layui-card-body {
padding: 30px 40px 0 0;
}
.layui-layer-dialog .layui-layer-content .layui-layer-ico {
top: 50% !important;
margin-top: -15px !important;
}
.laydate-footer-btns span {
line-height: 24px !important;
}
/** Layui样式调整 */
.layui-input,
.layui-select {
line-height: 38px;
}
.layui-btn-primary.layui-btn-xs {
line-height: 20px;
}
.layui-btn-primary.layui-btn-sm {
line-height: 28px;
}
/* 下拉样式 */
.layui-nav .layui-nav-item .layui-nav-more {
top: 0;
border: none;
right: 15px;
width: auto;
height: auto;
margin-top: 0;
font-size: 14px;
font-style: normal;
font-family: "layui-icon" !important;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
.layui-nav .layui-nav-item .layui-nav-more::before {
content: "\e619";
}
.layui-nav .layui-nav-item .layui-nav-mored,
.layui-nav .layui-nav-itemed .layui-nav-more {
border: none;
margin-top: 0;
transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
}
.layui-table td,
.layui-table th {
font-size: 12px;
}
.layui-table .list-table-image {
width: 22px;
cursor: pointer;
}
.layui-table .list-table-sort-td {
width: 10px !important;
text-align: center !important;
padding-left: 5px !important;
padding-right: 5px !important;
}
.layui-table .list-table-sort-td button {
width: 56px;
background: #009688;
}
.layui-table .list-table-sort-td input {
width: 50px;
color: #666;
padding: 2px;
border: 1px solid #e6e6e6;
text-align: center;
font-size: 9pt;
line-height: 18px;
}
.layui-table .list-table-check-td {
width: 10px !important;
text-align: center;
padding-left: 15px !important;
padding-right: 15px !important;
}
.layui-table .list-table-check-td input {
margin: 0 !important;
vertical-align: middle;
}
.layui-table td .text-explode {
color: #ccc !important;
margin: 0 4px !important;
}
.layui-table td .text-explode:first-child {
display: none;
opacity: 0;
}
.layui-table td .background-image {
float: left;
width: 40px;
height: 40px;
display: inline-block;
margin-right: 5px;
background: no-repeat center center;
background-size: cover;
vertical-align: middle;
}
/*# sourceMappingURL=console.layui.css.map */

View File

@ -1 +0,0 @@
{"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,aAAa,YAAb;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"}

View File

@ -5,7 +5,7 @@
// +----------------------------------------------------------------------
// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: https://thinkadmin.top
// | 官方网站: http://demo.thinkadmin.top
// +----------------------------------------------------------------------
// | 开源协议 ( https://mit-license.org )
// +----------------------------------------------------------------------
@ -77,7 +77,7 @@ body {
}
}
@import "console.custom.less";
@import 'console.layout.less';
@import "console.form.less";
@import "console.layui.less";
@import 'console.layout.less';
@import "console.custom.less";

View File

@ -5,7 +5,7 @@
// +----------------------------------------------------------------------
// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: https://thinkadmin.top
// | 官方网站: http://demo.thinkadmin.top
// +----------------------------------------------------------------------
// | 开源协议 ( https://mit-license.org )
// +----------------------------------------------------------------------

View File

@ -1009,17 +1009,17 @@
},
{
"name": "zoujingli/wechat-developer",
"version": "v1.2.21",
"version_normalized": "1.2.21.0",
"version": "v1.2.22",
"version_normalized": "1.2.22.0",
"source": {
"type": "git",
"url": "https://github.com/zoujingli/WeChatDeveloper.git",
"reference": "5cf008c37471f775ae28a23fd1ac06c91eac682f"
"reference": "7eb7f6a2d8aa4a105208c7dff6428dcecd0c7059"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zoujingli/WeChatDeveloper/zipball/5cf008c37471f775ae28a23fd1ac06c91eac682f",
"reference": "5cf008c37471f775ae28a23fd1ac06c91eac682f",
"url": "https://api.github.com/repos/zoujingli/WeChatDeveloper/zipball/7eb7f6a2d8aa4a105208c7dff6428dcecd0c7059",
"reference": "7eb7f6a2d8aa4a105208c7dff6428dcecd0c7059",
"shasum": "",
"mirrors": [
{
@ -1039,7 +1039,7 @@
"ext-xml": "*",
"php": ">=5.4"
},
"time": "2020-04-26T03:22:09+00:00",
"time": "2020-07-04T07:24:41+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?php
// This file is automatically generated at:2020-07-03 17:42:19
// This file is automatically generated at:2020-07-04 19:39:35
declare (strict_types = 1);
return array (
0 => 'think\\app\\Service',

View File

@ -86,7 +86,7 @@ class We
* 定义当前版本
* @var string
*/
const VERSION = '1.2.21';
const VERSION = '1.2.22';
/**
* 静态配置

View File

@ -205,17 +205,15 @@ class BasicWeChat
* @param string $url 接口地址
* @param string $method 当前接口方法
* @param array $arguments 请求参数
* @return mixed
* @return string
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
protected function registerApi(&$url, $method, $arguments = [])
{
$this->currentMethod = ['method' => $method, 'arguments' => $arguments];
if (empty($this->access_token)) {
$this->access_token = $this->getAccessToken();
}
return $url = str_replace('ACCESS_TOKEN', $this->access_token, $url);
if (empty($this->access_token)) $this->access_token = $this->getAccessToken();
return $url = str_replace('ACCESS_TOKEN', urlencode($this->access_token), $url);
}
/**

View File

@ -23,6 +23,19 @@ use WeChat\Contracts\BasicWeChat;
*/
class Live extends BasicWeChat
{
/**
* 创建直播间
* @param array $data
* @return array
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function create($data)
{
$url = 'https://api.weixin.qq.com/wxaapi/broadcast/room/create?access_token=ACCESS_TOKEN';
$this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, $data, true);
}
/**
* 获取直播房间列表
@ -34,7 +47,7 @@ class Live extends BasicWeChat
*/
public function getLiveList($start = 0, $limit = 10)
{
$url = 'http://api.weixin.qq.com/wxa/business/getliveinfo?access_token=ACCESS_TOKEN';
$url = 'https://api.weixin.qq.com/wxa/business/getliveinfo?access_token=ACCESS_TOKEN';
$this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, ['start' => $start, 'limit' => $limit], true);
}
@ -48,7 +61,119 @@ class Live extends BasicWeChat
*/
public function getLiveInfo($data = [])
{
$url = 'http://api.weixin.qq.com/wxa/business/getliveinfo?access_token=ACCESS_TOKEN';
$url = 'https://api.weixin.qq.com/wxa/business/getliveinfo?access_token=ACCESS_TOKEN';
$this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, $data, true);
}
/**
* 直播间导入商品
* @param array $data
* @return array
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function addLiveGoods($data = [])
{
$url = 'https://api.weixin.qq.com/wxaapi/broadcast/room/addgoods?access_token=ACCESS_TOKEN';
$this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, $data, true);
}
/**
* 商品添加并提审
* @param array $data
* @return array
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function addGoods($data)
{
$url = "https://api.weixin.qq.com/wxaapi/broadcast/goods/add?access_token=ACCESS_TOKEN";
$this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, $data, true);
}
/**
* 商品撤回审核
* @param array $data
* @return array
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function resetAuditGoods($data)
{
$url = "https://api.weixin.qq.com/wxaapi/broadcast/goods/resetaudit?access_token=ACCESS_TOKEN";
$this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, $data, true);
}
/**
* 重新提交审核
* @param array $data
* @return array
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function auditGoods($data)
{
$url = "https://api.weixin.qq.com/wxaapi/broadcast/goods/audit?access_token=ACCESS_TOKEN";
$this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, $data, true);
}
/**
* 删除商品
* @param array $data
* @return array
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function deleteGoods($data)
{
$url = "https://api.weixin.qq.com/wxaapi/broadcast/goods/delete?access_token=ACCESS_TOKEN";
$this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, $data, true);
}
/**
* 更新商品
* @param array $data
* @return array
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function updateGoods($data)
{
$url = "https://api.weixin.qq.com/wxaapi/broadcast/goods/update?access_token=ACCESS_TOKEN";
$this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, $data, true);
}
/**
* 获取商品状态
* @param array $data
* @return array
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function stateGoods($data)
{
$url = "https://api.weixin.qq.com/wxa/business/getgoodswarehouse?access_token=ACCESS_TOKEN";
$this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, $data, true);
}
/**
* 获取商品列表
* @param array $data
* @return array
* @throws \WeChat\Exceptions\InvalidResponseException
* @throws \WeChat\Exceptions\LocalCacheException
*/
public function getGoods($data)
{
$url = "https://api.weixin.qq.com/wxaapi/broadcast/goods/getapproved?access_token=ACCESS_TOKEN";
$this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, $data, true);
}