新增应用中心
parent
c20db0979f
commit
d23ba3eb75
|
|
@ -0,0 +1,55 @@
|
|||
<?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();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{{include file="public/header" /}}
|
||||
|
||||
<!-- right content -->
|
||||
<iframe id="ifcontent" src="{{$store_url}}"></iframe>
|
||||
<!-- right content end -->
|
||||
|
||||
<!-- footer -->
|
||||
{{include file="public/footer" /}}
|
||||
|
|
@ -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,
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
@media only screen and (min-width: 641px) {
|
||||
#ifcontent {
|
||||
padding-left: 170px;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
body { overflow: hidden; }
|
||||
Loading…
Reference in New Issue