Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jcy2004x
ShopXO
提交
fdd1af91
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,发现更多精彩内容 >>
提交
fdd1af91
编写于
4月 10, 2019
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
应用开发
上级
e6cd4204
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
459 addition
and
10 deletion
+459
-10
application/plugins/petscms/Admin.php
application/plugins/petscms/Admin.php
+85
-0
application/plugins/petscms/Hook.php
application/plugins/petscms/Hook.php
+106
-0
application/plugins/petscms/Pets.php
application/plugins/petscms/Pets.php
+39
-0
application/plugins/petscms/Petsadmin.php
application/plugins/petscms/Petsadmin.php
+52
-0
application/plugins/petscms/Service.php
application/plugins/petscms/Service.php
+27
-0
application/plugins/petscms/config.json
application/plugins/petscms/config.json
+22
-0
application/plugins/petscms/install.sql
application/plugins/petscms/install.sql
+0
-0
application/plugins/petscms/uninstall.sql
application/plugins/petscms/uninstall.sql
+0
-0
application/plugins/view/petscms/admin/index.html
application/plugins/view/petscms/admin/index.html
+27
-0
application/plugins/view/petscms/admin/saveinfo.html
application/plugins/view/petscms/admin/saveinfo.html
+49
-0
application/plugins/view/petscms/pets/index.html
application/plugins/view/petscms/pets/index.html
+1
-0
application/plugins/view/petscms/petsadmin/index.html
application/plugins/view/petscms/petsadmin/index.html
+3
-0
application/plugins/view/petscms/petsadmin/saveinfo.html
application/plugins/view/petscms/petsadmin/saveinfo.html
+1
-0
config/shopxo.sql
config/shopxo.sql
+8
-10
public/static/plugins/css/petscms/admin.css
public/static/plugins/css/petscms/admin.css
+39
-0
public/static/upload/images/plugins_petscms/2019/04/09/1554814711403578.jpg
...ad/images/plugins_petscms/2019/04/09/1554814711403578.jpg
+0
-0
未找到文件。
application/plugins/petscms/Admin.php
0 → 100755
浏览文件 @
fdd1af91
<?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\plugins\petscms
;
use
think\Controller
;
use
app\service\PluginsService
;
/**
* 顶部公告插件 - 管理
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
class
Admin
extends
Controller
{
/**
* 首页
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @datetime 2019-02-07T08:21:54+0800
* @param [array] $params [输入参数]
*/
public
function
index
(
$params
=
[])
{
$ret
=
PluginsService
::
PluginsData
(
'petscms'
);
if
(
$ret
[
'code'
]
==
0
)
{
$this
->
assign
(
'data'
,
$ret
[
'data'
]);
return
$this
->
fetch
(
'../../../plugins/view/petscms/admin/index'
);
}
else
{
return
$ret
[
'msg'
];
}
}
/**
* 编辑页面
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @datetime 2019-02-07T08:21:54+0800
* @param [array] $params [输入参数]
*/
public
function
saveinfo
(
$params
=
[])
{
$ret
=
PluginsService
::
PluginsData
(
'petscms'
);
if
(
$ret
[
'code'
]
==
0
)
{
// 是否
$is_whether_list
=
[
0
=>
array
(
'id'
=>
0
,
'name'
=>
'否'
,
'checked'
=>
true
),
1
=>
array
(
'id'
=>
1
,
'name'
=>
'是'
),
];
$this
->
assign
(
'is_whether_list'
,
$is_whether_list
);
$this
->
assign
(
'data'
,
$ret
[
'data'
]);
return
$this
->
fetch
(
'../../../plugins/view/petscms/admin/saveinfo'
);
}
else
{
return
$ret
[
'msg'
];
}
}
/**
* 数据保存
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @datetime 2019-02-07T08:21:54+0800
* @param [array] $params [输入参数]
*/
public
function
save
(
$params
=
[])
{
return
PluginsService
::
PluginsDataSave
([
'plugins'
=>
'petscms'
,
'data'
=>
$params
]);
}
}
?>
\ No newline at end of file
application/plugins/petscms/Hook.php
0 → 100755
浏览文件 @
fdd1af91
<?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\plugins\petscms
;
use
think\Controller
;
use
app\service\PluginsService
;
/**
* 顶部公告 - 钩子入口
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
class
Hook
extends
Controller
{
/**
* 应用响应入口
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @datetime 2019-02-09T14:25:44+0800
* @param [array] $params [输入参数]
*/
public
function
run
(
$params
=
[])
{
// 是否后端钩子
if
(
isset
(
$params
[
'is_backend'
])
&&
$params
[
'is_backend'
]
===
true
&&
!
empty
(
$params
[
'hook_name'
]))
{
return
DataReturn
(
'无需处理'
,
0
);
// 默认返回视图
}
else
{
return
$this
->
html
(
$params
);
}
}
/**
* 视图
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @datetime 2019-02-06T16:16:34+0800
* @param [array] $params [输入参数]
*/
public
function
html
(
$params
=
[])
{
// 当前模块/控制器/方法
$module_name
=
strtolower
(
request
()
->
module
());
$controller_name
=
strtolower
(
request
()
->
controller
());
$action_name
=
strtolower
(
request
()
->
action
());
// 获取应用数据
$ret
=
PluginsService
::
PluginsData
(
'petscms'
);
if
(
$ret
[
'code'
]
==
0
)
{
// 内容是否为空
if
(
empty
(
$ret
[
'data'
][
'content'
]))
{
return
''
;
}
// 有效时间
if
(
!
empty
(
$ret
[
'data'
][
'time_start'
]))
{
// 是否已开始
if
(
strtotime
(
$ret
[
'data'
][
'time_start'
])
>
time
())
{
return
''
;
}
}
if
(
!
empty
(
$ret
[
'data'
][
'time_end'
]))
{
// 是否已结束
if
(
strtotime
(
$ret
[
'data'
][
'time_end'
])
<
time
())
{
return
''
;
}
}
// 非全局
if
(
$ret
[
'data'
][
'is_overall'
]
!=
1
)
{
// 非首页则空
if
(
$module_name
.
$controller_name
.
$action_name
!=
'indexindexindex'
)
{
return
''
;
}
}
$this
->
assign
(
'data'
,
$ret
[
'data'
]);
return
$this
->
fetch
(
'../../../plugins/view/petscms/index/content'
);
}
else
{
return
$ret
[
'msg'
];
}
}
}
?>
\ No newline at end of file
application/plugins/petscms/Pets.php
0 → 100644
浏览文件 @
fdd1af91
<?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\plugins\petscms
;
use
think\Controller
;
use
app\plugins\petscms\Service
;
use
app\service\PluginsService
;
/**
* 宠物管理系统 - 用户宠物管理
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
class
Pets
extends
Controller
{
/**
* 订单查询入口
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @datetime 2019-03-15T23:51:50+0800
* @param [array] $params [输入参数]
*/
public
function
index
(
$params
=
[])
{
return
$this
->
fetch
(
'../../../plugins/view/petscms/pets/index'
);
}
}
?>
\ No newline at end of file
application/plugins/petscms/Petsadmin.php
0 → 100644
浏览文件 @
fdd1af91
<?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\plugins\petscms
;
use
think\Controller
;
use
app\plugins\petscms\Service
;
use
app\service\PluginsService
;
/**
* 宠物管理系统 - 宠物管理
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
class
PetsAdmin
extends
Controller
{
/**
* 列表
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @datetime 2019-03-15T23:51:50+0800
* @param [array] $params [输入参数]
*/
public
function
Index
(
$params
=
[])
{
return
$this
->
fetch
(
'../../../plugins/view/petscms/petsadmin/index'
);
}
/**
* 添加/编辑页面
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @datetime 2019-03-15T23:51:50+0800
* @param [array] $params [输入参数]
*/
public
function
SaveInfo
(
$params
=
[])
{
return
$this
->
fetch
(
'../../../plugins/view/petscms/petsadmin/saveinfo'
);
}
}
?>
\ No newline at end of file
application/plugins/petscms/Service.php
0 → 100644
浏览文件 @
fdd1af91
<?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\plugins\petscms
;
use
think\Db
;
use
app\service\ResourcesService
;
/**
* 宠物管理系统 - 服务层
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
class
Service
{
}
?>
\ No newline at end of file
application/plugins/petscms/config.json
0 → 100755
浏览文件 @
fdd1af91
{
"base"
:{
"plugins"
:
"petscms"
,
"name"
:
"宠物管理系统"
,
"logo"
:
"
\/
static
\/
upload
\/
images
\/
plugins_petscms
\/
2019
\/
04
\/
09
\/
1554814711403578.jpg"
,
"author"
:
"Devil"
,
"author_url"
:
"https:
\/\/
shopxo.net
\/
"
,
"version"
:
"1.0.0"
,
"desc"
:
"宠物管理系统"
,
"apply_terminal"
:[
"pc"
,
"h5"
],
"apply_version"
:[
"1.5.0"
],
"is_home"
:
false
},
"hook"
:{
}
}
\ No newline at end of file
application/plugins/petscms/install.sql
0 → 100644
浏览文件 @
fdd1af91
application/plugins/petscms/uninstall.sql
0 → 100644
浏览文件 @
fdd1af91
application/plugins/view/petscms/admin/index.html
0 → 100755
浏览文件 @
fdd1af91
{{include file="public/header" /}}
<!-- right content start -->
<div
class=
"content-right"
>
<div
class=
"content"
>
<legend>
<span
class=
"fs-16"
>
宠物管理系统
</span>
<a
href=
"{{:MyUrl('admin/pluginsadmin/index')}}"
class=
"fr fs-14 m-t-5 am-icon-mail-reply"
>
返回
</a>
</legend>
<div
class=
"petscms-content"
>
<ul
class=
"index-list am-avg-sm-1 am-avg-md-2 am-avg-lg-4"
>
<li>
<a
href=
"{{:PluginsAdminUrl('petscms', 'petsadmin', 'index')}}"
>
<div
class=
"title"
>
宠物管理
</div>
<div
class=
"desc"
>
宠物列表管理
</div>
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- right content end -->
<!-- footer start -->
{{include file="public/footer" /}}
<!-- footer end -->
\ No newline at end of file
application/plugins/view/petscms/admin/saveinfo.html
0 → 100755
浏览文件 @
fdd1af91
{{include file="public/header" /}}
<!-- right content start -->
<div
class=
"content-right"
>
<div
class=
"content"
>
<!-- form start -->
<form
class=
"am-form form-validation view-save"
action=
"{{:PluginsAdminUrl('petscms', 'admin', 'save')}}"
method=
"POST"
request-type=
"ajax-url"
request-value=
"{{:PluginsAdminUrl('petscms', 'admin', 'index')}}"
enctype=
"multipart/form-data"
>
<legend>
<span
class=
"fs-16"
>
宠物管理系统
</span>
<a
href=
"{{:PluginsAdminUrl('petscms', 'admin', 'index')}}"
class=
"fr fs-14 m-t-5 am-icon-mail-reply"
>
返回
</a>
</legend>
<div
class=
"am-form-group am-form-file"
>
<label
class=
"block"
>
公告内容
<span
class=
"am-form-group-label-tips"
>
空则不显示
</span></label>
<textarea
rows=
"3"
name=
"content"
class=
"am-radius am-field-valid"
placeholder=
"公告内容"
data-validation-message=
"请填写公告内容"
>
{{if !empty($data['content'])}}{{$data.content}}{{/if}}
</textarea>
</div>
<div
class=
"am-form-group"
>
<label>
是否全局
<span
class=
"am-form-group-label-tips"
>
默认首页
</span></label>
<div>
{{foreach $is_whether_list as $v}}
<label
class=
"am-radio-inline m-r-10"
>
<input
type=
"radio"
name=
"is_overall"
value=
"{{$v.id}}"
{{
if
isset
($
data
['
is_overall
'])
and
$
data
['
is_overall
']
eq
$
v
['
id
']}}
checked=
"checked"
{{
else
/}}{{
if
!
isset
($
data
['
is_overall
'])
and
isset
($
v
['
checked
'])
and
$
v
['
checked
']
eq
true
}}
checked=
"checked"
{{/
if
}}{{/
if
}}
data-am-ucheck
/>
{{$v.name}}
</label>
{{/foreach}}
</div>
</div>
<div
class=
"am-form-group"
>
<label>
有效时间
<span
class=
"am-form-group-label-tips"
>
留空则不限制
</span></label>
<div
class=
"form-date"
>
<input
type=
"text"
autocomplete=
"off"
name=
"time_start"
class=
"Wdate am-radius"
placeholder=
"起始时间"
onclick=
"WdatePicker({firstDayOfWeek:1,dateFmt:'yyyy-MM-dd HH:mm:ss'})"
{{
if
!
empty
($
data
['
time_start
'])}}
value=
"{{$data.time_start}}"
{{/
if
}}
/>
<span>
~
</span>
<input
type=
"text"
autocomplete=
"off"
class=
"Wdate am-radius"
placeholder=
"结束时间"
name=
"time_end"
onclick=
"WdatePicker({firstDayOfWeek:1,dateFmt:'yyyy-MM-dd HH:mm:ss'})"
{{
if
!
empty
($
data
['
time_end
'])}}
value=
"{{$data.time_end}}"
{{/
if
}}
/>
</div>
</div>
<div
class=
"am-form-group am-form-group-refreshing"
>
<button
type=
"submit"
class=
"am-btn am-btn-primary am-radius btn-loading-example am-btn-sm w100"
data-am-loading=
"{loadingText:'处理中...'}"
>
保存
</button>
</div>
</form>
<!-- form end -->
</div>
</div>
<!-- right content end -->
<!-- footer start -->
{{include file="public/footer" /}}
<!-- footer end -->
\ No newline at end of file
application/plugins/view/petscms/pets/index.html
0 → 100644
浏览文件 @
fdd1af91
user - pets
\ No newline at end of file
application/plugins/view/petscms/petsadmin/index.html
0 → 100644
浏览文件 @
fdd1af91
petsadmin - index
<a
href=
"{{:PluginsAdminUrl('petscms', 'petsadmin', 'saveinfo')}}"
>
新增
</a>
\ No newline at end of file
application/plugins/view/petscms/petsadmin/saveinfo.html
0 → 100644
浏览文件 @
fdd1af91
saveinfo
\ No newline at end of file
config/shopxo.sql
浏览文件 @
fdd1af91
/*
Navicat
Premium
Data Transfer
Navicat
MySQL
Data Transfer
Source Server : 本机
Source Server Type : MySQL
Source Server Version : 50722
Source Server Version : 50716
Source Host : localhost
Source Database : shopxo_t
es
t
Source Database : shopxo_t
t
t
Target Server Type : MySQL
Target Server Version : 50722
Target Server Version : 50716
File Encoding : utf-8
Date: 04/
09/2019 18:27:22 P
M
Date: 04/
10/2019 01:05:53 A
M
*/
SET NAMES utf8
mb4
;
SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
...
...
@@ -851,13 +849,13 @@ CREATE TABLE `s_plugins` (
PRIMARY KEY (`id`),
UNIQUE KEY `plugins` (`plugins`),
KEY `is_enable` (`is_enable`)
) ENGINE=InnoDB AUTO_INCREMENT=3
1
DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='应用';
) ENGINE=InnoDB AUTO_INCREMENT=3
2
DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='应用';
-- ----------------------------
-- Records of `s_plugins`
-- ----------------------------
BEGIN;
INSERT INTO `s_plugins` VALUES ('1', 'commontopmaxpicture', '{\"images\":\"\\/static\\/upload\\/images\\/plugins_commontopmaxpicture\\/2019\\/02\\/09\\/1549671733978860.jpg\",\"bg_color\":\"#ce0000\",\"url\":\"https:\\/\\/shopxo.net\\/\",\"is_new_window_open\":\"1\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopmaxpicture\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550145321', '1551345727'), ('2', 'commontopnotice', '{\"content\":\"\\u6b22\\u8fce\\u6765\\u5230ShopXO\\u4f01\\u4e1a\\u7ea7B2C\\u5f00\\u6e90\\u7535\\u5546\\u7cfb\\u7edf\\u3001\\u6f14\\u793a\\u7ad9\\u70b9\\u8bf7\\u52ff\\u53d1\\u8d77\\u652f\\u4ed8\\u3001\\u4ee5\\u514d\\u7ed9\\u60a8\\u5e26\\u6765\\u4e0d\\u5fc5\\u8981\\u7684\\u8d22\\u4ea7\\u635f\\u5931\\u3002\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550156571', '1551345882'), ('3', 'usercentertopnotice', '{\"content\":\"\\u7528\\u6237\\u4e2d\\u5fc3\\u516c\\u544a\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"usercentertopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550157860', '1551191932'), ('14', 'userloginrewardintegral', '{\"give_integral\":\"5\",\"is_day_once\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"userloginrewardintegral\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550151175', '1551191930'), ('15', 'commongobacktop', '{\"images\":\"\\/static\\/upload\\/images\\/plugins_commongobacktop\\/2019\\/02\\/15\\/1550210425433304.png\",\"is_overall\":\"1\",\"pluginsname\":\"commongobacktop\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1550200998', '1551191928'), ('16', 'commonrightnavigation', '{\"weixin_mini_qrcode_images\":\"\\/static\\/upload\\/images\\/plugins_commonrightnavigation\\/2019\\/02\\/17\\/1550375588899802.jpeg\",\"is_new_window_open\":\"0\",\"is_overall\":\"1\",\"is_goods_page_show_cart\":\"1\",\"pluginsname\":\"commonrightnavigation\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\",\"alipay_mini_qrcode_images\":\"\",\"alipay_fuwu_qrcode_images\":\"\",\"weixin_fuwu_qrcode_images\":\"\"}', '1', '1550222925', '1553680132'), ('17', 'commononlineservice', '{\"title\":\"ShopXO\\u5728\\u7ebf\\u5ba2\\u670d\",\"online_service\":\"\\u552e\\u524d|12345678\\n\\u552e\\u540e|12345678\",\"tel\":\"021-88888888\",\"is_overall\":\"1\",\"bg_color\":\"\",\"distance_top\":\"3\",\"pluginsname\":\"commononlineservice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550393304', '1553650893'), ('20', 'usernotloginhidegoodsprice', '{\"original_price_placeholder\":\"\",\"price_placeholder\":\"\",\"pluginsname\":\"usernotloginhidegoodsprice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1551184852', '1553591863'), ('21', 'answers', '{\"application_name\":\"\\u95ee\\u7b54\",\"images\":\"\\/static\\/upload\\/images\\/plugins_answers\\/2019\\/03\\/07\\/1551942704326624.jpg\",\"url\":\"http:\\/\\/shopxo.net\\/\",\"is_new_window_open\":\"1\",\"images_bottom\":\"\\/static\\/upload\\/images\\/plugins_answers\\/2019\\/03\\/13\\/1552463137211834.png\",\"url_bottom\":\"https:\\/\\/test.shopxo.net\",\"is_new_window_open_bottom\":\"1\",\"right_top_rec_name\":\"\",\"middle_new_name\":\"\",\"right_top_goods_name\":\"\",\"middle_new_page_number\":\"15\",\"search_page_number\":\"28\",\"home_new_goods_number\":\"12\",\"category_ids\":\"12,7,6,4,3,2,1\",\"pluginsname\":\"answers\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"basesave\"}', '1', '1551853705', '1552724209'), ('23', 'expressforkdn', '{\"ebid\":\"\",\"appkey\":\"\",\"express_ids\":{\"1\":\"\",\"2\":\"\",\"3\":\"\",\"4\":\"ZTO\",\"5\":\"\",\"6\":\"\",\"7\":\"\",\"8\":\"\",\"9\":\"\",\"10\":\"\",\"11\":\"\",\"12\":\"\",\"13\":\"\",\"14\":\"\"},\"pluginsname\":\"expressforkdn\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552358826', '1553161103'), ('25', 'touristbuy', '{\"application_name\":\"\\u8ba2\\u5355\\u67e5\\u8be2\",\"login_name\":\"\\u6e38\\u5ba2\\u767b\\u5f55\",\"nickname\":\"\\u6e38\\u5ba2\",\"query_tips\":\"\\u8bf7\\u8f93\\u5165\\u8ba2\\u5355\\u53f7\\uff0c\\u6536\\u4ef6\\u4eba\\u59d3\\u540d\\uff0c\\u6536\\u4ef6\\u4eba\\u7535\\u8bdd\\u5373\\u53ef\\u67e5\\u770b\\u8ba2\\u5355\\u8be6\\u60c5\",\"is_default_tourist\":\"0\",\"pluginsname\":\"touristbuy\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552656743', '1553486026'), ('26', 'freightfee', '{\"show_name\":\"\\u8fd0\\u8d39\",\"valuation\":\"0\",\"data\":{\"0\":{\"region\":\"default\",\"region_show\":\"default\",\"first\":\"1\",\"first_price\":\"10\",\"continue\":\"1\",\"continue_price\":\"5\"},\"403611\":{\"region\":\"55-56-57-58-59-60-61-62-63-64-65-66-67-68-69-70-71-72\",\"region_show\":\"2\",\"first\":\"1\",\"first_price\":\"6\",\"continue\":\"1\",\"continue_price\":\"3\"}},\"pluginsname\":\"freightfee\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552894438', '1553225909'), ('27', 'newuserreduction', '{\"show_name\":\"\\u65b0\\u7528\\u6237\\u7acb\\u51cf\",\"full_amount\":\"\",\"price\":\"3\",\"is_random\":\"1\",\"pluginsname\":\"newuserreduction\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1553483809', '1553593711'), ('30', 'ucenter', '{\"login_sync_url\":\"\",\"login_async_url\":\"\",\"register_sync_url\":\"\",\"register_async_url\":\"\",\"logout_sync_url\":\"\",\"logout_async_url\":\"\",\"loginpwdupdate_async_url\":\"\",\"accounts_async_url\":\"\",\"pluginsname\":\"ucenter\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1554186010', '1554349799');
INSERT INTO `s_plugins` VALUES ('1', 'commontopmaxpicture', '{\"images\":\"\\/static\\/upload\\/images\\/plugins_commontopmaxpicture\\/2019\\/02\\/09\\/1549671733978860.jpg\",\"bg_color\":\"#ce0000\",\"url\":\"https:\\/\\/shopxo.net\\/\",\"is_new_window_open\":\"1\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopmaxpicture\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550145321', '1551345727'), ('2', 'commontopnotice', '{\"content\":\"\\u6b22\\u8fce\\u6765\\u5230ShopXO\\u4f01\\u4e1a\\u7ea7B2C\\u5f00\\u6e90\\u7535\\u5546\\u7cfb\\u7edf\\u3001\\u6f14\\u793a\\u7ad9\\u70b9\\u8bf7\\u52ff\\u53d1\\u8d77\\u652f\\u4ed8\\u3001\\u4ee5\\u514d\\u7ed9\\u60a8\\u5e26\\u6765\\u4e0d\\u5fc5\\u8981\\u7684\\u8d22\\u4ea7\\u635f\\u5931\\u3002\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550156571', '1551345882'), ('3', 'usercentertopnotice', '{\"content\":\"\\u7528\\u6237\\u4e2d\\u5fc3\\u516c\\u544a\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"usercentertopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550157860', '1551191932'), ('14', 'userloginrewardintegral', '{\"give_integral\":\"5\",\"is_day_once\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"userloginrewardintegral\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550151175', '1551191930'), ('15', 'commongobacktop', '{\"images\":\"\\/static\\/upload\\/images\\/plugins_commongobacktop\\/2019\\/02\\/15\\/1550210425433304.png\",\"is_overall\":\"1\",\"pluginsname\":\"commongobacktop\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1550200998', '1551191928'), ('16', 'commonrightnavigation', '{\"weixin_mini_qrcode_images\":\"\\/static\\/upload\\/images\\/plugins_commonrightnavigation\\/2019\\/02\\/17\\/1550375588899802.jpeg\",\"is_new_window_open\":\"0\",\"is_overall\":\"1\",\"is_goods_page_show_cart\":\"1\",\"pluginsname\":\"commonrightnavigation\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\",\"alipay_mini_qrcode_images\":\"\",\"alipay_fuwu_qrcode_images\":\"\",\"weixin_fuwu_qrcode_images\":\"\"}', '1', '1550222925', '1553680132'), ('17', 'commononlineservice', '{\"title\":\"ShopXO\\u5728\\u7ebf\\u5ba2\\u670d\",\"online_service\":\"\\u552e\\u524d|12345678\\n\\u552e\\u540e|12345678\",\"tel\":\"021-88888888\",\"is_overall\":\"1\",\"bg_color\":\"\",\"distance_top\":\"3\",\"pluginsname\":\"commononlineservice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550393304', '1553650893'), ('20', 'usernotloginhidegoodsprice', '{\"original_price_placeholder\":\"\",\"price_placeholder\":\"\",\"pluginsname\":\"usernotloginhidegoodsprice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1551184852', '1553591863'), ('21', 'answers', '{\"application_name\":\"\\u95ee\\u7b54\",\"images\":\"\\/static\\/upload\\/images\\/plugins_answers\\/2019\\/03\\/07\\/1551942704326624.jpg\",\"url\":\"http:\\/\\/shopxo.net\\/\",\"is_new_window_open\":\"1\",\"images_bottom\":\"\\/static\\/upload\\/images\\/plugins_answers\\/2019\\/03\\/13\\/1552463137211834.png\",\"url_bottom\":\"https:\\/\\/test.shopxo.net\",\"is_new_window_open_bottom\":\"1\",\"right_top_rec_name\":\"\",\"middle_new_name\":\"\",\"right_top_goods_name\":\"\",\"middle_new_page_number\":\"15\",\"search_page_number\":\"28\",\"home_new_goods_number\":\"12\",\"category_ids\":\"12,7,6,4,3,2,1\",\"pluginsname\":\"answers\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"basesave\"}', '1', '1551853705', '1552724209'), ('23', 'expressforkdn', '{\"ebid\":\"\",\"appkey\":\"\",\"express_ids\":{\"1\":\"\",\"2\":\"\",\"3\":\"\",\"4\":\"ZTO\",\"5\":\"\",\"6\":\"\",\"7\":\"\",\"8\":\"\",\"9\":\"\",\"10\":\"\",\"11\":\"\",\"12\":\"\",\"13\":\"\",\"14\":\"\"},\"pluginsname\":\"expressforkdn\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552358826', '1553161103'), ('25', 'touristbuy', '{\"application_name\":\"\\u8ba2\\u5355\\u67e5\\u8be2\",\"login_name\":\"\\u6e38\\u5ba2\\u767b\\u5f55\",\"nickname\":\"\\u6e38\\u5ba2\",\"query_tips\":\"\\u8bf7\\u8f93\\u5165\\u8ba2\\u5355\\u53f7\\uff0c\\u6536\\u4ef6\\u4eba\\u59d3\\u540d\\uff0c\\u6536\\u4ef6\\u4eba\\u7535\\u8bdd\\u5373\\u53ef\\u67e5\\u770b\\u8ba2\\u5355\\u8be6\\u60c5\",\"is_default_tourist\":\"0\",\"pluginsname\":\"touristbuy\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552656743', '1553486026'), ('26', 'freightfee', '{\"show_name\":\"\\u8fd0\\u8d39\",\"valuation\":\"0\",\"data\":{\"0\":{\"region\":\"default\",\"region_show\":\"default\",\"first\":\"1\",\"first_price\":\"10\",\"continue\":\"1\",\"continue_price\":\"5\"},\"403611\":{\"region\":\"55-56-57-58-59-60-61-62-63-64-65-66-67-68-69-70-71-72\",\"region_show\":\"2\",\"first\":\"1\",\"first_price\":\"6\",\"continue\":\"1\",\"continue_price\":\"3\"}},\"pluginsname\":\"freightfee\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552894438', '1553225909'), ('27', 'newuserreduction', '{\"show_name\":\"\\u65b0\\u7528\\u6237\\u7acb\\u51cf\",\"full_amount\":\"\",\"price\":\"3\",\"is_random\":\"1\",\"pluginsname\":\"newuserreduction\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1553483809', '1553593711'), ('30', 'ucenter', '{\"login_sync_url\":\"\",\"login_async_url\":\"\",\"register_sync_url\":\"\",\"register_async_url\":\"\",\"logout_sync_url\":\"\",\"logout_async_url\":\"\",\"loginpwdupdate_async_url\":\"\",\"accounts_async_url\":\"\",\"pluginsname\":\"ucenter\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1554186010', '1554349799')
, ('31', 'petscms', null, '0', '1554186010', '1554815301')
;
COMMIT;
-- ----------------------------
public/static/plugins/css/petscms/admin.css
0 → 100755
浏览文件 @
fdd1af91
/**
* 首页
*/
.petscms-content
.index-list
li
{
padding
:
10px
;
}
.petscms-content
.index-list
li
a
{
background
:
#eee
;
display
:
block
;
padding
:
20px
10px
10px
10px
;
color
:
#666
;
text-align
:
center
;
min-height
:
100px
;
}
.petscms-content
.index-list
li
a
.title
{
font-size
:
20px
;
}
.petscms-content
.index-list
li
a
.desc
{
color
:
#999
;
}
.petscms-content
.edit-submit
{
margin-bottom
:
20px
;
}
/**
* 编辑页面
*/
ul
.plugins-images-view
li
{
width
:
100%
;
height
:
auto
;
}
.form-date
input
{
width
:
30%
!important
;
display
:
-webkit-inline-box
!important
;
}
.form-date
span
{
vertical-align
:
middle
;
}
\ No newline at end of file
public/static/upload/images/plugins_petscms/2019/04/09/1554814711403578.jpg
0 → 100644
浏览文件 @
fdd1af91
3.3 KB
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录