1
0
mirror of https://gitee.com/zoujingli/ThinkAdmin.git synced 2025-04-06 03:58:04 +08:00

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

@ -929,12 +929,12 @@
"source": {
"type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "327c1f1e995bc6344dc938e71c07f33f134c3dd5"
"reference": "25f945ee112d0177cfb75942901fdd4b3bed2f07"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/327c1f1e995bc6344dc938e71c07f33f134c3dd5",
"reference": "327c1f1e995bc6344dc938e71c07f33f134c3dd5",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/25f945ee112d0177cfb75942901fdd4b3bed2f07",
"reference": "25f945ee112d0177cfb75942901fdd4b3bed2f07",
"shasum": "",
"mirrors": [
{
@ -978,7 +978,7 @@
],
"description": "ThinkPHP v6.0 Development Library",
"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",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -654,22 +654,22 @@
border: 1px dashed #e2e2e2;
background: url('../img/upimg.png') no-repeat center center;
background-size: cover;
}
.uploadimage:hover span.layui-icon {
display: inline-block;
}
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)
}
.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)
&:hover span.layui-icon {
display: inline-block;
}
}
.uploadimagemtl {

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

@ -955,12 +955,12 @@
"source": {
"type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "327c1f1e995bc6344dc938e71c07f33f134c3dd5"
"reference": "25f945ee112d0177cfb75942901fdd4b3bed2f07"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/327c1f1e995bc6344dc938e71c07f33f134c3dd5",
"reference": "327c1f1e995bc6344dc938e71c07f33f134c3dd5",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/25f945ee112d0177cfb75942901fdd4b3bed2f07",
"reference": "25f945ee112d0177cfb75942901fdd4b3bed2f07",
"shasum": "",
"mirrors": [
{
@ -976,7 +976,7 @@
"ext-json": "*",
"topthink/framework": "^6.0"
},
"time": "2020-06-24T09:42:59+00:00",
"time": "2020-07-04T11:52:45+00:00",
"type": "library",
"extra": {
"think": {

2
vendor/services.php vendored

@ -1,5 +1,5 @@
<?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);
return array (
0 => 'think\\app\\Service',

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