diff --git a/app/admin/view/default/public/loading.html b/app/admin/view/default/public/loading.html index f6347b4f0..f8b38a2d4 100644 --- a/app/admin/view/default/public/loading.html +++ b/app/admin/view/default/public/loading.html @@ -1,3 +1,3 @@ -
+

处理中...

\ No newline at end of file diff --git a/app/index/view/default/category/index.html b/app/index/view/default/category/index.html index 90911eb12..93d1dea98 100755 --- a/app/index/view/default/category/index.html +++ b/app/index/view/default/category/index.html @@ -105,7 +105,7 @@
没有子分类数据 -

+

查看分类下商品 >>

diff --git a/app/index/view/default/config.json b/app/index/view/default/config.json index d070512e2..c5329764d 100755 --- a/app/index/view/default/config.json +++ b/app/index/view/default/config.json @@ -1,6 +1,6 @@ { "name":"默认主题", - "ver":"2.3.0", + "ver":"2.3.1", "author":"Devil", "home":"https://shopxo.net/" } \ No newline at end of file diff --git a/app/index/view/default/public/loading.html b/app/index/view/default/public/loading.html index 37a179964..4644bd2bc 100644 --- a/app/index/view/default/public/loading.html +++ b/app/index/view/default/public/loading.html @@ -1,4 +1,4 @@ -
+

处理中...

\ No newline at end of file diff --git a/app/install/controller/Index.php b/app/install/controller/Index.php index f081b328e..d73c3e979 100755 --- a/app/install/controller/Index.php +++ b/app/install/controller/Index.php @@ -69,11 +69,11 @@ class Index extends Common */ private function IsInstall() { - // 是否已安装 if(file_exists(ROOT.'config/database.php')) { - exit('你已经安装过该系统,重新安装需要先删除 ./config/database.php 文件'); + return DataReturn('你已经安装过该系统,重新安装需要先删除 ./config/database.php 文件', -1); } + return DataReturn('success', 0); } /** @@ -86,7 +86,11 @@ class Index extends Common */ public function Index() { - $this->IsInstall(); + $ret = $this->IsInstall(); + if($ret['code'] != 0) + { + exit($ret['msg']); + } $this->behavior_obj->ReportInstallLog(['msg'=>'协议阅读']); return MyView(); } @@ -101,7 +105,11 @@ class Index extends Common */ public function Check() { - $this->IsInstall(); + $ret = $this->IsInstall(); + if($ret['code'] != 0) + { + exit($ret['msg']); + } $this->behavior_obj->ReportInstallLog(['msg'=>'环境检测']); return MyView(); } @@ -116,7 +124,11 @@ class Index extends Common */ public function Create() { - $this->IsInstall(); + $ret = $this->IsInstall(); + if($ret['code'] != 0) + { + exit($ret['msg']); + } $this->behavior_obj->ReportInstallLog(['msg'=>'数据信息填写']); MyViewAssign('charset_type_list' , $this->charset_type_list); @@ -164,10 +176,11 @@ class Index extends Common } // 配置文件校验 - if(file_exists(ROOT.'config/database.php')) + $ret = $this->IsInstall(); + if($ret['code'] != 0) { - $this->behavior_obj->ReportInstallLog(['msg'=>'你已经安装过该系统,重新安装需要先删除[./config/database.php 文件]']); - return DataReturn('你已经安装过该系统,重新安装需要先删除[./config/database.php 文件]', -1); + $this->behavior_obj->ReportInstallLog(['msg'=>'Confirm():'.$ret['msg']]); + return $ret; } // 安装应用数据库配置文件生成 @@ -191,6 +204,14 @@ class Index extends Common return MyView('public/error'); } + // 配置文件校验 + $ret = $this->IsInstall(); + if($ret['code'] != 0) + { + $this->behavior_obj->ReportInstallLog(['msg'=>'Add():'.$ret['msg']]); + return $ret; + } + // 开始安装 $params = input('post.'); $db = $this->DbObj($params); diff --git a/app/install/view/index/create.html b/app/install/view/index/create.html index cb753c7f0..847b0ea5d 100755 --- a/app/install/view/index/create.html +++ b/app/install/view/index/create.html @@ -81,7 +81,7 @@
上一步 - +
diff --git a/app/service/ConstService.php b/app/service/ConstService.php index cc927db10..0cccaf56d 100644 --- a/app/service/ConstService.php +++ b/app/service/ConstService.php @@ -116,6 +116,7 @@ class ConstService '2.2.8' => ['value' => '2.2.8', 'name' => 'v2.2.8'], '2.2.9' => ['value' => '2.2.9', 'name' => 'v2.2.9'], '2.3.0' => ['value' => '2.3.0', 'name' => 'v2.3.0'], + '2.3.1' => ['value' => '2.3.1', 'name' => 'v2.3.1'], ], // 用户注册类型列表 diff --git a/public/core.php b/public/core.php index 5337aca63..4ed27cc7d 100755 --- a/public/core.php +++ b/public/core.php @@ -10,7 +10,7 @@ // +---------------------------------------------------------------------- // 系统版本 -define('APPLICATION_VERSION', 'v2.3.0'); +define('APPLICATION_VERSION', 'v2.3.1'); // 检测PHP环境 if(version_compare(PHP_VERSION,'7.4.0','<')) diff --git a/public/static/common/css/color/black.css b/public/static/common/css/color/black.css index 2298a98e2..150d5292e 100644 --- a/public/static/common/css/color/black.css +++ b/public/static/common/css/color/black.css @@ -200,6 +200,7 @@ form.am-form .am-form-group, background: #212121; } .coupon-content-module .module-items .view-to, +.wallet-content-module .module-items .view-to, .am-form-group:hover>label { color: #f5f5f5 !important; } @@ -211,15 +212,18 @@ form.am-form .am-form-group, .plug-file-upload-submit, .am-switch .am-switch-label, .form-table-fields-button-container, -.coupon-content-module .module-items, #inspect-upgrade-popup .upgrade-bottom-content, .form-inventory-submit { background: #1e1e1e; } +.wallet-content-module .module-items, +.coupon-content-module .module-items { + background: #212121; +} .business-operations-submit:hover, .plug-file-upload-submit:hover, .content-right [class*="-content"] .nav-items:hover { - border-color: #666; + border-color: #353535; } hr, .am-divider-default, @@ -255,7 +259,8 @@ table.am-table .am-btn-default, .am-pagination > li > span:hover, .am-pagination > li > a:focus, .am-pagination > li > span:focus, -.coupon-content-module .module-items p.total { +.coupon-content-module .module-items p.total, +.wallet-content-module .module-items p.total { color: #888; } .am-pagination > .am-disabled > span, diff --git a/public/static/common/css/common.css b/public/static/common/css/common.css index 317f0d0ef..496315cca 100755 --- a/public/static/common/css/common.css +++ b/public/static/common/css/common.css @@ -976,26 +976,26 @@ button.colorpicker-submit img { } .am-page-loading>div { display: inline-block; - width: 8px; - height: 20px; + width: 5px; + height: 15px; background: #03a9f4; border-radius: 5px; - animation: am-page-loading 0.3s ease-in-out infinite alternate; + animation: am-page-loading 0.25s ease-in-out infinite alternate; } .am-page-loading>div:nth-child(2) { animation-delay: 0.2s; background: #f44336; } .am-page-loading>div:nth-child(3) { - animation-delay: 0.4s; + animation-delay: 0.3s; background: #9c27b0; } .am-page-loading>div:nth-child(4) { - animation-delay: 0.6s; + animation-delay: 0.4s; background: #009688; } .am-page-loading>div:nth-child(5) { - animation-delay: 0.8s; + animation-delay: 0.5s; background: #ff9800; } @keyframes am-page-loading {