ComposerUpdate & 调整后台样式

This commit is contained in:
Anyon 2020-07-05 12:53:21 +08:00
parent ad9f239cf9
commit 1fc96b1edb
8 changed files with 28 additions and 28 deletions

8
composer.lock generated
View File

@ -929,12 +929,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "327c1f1e995bc6344dc938e71c07f33f134c3dd5" "reference": "25f945ee112d0177cfb75942901fdd4b3bed2f07"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/327c1f1e995bc6344dc938e71c07f33f134c3dd5", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/25f945ee112d0177cfb75942901fdd4b3bed2f07",
"reference": "327c1f1e995bc6344dc938e71c07f33f134c3dd5", "reference": "25f945ee112d0177cfb75942901fdd4b3bed2f07",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -978,7 +978,7 @@
], ],
"description": "ThinkPHP v6.0 Development Library", "description": "ThinkPHP v6.0 Development Library",
"homepage": "http://framework.thinkadmin.top", "homepage": "http://framework.thinkadmin.top",
"time": "2020-06-24T09:42:59+00:00" "time": "2020-07-04T11:52:45+00:00"
}, },
{ {
"name": "zoujingli/wechat-developer", "name": "zoujingli/wechat-developer",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -654,22 +654,22 @@
border: 1px dashed #e2e2e2; border: 1px dashed #e2e2e2;
background: url('../img/upimg.png') no-repeat center center; background: url('../img/upimg.png') no-repeat center center;
background-size: cover; background-size: cover;
}
.uploadimage:hover span.layui-icon { span.layui-icon {
display: inline-block; display: none;
} width: 20px;
height: 20px;
text-align: center;
line-height: 22px;
color: #fff;
right: 0;
position: absolute;
background: rgba(0, 0, 0, .5)
}
.uploadimage span.layui-icon { &:hover span.layui-icon {
display: none; display: inline-block;
width: 20px; }
height: 20px;
text-align: center;
line-height: 22px;
color: #fff;
right: 0;
position: absolute;
background: rgba(0, 0, 0, .5)
} }
.uploadimagemtl { .uploadimagemtl {

View File

@ -79,5 +79,5 @@ body {
@import "console.custom.less"; @import "console.custom.less";
@import 'console.layout.less'; @import 'console.layout.less';
@import "console.form.less";
@import "console.layui.less"; @import "console.layui.less";
@import "console.form.less";

View File

@ -955,12 +955,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "327c1f1e995bc6344dc938e71c07f33f134c3dd5" "reference": "25f945ee112d0177cfb75942901fdd4b3bed2f07"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/327c1f1e995bc6344dc938e71c07f33f134c3dd5", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/25f945ee112d0177cfb75942901fdd4b3bed2f07",
"reference": "327c1f1e995bc6344dc938e71c07f33f134c3dd5", "reference": "25f945ee112d0177cfb75942901fdd4b3bed2f07",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -976,7 +976,7 @@
"ext-json": "*", "ext-json": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2020-06-24T09:42:59+00:00", "time": "2020-07-04T11:52:45+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:2020-07-04 19:39:35 // This file is automatically generated at:2020-07-05 12:36:34
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\app\\Service', 0 => 'think\\app\\Service',

View File

@ -320,8 +320,8 @@ class SystemService extends Service
*/ */
public function pushRuntime() public function pushRuntime()
{ {
$dbname = $this->app->db->getConnection()->getConfig('database'); $type = $this->app->db->getConfig('default');
$this->app->console->call("optimize:schema", ["--db={$dbname}"]); $this->app->console->call("optimize:schema", ["--connection={$type}"]);
foreach (NodeService::instance()->getModules() as $module) { foreach (NodeService::instance()->getModules() as $module) {
$path = $this->app->getRootPath() . 'runtime' . DIRECTORY_SEPARATOR . $module; $path = $this->app->getRootPath() . 'runtime' . DIRECTORY_SEPARATOR . $module;
file_exists($path) && is_dir($path) or mkdir($path, 0755, true); file_exists($path) && is_dir($path) or mkdir($path, 0755, true);