Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jcy2004x
ShopXO
提交
d23ba3eb
ShopXO
项目概览
jcy2004x
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d23ba3eb
编写于
6月 13, 2019
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增应用中心
上级
c20db097
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
169 addition
and
157 deletion
+169
-157
application/admin/controller/Store.php
application/admin/controller/Store.php
+55
-0
application/admin/view/default/store/index.html
application/admin/view/default/store/index.html
+8
-0
config/shopxo.php
config/shopxo.php
+3
-0
config/shopxo.sql
config/shopxo.sql
+97
-156
public/static/admin/default/css/common.css
public/static/admin/default/css/common.css
+0
-1
public/static/admin/default/css/index.index.css
public/static/admin/default/css/index.index.css
+5
-0
public/static/admin/default/css/store.css
public/static/admin/default/css/store.css
+1
-0
未找到文件。
application/admin/controller/Store.php
0 → 100644
浏览文件 @
d23ba3eb
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2019 http://shopxo.net All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
namespace
app\admin\controller
;
use
app\service\StatisticalService
;
/**
* 应用商店
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @@date 2019-06-13
*/
class
Store
extends
Common
{
/**
* 构造方法
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2019-06-13
* @desc description
*/
public
function
__construct
()
{
// 调用父类前置方法
parent
::
__construct
();
// 登录校验
$this
->
IsLogin
();
}
/**
* 应用商店首页
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2019-06-13
* @desc description
*/
public
function
Index
()
{
$this
->
assign
(
'store_url'
,
config
(
'shopxo.store_url'
)
.
'?url='
.
urlencode
(
__MY_URL__
));
return
$this
->
fetch
();
}
}
?>
\ No newline at end of file
application/admin/view/default/store/index.html
0 → 100644
浏览文件 @
d23ba3eb
{{include file="public/header" /}}
<!-- right content -->
<iframe
id=
"ifcontent"
src=
"{{$store_url}}"
></iframe>
<!-- right content end -->
<!-- footer -->
{{include file="public/footer" /}}
\ No newline at end of file
config/shopxo.php
浏览文件 @
d23ba3eb
...
...
@@ -48,6 +48,9 @@ return [
// 附件host, 数据库图片地址以/static/...开头
'attachment_host'
=>
defined
(
'__MY_PUBLIC_URL__'
)
?
substr
(
__MY_PUBLIC_URL__
,
0
,
-
1
)
:
''
,
// 应用商店地址
'store_url'
=>
'https://store.shopxo.net/'
,
// 开启U带域名
'url_domain_deploy'
=>
true
,
...
...
config/shopxo.sql
浏览文件 @
d23ba3eb
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
public/static/admin/default/css/common.css
浏览文件 @
d23ba3eb
...
...
@@ -410,7 +410,6 @@ ul {margin-top:0;}
.admin-sidebar
{
display
:
block
;
width
:
170px
;
z-index
:
1
;
position
:
fixed
;
top
:
0
;
left
:
0
;}
.admin-offcanvas-bar
{
position
:
static
;
width
:
auto
;
background
:
none
;
-webkit-transform
:
translate3d
(
0
,
0
,
0
);
-ms-transform
:
translate3d
(
0
,
0
,
0
);
transform
:
translate3d
(
0
,
0
,
0
);
overflow-y
:
visible
;
min-height
:
100%
;}
.admin-offcanvas-bar
:after
{
content
:
none
;}
#ifcontent
{
padding-left
:
170px
;
}
}
@media
only
screen
and
(
max-width
:
640px
)
{
header
{
left
:
0
;
}
...
...
public/static/admin/default/css/index.index.css
0 → 100644
浏览文件 @
d23ba3eb
@media
only
screen
and
(
min-width
:
641px
)
{
#ifcontent
{
padding-left
:
170px
;
}
}
\ No newline at end of file
public/static/admin/default/css/store.css
0 → 100644
浏览文件 @
d23ba3eb
body
{
overflow
:
hidden
;
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录