提交 d23ba3eb 编写于 作者: D devil_gong

新增应用中心

上级 c20db097
<?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
{{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
......@@ -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,
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -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; }
......
@media only screen and (min-width: 641px) {
#ifcontent {
padding-left: 170px;
}
}
\ No newline at end of file
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.
先完成此消息的编辑!
想要评论请 注册