From eaf2881826af6790c2cfc3c6050f56cfc6c307f5 Mon Sep 17 00:00:00 2001 From: tangyi <275503107@qq.com> Date: Thu, 6 Jan 2022 18:10:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/database.php | 10 +++++----- public/static/css/style.css | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/database.php b/config/database.php index 5b667dc..65e243f 100644 --- a/config/database.php +++ b/config/database.php @@ -22,13 +22,13 @@ return [ // 数据库类型 'type' => Env::get('database.type', 'mysql'), // 服务器地址 - 'hostname' => Env::get('database.hostname', '127.0.0.1'), + 'hostname' => Env::get('database.hostname', '211.149.245.223'), // 数据库名 - 'database' => Env::get('database.database', ''), + 'database' => Env::get('database.database', 'cy_scdxtc_cn'), // 用户名 - 'username' => Env::get('database.username', 'root'), + 'username' => Env::get('database.username', 'cy_scdxtc_cn'), // 密码 - 'password' => Env::get('database.password', ''), + 'password' => Env::get('database.password', 'kid3nrMxFaKafKEf'), // 端口 'hostport' => Env::get('database.hostport', '3306'), // 数据库连接参数 @@ -36,7 +36,7 @@ return [ // 数据库编码默认采用utf8 'charset' => Env::get('database.charset', 'utf8'), // 数据库表前缀 - 'prefix' => Env::get('database.prefix', ''), + 'prefix' => Env::get('database.prefix', 'bee_'), // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器) 'deploy' => 0, diff --git a/public/static/css/style.css b/public/static/css/style.css index 76f4e7d..595f51c 100644 --- a/public/static/css/style.css +++ b/public/static/css/style.css @@ -91,7 +91,7 @@ input,select,textarea{outline:medium none; resize: none;} .all-center-box{ width: 100%; float: left;} -.head-box{ position: absolute; left: 0; top:8rem; z-index: 99; color: #fff; transition: all .6s;} +.head-box{ position: absolute; left: 0; top:4rem; z-index: 99; color: #fff; transition: all .6s;} .head-box .w-1500{ transition: all .6s;} .head-box .center-block{ background: #00418f; box-shadow: 0 0 0.625rem rgba(0,0,0,0.1);} .head-box .center-block .logo{ width: 14.375rem; height: 5.9375rem; text-align: center; background: #fff;} @@ -173,7 +173,7 @@ input,select,textarea{outline:medium none; resize: none;} .foot-box .lower-box .ewm img{ width: 134px;} .foot-box .lower-box .ewm p{ margin-top: 0.3125rem;} -.page-banner{ height: 40.625rem; position: relative; background-position: center; background-size: cover; position: relative; z-index: 2;} +.page-banner{ height: 100vh; position: relative; background-position: center; background-size: cover; position: relative; z-index: 2;} .page-banner .info{ width: 100%; position: absolute; left: 0; bottom: 2.5rem; color: #fff; padding-bottom: ;} .page-banner .info strong{ font-size: 3.125rem; text-shadow: 0 0 5px rgba(0,0,0,0.5);} .page-banner .info p{ font-size: 1.875rem; text-shadow: 0 0 5px rgba(0,0,0,0.5);}