Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
纵之格
ShopXO
提交
a9c34424
ShopXO
项目概览
纵之格
/
ShopXO
通知
394
Star
16
Fork
11
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
a9c34424
编写于
10月 22, 2022
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
细节优化
上级
c1445a49
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
50 addition
and
23 deletion
+50
-23
app/admin/view/default/public/loading.html
app/admin/view/default/public/loading.html
+1
-1
app/index/view/default/category/index.html
app/index/view/default/category/index.html
+1
-1
app/index/view/default/config.json
app/index/view/default/config.json
+1
-1
app/index/view/default/public/loading.html
app/index/view/default/public/loading.html
+1
-1
app/install/controller/Index.php
app/install/controller/Index.php
+29
-8
app/install/view/index/create.html
app/install/view/index/create.html
+1
-1
app/service/ConstService.php
app/service/ConstService.php
+1
-0
public/core.php
public/core.php
+1
-1
public/static/common/css/color/black.css
public/static/common/css/color/black.css
+8
-3
public/static/common/css/common.css
public/static/common/css/common.css
+6
-6
未找到文件。
app/admin/view/default/public/loading.html
浏览文件 @
a9c34424
<div
class=
"am-margin-top-lg am-text-center"
>
<div
class=
"am-margin-top-lg am-text-center
am-text-grey
"
>
<p>
处理中...
</p>
<p>
处理中...
</p>
</div>
</div>
\ No newline at end of file
app/index/view/default/category/index.html
浏览文件 @
a9c34424
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
<div
class=
"table-no"
>
<div
class=
"table-no"
>
<i
class=
"am-icon-warning"
></i>
<i
class=
"am-icon-warning"
></i>
<span>
没有子分类数据
</span>
<span>
没有子分类数据
</span>
<p
class=
"am-margin-top-lg am-text-center"
>
<p
class=
"am-margin-top-lg am-text-center
am-text-grey
"
>
<a
href=
"{{:MyUrl('index/search/index', ['cid'=>$v['id']])}}"
class=
"am-text-secondary"
title=
"查看分类下商品"
>
查看分类下商品 >>
</a>
<a
href=
"{{:MyUrl('index/search/index', ['cid'=>$v['id']])}}"
class=
"am-text-secondary"
title=
"查看分类下商品"
>
查看分类下商品 >>
</a>
</p>
</p>
</div>
</div>
...
...
app/index/view/default/config.json
浏览文件 @
a9c34424
{
{
"name"
:
"默认主题"
,
"name"
:
"默认主题"
,
"ver"
:
"2.3.
0
"
,
"ver"
:
"2.3.
1
"
,
"author"
:
"Devil"
,
"author"
:
"Devil"
,
"home"
:
"https://shopxo.net/"
"home"
:
"https://shopxo.net/"
}
}
\ No newline at end of file
app/index/view/default/public/loading.html
浏览文件 @
a9c34424
<div
class=
"am-margin-top-lg am-text-center"
>
<div
class=
"am-margin-top-lg am-text-center
am-text-grey
"
>
<img
src=
"{{$attachment_host}}/static/common/images/loading.gif"
/>
<img
src=
"{{$attachment_host}}/static/common/images/loading.gif"
/>
<p>
处理中...
</p>
<p>
处理中...
</p>
</div>
</div>
\ No newline at end of file
app/install/controller/Index.php
浏览文件 @
a9c34424
...
@@ -69,11 +69,11 @@ class Index extends Common
...
@@ -69,11 +69,11 @@ class Index extends Common
*/
*/
private
function
IsInstall
()
private
function
IsInstall
()
{
{
// 是否已安装
if
(
file_exists
(
ROOT
.
'config/database.php'
))
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
...
@@ -86,7 +86,11 @@ class Index extends Common
*/
*/
public
function
Index
()
public
function
Index
()
{
{
$this
->
IsInstall
();
$ret
=
$this
->
IsInstall
();
if
(
$ret
[
'code'
]
!=
0
)
{
exit
(
$ret
[
'msg'
]);
}
$this
->
behavior_obj
->
ReportInstallLog
([
'msg'
=>
'协议阅读'
]);
$this
->
behavior_obj
->
ReportInstallLog
([
'msg'
=>
'协议阅读'
]);
return
MyView
();
return
MyView
();
}
}
...
@@ -101,7 +105,11 @@ class Index extends Common
...
@@ -101,7 +105,11 @@ class Index extends Common
*/
*/
public
function
Check
()
public
function
Check
()
{
{
$this
->
IsInstall
();
$ret
=
$this
->
IsInstall
();
if
(
$ret
[
'code'
]
!=
0
)
{
exit
(
$ret
[
'msg'
]);
}
$this
->
behavior_obj
->
ReportInstallLog
([
'msg'
=>
'环境检测'
]);
$this
->
behavior_obj
->
ReportInstallLog
([
'msg'
=>
'环境检测'
]);
return
MyView
();
return
MyView
();
}
}
...
@@ -116,7 +124,11 @@ class Index extends Common
...
@@ -116,7 +124,11 @@ class Index extends Common
*/
*/
public
function
Create
()
public
function
Create
()
{
{
$this
->
IsInstall
();
$ret
=
$this
->
IsInstall
();
if
(
$ret
[
'code'
]
!=
0
)
{
exit
(
$ret
[
'msg'
]);
}
$this
->
behavior_obj
->
ReportInstallLog
([
'msg'
=>
'数据信息填写'
]);
$this
->
behavior_obj
->
ReportInstallLog
([
'msg'
=>
'数据信息填写'
]);
MyViewAssign
(
'charset_type_list'
,
$this
->
charset_type_list
);
MyViewAssign
(
'charset_type_list'
,
$this
->
charset_type_list
);
...
@@ -164,10 +176,11 @@ class Index extends Common
...
@@ -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 文件]'
]);
$this
->
behavior_obj
->
ReportInstallLog
([
'msg'
=>
'
Confirm():'
.
$ret
[
'msg'
]
]);
return
DataReturn
(
'你已经安装过该系统,重新安装需要先删除[./config/database.php 文件]'
,
-
1
)
;
return
$ret
;
}
}
// 安装应用数据库配置文件生成
// 安装应用数据库配置文件生成
...
@@ -191,6 +204,14 @@ class Index extends Common
...
@@ -191,6 +204,14 @@ class Index extends Common
return
MyView
(
'public/error'
);
return
MyView
(
'public/error'
);
}
}
// 配置文件校验
$ret
=
$this
->
IsInstall
();
if
(
$ret
[
'code'
]
!=
0
)
{
$this
->
behavior_obj
->
ReportInstallLog
([
'msg'
=>
'Add():'
.
$ret
[
'msg'
]]);
return
$ret
;
}
// 开始安装
// 开始安装
$params
=
input
(
'post.'
);
$params
=
input
(
'post.'
);
$db
=
$this
->
DbObj
(
$params
);
$db
=
$this
->
DbObj
(
$params
);
...
...
app/install/view/index/create.html
浏览文件 @
a9c34424
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
<div
class=
"agree ongoing-button"
>
<div
class=
"agree ongoing-button"
>
<a
href=
"{{:MyUrl('install/index/check')}}"
class=
"am-btn am-btn-secondary am-radius am-btn-xs"
>
上一步
</a>
<a
href=
"{{:MyUrl('install/index/check')}}"
class=
"am-btn am-btn-secondary am-radius am-btn-xs"
>
上一步
</a>
<button
type=
"submit"
class=
"am-btn am-btn-success am-radius am-btn-xs btn-loading-example"
data-am-loading=
"{spinner:'circle-o-notch', loadingText:'安装中...'}"
>
确认
</button>
<button
type=
"submit"
class=
"am-btn am-btn-success am-radius am-btn-xs btn-loading-example"
data-am-loading=
"{spinner:'circle-o-notch', loadingText:'安装中...'}"
>
确认
安装
</button>
</div>
</div>
</form>
</form>
</div>
</div>
...
...
app/service/ConstService.php
浏览文件 @
a9c34424
...
@@ -116,6 +116,7 @@ class ConstService
...
@@ -116,6 +116,7 @@ class ConstService
'2.2.8'
=>
[
'value'
=>
'2.2.8'
,
'name'
=>
'v2.2.8'
],
'2.2.8'
=>
[
'value'
=>
'2.2.8'
,
'name'
=>
'v2.2.8'
],
'2.2.9'
=>
[
'value'
=>
'2.2.9'
,
'name'
=>
'v2.2.9'
],
'2.2.9'
=>
[
'value'
=>
'2.2.9'
,
'name'
=>
'v2.2.9'
],
'2.3.0'
=>
[
'value'
=>
'2.3.0'
,
'name'
=>
'v2.3.0'
],
'2.3.0'
=>
[
'value'
=>
'2.3.0'
,
'name'
=>
'v2.3.0'
],
'2.3.1'
=>
[
'value'
=>
'2.3.1'
,
'name'
=>
'v2.3.1'
],
],
],
// 用户注册类型列表
// 用户注册类型列表
...
...
public/core.php
浏览文件 @
a9c34424
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
// +----------------------------------------------------------------------
// +----------------------------------------------------------------------
// 系统版本
// 系统版本
define
(
'APPLICATION_VERSION'
,
'v2.3.
0
'
);
define
(
'APPLICATION_VERSION'
,
'v2.3.
1
'
);
// 检测PHP环境
// 检测PHP环境
if
(
version_compare
(
PHP_VERSION
,
'7.4.0'
,
'<'
))
if
(
version_compare
(
PHP_VERSION
,
'7.4.0'
,
'<'
))
...
...
public/static/common/css/color/black.css
浏览文件 @
a9c34424
...
@@ -200,6 +200,7 @@ form.am-form .am-form-group,
...
@@ -200,6 +200,7 @@ form.am-form .am-form-group,
background
:
#212121
;
background
:
#212121
;
}
}
.coupon-content-module
.module-items
.view-to
,
.coupon-content-module
.module-items
.view-to
,
.wallet-content-module
.module-items
.view-to
,
.am-form-group
:hover
>
label
{
.am-form-group
:hover
>
label
{
color
:
#f5f5f5
!important
;
color
:
#f5f5f5
!important
;
}
}
...
@@ -211,15 +212,18 @@ form.am-form .am-form-group,
...
@@ -211,15 +212,18 @@ form.am-form .am-form-group,
.plug-file-upload-submit
,
.plug-file-upload-submit
,
.am-switch
.am-switch-label
,
.am-switch
.am-switch-label
,
.form-table-fields-button-container
,
.form-table-fields-button-container
,
.coupon-content-module
.module-items
,
#inspect-upgrade-popup
.upgrade-bottom-content
,
#inspect-upgrade-popup
.upgrade-bottom-content
,
.form-inventory-submit
{
.form-inventory-submit
{
background
:
#1e1e1e
;
background
:
#1e1e1e
;
}
}
.wallet-content-module
.module-items
,
.coupon-content-module
.module-items
{
background
:
#212121
;
}
.business-operations-submit
:hover
,
.business-operations-submit
:hover
,
.plug-file-upload-submit
:hover
,
.plug-file-upload-submit
:hover
,
.content-right
[
class
*=
"-content"
]
.nav-items
:hover
{
.content-right
[
class
*=
"-content"
]
.nav-items
:hover
{
border-color
:
#
666
;
border-color
:
#
353535
;
}
}
hr
,
hr
,
.am-divider-default
,
.am-divider-default
,
...
@@ -255,7 +259,8 @@ table.am-table .am-btn-default,
...
@@ -255,7 +259,8 @@ table.am-table .am-btn-default,
.am-pagination
>
li
>
span
:hover
,
.am-pagination
>
li
>
span
:hover
,
.am-pagination
>
li
>
a
:focus
,
.am-pagination
>
li
>
a
:focus
,
.am-pagination
>
li
>
span
: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
;
color
:
#888
;
}
}
.am-pagination
>
.am-disabled
>
span
,
.am-pagination
>
.am-disabled
>
span
,
...
...
public/static/common/css/common.css
浏览文件 @
a9c34424
...
@@ -976,26 +976,26 @@ button.colorpicker-submit img {
...
@@ -976,26 +976,26 @@ button.colorpicker-submit img {
}
}
.am-page-loading
>
div
{
.am-page-loading
>
div
{
display
:
inline-block
;
display
:
inline-block
;
width
:
8
px
;
width
:
5
px
;
height
:
20
px
;
height
:
15
px
;
background
:
#03a9f4
;
background
:
#03a9f4
;
border-radius
:
5px
;
border-radius
:
5px
;
animation
:
am-page-loading
0.
3
s
ease-in-out
infinite
alternate
;
animation
:
am-page-loading
0.
25
s
ease-in-out
infinite
alternate
;
}
}
.am-page-loading
>
div
:nth-child
(
2
)
{
.am-page-loading
>
div
:nth-child
(
2
)
{
animation-delay
:
0.2s
;
animation-delay
:
0.2s
;
background
:
#f44336
;
background
:
#f44336
;
}
}
.am-page-loading
>
div
:nth-child
(
3
)
{
.am-page-loading
>
div
:nth-child
(
3
)
{
animation-delay
:
0.
4
s
;
animation-delay
:
0.
3
s
;
background
:
#9c27b0
;
background
:
#9c27b0
;
}
}
.am-page-loading
>
div
:nth-child
(
4
)
{
.am-page-loading
>
div
:nth-child
(
4
)
{
animation-delay
:
0.
6
s
;
animation-delay
:
0.
4
s
;
background
:
#009688
;
background
:
#009688
;
}
}
.am-page-loading
>
div
:nth-child
(
5
)
{
.am-page-loading
>
div
:nth-child
(
5
)
{
animation-delay
:
0.
8
s
;
animation-delay
:
0.
5
s
;
background
:
#ff9800
;
background
:
#ff9800
;
}
}
@keyframes
am-page-loading
{
@keyframes
am-page-loading
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录