From e162c0465aa63a727b81227e7db764b2a7ac42eb Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Mon, 19 Nov 2018 02:09:51 +0800 Subject: [PATCH] app --- .../Controller/AppHomeNavController.class.php | 393 ++++++++++++++++++ .../Controller/SlideController.class.php | 7 +- .../Admin/Lang/zh-cn/apphomenav.php | 21 + .../Admin/Model/AppHomeNavModel.class.php | 26 ++ .../Admin/Model/SlideModel.class.php | 2 +- .../Admin/View/Default/AppHomeNav/Index.html | 122 ++++++ .../View/Default/AppHomeNav/SaveInfo.html | 89 ++++ .../Admin/View/Default/Slide/SaveInfo.html | 21 +- service/Application/Common/Lang/zh-cn.php | 20 +- service/Install/shopxo.sql | 45 +- .../Public/Admin/Default/Css/AppHomeNav.css | 19 + .../Public/Common/Images/am-icon-alipay.png | Bin .../Public/Common/Lib/assets/css/admin.css | 0 .../Public/Common/Lib/assets/css/amazeui.css | 0 .../Common/Lib/assets/css/amazeui.flat.css | 0 .../Lib/assets/css/amazeui.flat.min.css | 0 .../Common/Lib/assets/css/amazeui.min.css | 0 service/Public/Common/Lib/assets/css/app.css | 0 .../Common/Lib/assets/fonts/FontAwesome.otf | Bin .../Lib/assets/fonts/fontawesome-webfont.eot | Bin .../Lib/assets/fonts/fontawesome-webfont.ttf | Bin .../Lib/assets/fonts/fontawesome-webfont.woff | Bin .../assets/fonts/fontawesome-webfont.woff2 | Bin .../Common/Lib/assets/i/app-icon72x72@2x.png | Bin .../Lib/assets/i/examples/admin-chrome.png | Bin .../Lib/assets/i/examples/admin-firefox.png | Bin .../Common/Lib/assets/i/examples/admin-ie.png | Bin .../Lib/assets/i/examples/admin-opera.png | Bin .../Lib/assets/i/examples/admin-safari.png | Bin .../Lib/assets/i/examples/adminPage.png | Bin .../Common/Lib/assets/i/examples/blogPage.png | Bin .../Common/Lib/assets/i/examples/landing.png | Bin .../Lib/assets/i/examples/landingPage.png | Bin .../Lib/assets/i/examples/loginPage.png | Bin .../Lib/assets/i/examples/sidebarPage.png | Bin .../Public/Common/Lib/assets/i/favicon.png | Bin .../Common/Lib/assets/i/startup-640x1096.png | Bin .../Lib/assets/js/amazeui.ie8polyfill.js | 0 .../Lib/assets/js/amazeui.ie8polyfill.min.js | 0 .../Public/Common/Lib/assets/js/amazeui.js | 0 .../Common/Lib/assets/js/amazeui.min.js | 0 .../Lib/assets/js/amazeui.widgets.helper.js | 0 .../assets/js/amazeui.widgets.helper.min.js | 0 service/Public/Common/Lib/assets/js/app.js | 0 .../Common/Lib/assets/js/handlebars.min.js | 0 .../Images/home-mini-nav-order-icon.png | Bin 46 files changed, 739 insertions(+), 26 deletions(-) create mode 100755 service/Application/Admin/Controller/AppHomeNavController.class.php create mode 100755 service/Application/Admin/Lang/zh-cn/apphomenav.php create mode 100755 service/Application/Admin/Model/AppHomeNavModel.class.php create mode 100755 service/Application/Admin/View/Default/AppHomeNav/Index.html create mode 100755 service/Application/Admin/View/Default/AppHomeNav/SaveInfo.html mode change 100755 => 100644 service/Install/shopxo.sql create mode 100755 service/Public/Admin/Default/Css/AppHomeNav.css mode change 100644 => 100755 service/Public/Common/Images/am-icon-alipay.png mode change 100644 => 100755 service/Public/Common/Lib/assets/css/admin.css mode change 100644 => 100755 service/Public/Common/Lib/assets/css/amazeui.css mode change 100644 => 100755 service/Public/Common/Lib/assets/css/amazeui.flat.css mode change 100644 => 100755 service/Public/Common/Lib/assets/css/amazeui.flat.min.css mode change 100644 => 100755 service/Public/Common/Lib/assets/css/amazeui.min.css mode change 100644 => 100755 service/Public/Common/Lib/assets/css/app.css mode change 100644 => 100755 service/Public/Common/Lib/assets/fonts/FontAwesome.otf mode change 100644 => 100755 service/Public/Common/Lib/assets/fonts/fontawesome-webfont.eot mode change 100644 => 100755 service/Public/Common/Lib/assets/fonts/fontawesome-webfont.ttf mode change 100644 => 100755 service/Public/Common/Lib/assets/fonts/fontawesome-webfont.woff mode change 100644 => 100755 service/Public/Common/Lib/assets/fonts/fontawesome-webfont.woff2 mode change 100644 => 100755 service/Public/Common/Lib/assets/i/app-icon72x72@2x.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/examples/admin-chrome.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/examples/admin-firefox.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/examples/admin-ie.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/examples/admin-opera.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/examples/admin-safari.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/examples/adminPage.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/examples/blogPage.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/examples/landing.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/examples/landingPage.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/examples/loginPage.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/examples/sidebarPage.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/favicon.png mode change 100644 => 100755 service/Public/Common/Lib/assets/i/startup-640x1096.png mode change 100644 => 100755 service/Public/Common/Lib/assets/js/amazeui.ie8polyfill.js mode change 100644 => 100755 service/Public/Common/Lib/assets/js/amazeui.ie8polyfill.min.js mode change 100644 => 100755 service/Public/Common/Lib/assets/js/amazeui.js mode change 100644 => 100755 service/Public/Common/Lib/assets/js/amazeui.min.js mode change 100644 => 100755 service/Public/Common/Lib/assets/js/amazeui.widgets.helper.js mode change 100644 => 100755 service/Public/Common/Lib/assets/js/amazeui.widgets.helper.min.js mode change 100644 => 100755 service/Public/Common/Lib/assets/js/app.js mode change 100644 => 100755 service/Public/Common/Lib/assets/js/handlebars.min.js mode change 100644 => 100755 service/Public/Home/Default/Images/home-mini-nav-order-icon.png diff --git a/service/Application/Admin/Controller/AppHomeNavController.class.php b/service/Application/Admin/Controller/AppHomeNavController.class.php new file mode 100755 index 000000000..07acbe07e --- /dev/null +++ b/service/Application/Admin/Controller/AppHomeNavController.class.php @@ -0,0 +1,393 @@ +Is_Login(); + + // 权限校验 + $this->Is_Power(); + } + + /** + * [Index 手机管理-首页导航列表] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-06T21:31:53+0800 + */ + public function Index() + { + // 参数 + $param = array_merge($_POST, $_GET); + + // 模型对象 + $m = M('AppHomeNav'); + + // 条件 + $where = $this->GetIndexWhere(); + + // 分页 + $number = MyC('admin_page_number'); + $page_param = array( + 'number' => $number, + 'total' => $m->where($where)->count(), + 'where' => $param, + 'url' => U('Admin/AppHomeNav/Index'), + ); + $page = new \Library\Page($page_param); + + // 获取列表 + $list = $this->SetDataHandle($m->where($where)->limit($page->GetPageStarNumber(), $number)->order('is_enable desc, id desc')->select()); + + // 参数 + $this->assign('param', $param); + + // 分页 + $this->assign('page_html', $page->GetPageHtml()); + + // 是否启用 + $this->assign('common_is_enable_list', L('common_is_enable_list')); + + // 所属平台 + $this->assign('common_platform_type', L('common_platform_type')); + + // app事件类型 + $this->assign('common_app_event_type', L('common_app_event_type')); + + // 数据列表 + $this->assign('list', $list); + $this->display('Index'); + } + + /** + * [SetDataHandle 数据处理] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-29T21:27:15+0800 + * @param [array] $data [手机管理-首页导航数据] + * @return [array] [处理好的数据] + */ + private function SetDataHandle($data) + { + if(!empty($data)) + { + $common_platform_type = L('common_platform_type'); + $common_is_enable_tips = L('common_is_enable_tips'); + $common_app_event_type = L('common_app_event_type'); + foreach($data as &$v) + { + // 是否启用 + $v['is_enable_text'] = $common_is_enable_tips[$v['is_enable']]['name']; + + // 平台类型 + $v['platform_text'] = $common_platform_type[$v['platform']]['name']; + + // 跳转类型 + $v['event_type_text'] = $common_app_event_type[$v['event_type']]['name']; + + // 图片地址 + $v['images_url'] = empty($v['images_url']) ? '' : C('IMAGE_HOST').$v['images_url']; + + // 添加时间 + $v['add_time_text'] = date('Y-m-d H:i:s', $v['add_time']); + + // 更新时间 + $v['upd_time_text'] = date('Y-m-d H:i:s', $v['upd_time']); + } + } + return $data; + } + + /** + * [GetIndexWhere 列表条件] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-10T22:16:29+0800 + */ + private function GetIndexWhere() + { + $where = array(); + + // 模糊 + if(!empty($_REQUEST['keyword'])) + { + $where['name'] = array('like', '%'.I('keyword').'%'); + } + + // 是否更多条件 + if(I('is_more', 0) == 1) + { + if(I('is_enable', -1) > -1) + { + $where['is_enable'] = intval(I('is_enable', 0)); + } + if(I('event_type', -1) > -1) + { + $where['event_type'] = intval(I('event_type', 0)); + } + if(!empty($_REQUEST['platform'])) + { + $where['platform'] = I('platform'); + } + + // 表达式 + if(!empty($_REQUEST['time_start'])) + { + $where['add_time'][] = array('gt', strtotime(I('time_start'))); + } + if(!empty($_REQUEST['time_end'])) + { + $where['add_time'][] = array('lt', strtotime(I('time_end'))); + } + } + return $where; + } + + /** + * [SaveInfo 添加/编辑页面] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-14T21:37:02+0800 + */ + public function SaveInfo() + { + // 手机管理-首页导航信息 + $data = empty($_REQUEST['id']) ? array() : M('AppHomeNav')->find(I('id')); + $this->assign('data', $data); + + // 所属平台 + $this->assign('common_platform_type', L('common_platform_type')); + + // app事件类型 + $this->assign('common_app_event_type', L('common_app_event_type')); + + // 参数 + $this->assign('platform_type', 'alipay'); + $this->assign('param', array_merge($_POST, $_GET)); + + $this->display('SaveInfo'); + } + + /** + * [Save 手机管理-首页导航添加/编辑] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-14T21:37:02+0800 + */ + public function Save() + { + // 是否ajax请求 + if(!IS_AJAX) + { + $this->error(L('common_unauthorized_access')); + } + + // 图片 + if(!empty($_FILES['file_images_url'])) + { + // 文件上传校验 + $error = FileUploadError('file_images_url'); + if($error !== true) + { + $this->ajaxReturn($error, -1); + } + + // 文件类型 + list($type, $suffix) = explode('/', $_FILES['file_images_url']['type']); + $path = 'Public'.DS.'Upload'.DS.'app_home_nav'.DS.date('Y').DS.date('m').DS; + if(!is_dir($path)) + { + mkdir(ROOT_PATH.$path, 0777, true); + } + $filename = date('YmdHis').GetNumberCode(6).'.'.$suffix; + $file_images_url = $path.$filename; + + if(move_uploaded_file($_FILES['file_images_url']['tmp_name'], ROOT_PATH.$file_images_url)) + { + $_POST['images_url'] = DS.$file_images_url; + } + } + + // 添加 + if(empty($_POST['id'])) + { + $this->Add(); + + // 编辑 + } else { + $this->Edit(); + } + } + + /** + * [Add 手机管理-首页导航添加] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-18T16:20:59+0800 + */ + private function Add() + { + // 手机管理-首页导航模型 + $m = D('AppHomeNav'); + + // 数据自动校验 + if($m->create($_POST, 1)) + { + // 额外数据处理 + $m->name = I('name'); + $m->jump_url = I('jump_url'); + $m->event_type = intval(I('event_type')); + $m->images_url = I('images_url'); + $m->platform = I('platform'); + $m->is_enable = intval(I('is_enable', 0)); + $m->bg_color = I('bg_color'); + $m->add_time = time(); + + // 数据添加 + if($m->add()) + { + $this->ajaxReturn(L('common_operation_add_success')); + } else { + $this->ajaxReturn(L('common_operation_add_error'), -100); + } + } else { + $this->ajaxReturn($m->getError(), -1); + } + } + + /** + * [Edit 手机管理-首页导航编辑] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-17T22:13:40+0800 + */ + private function Edit() + { + // 手机管理-首页导航模型 + $m = D('AppHomeNav'); + + // 数据自动校验 + if($m->create($_POST, 2)) + { + // 额外数据处理 + $m->name = I('name'); + $m->jump_url = I('jump_url'); + $m->event_type = intval(I('event_type')); + $m->images_url = I('images_url'); + $m->platform = I('platform'); + $m->is_enable = intval(I('is_enable', 0)); + $m->bg_color = I('bg_color'); + $m->upd_time = time(); + + // 更新数据库 + if($m->where(array('id'=>I('id')))->save()) + { + $this->ajaxReturn(L('common_operation_edit_success')); + } else { + $this->ajaxReturn(L('common_operation_edit_error'), -100); + } + } else { + $this->ajaxReturn($m->getError(), -1); + } + } + + /** + * [Delete 手机管理-首页导航删除] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-15T11:03:30+0800 + */ + public function Delete() + { + // 是否ajax请求 + if(!IS_AJAX) + { + $this->error(L('common_unauthorized_access')); + } + + // 参数处理 + $id = I('id'); + + // 删除数据 + if(!empty($id)) + { + // 模型 + $m = M('AppHomeNav'); + + // 是否存在 + $data = $m->find($id); + if(empty($data)) + { + $this->ajaxReturn(L('common_data_no_exist_error'), -2); + } + if($data['is_enable'] == 1) + { + $this->ajaxReturn(L('common_already_is_enable_error'), -3); + } + + // 删除 + if($m->where(array('id'=>$id))->delete() !== false) + { + $this->ajaxReturn(L('common_operation_delete_success')); + } else { + $this->ajaxReturn(L('common_operation_delete_error'), -100); + } + } else { + $this->ajaxReturn(L('common_param_error'), -1); + } + } + + /** + * [StatusUpdate 状态更新] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2017-01-12T22:23:06+0800 + */ + public function StatusUpdate() + { + // 参数 + if(empty($_POST['id']) || !isset($_POST['state'])) + { + $this->ajaxReturn(L('common_param_error'), -1); + } + + // 数据更新 + if(M('AppHomeNav')->where(array('id'=>I('id')))->save(array('is_enable'=>I('state')))) + { + $this->ajaxReturn(L('common_operation_edit_success')); + } else { + $this->ajaxReturn(L('common_operation_edit_error'), -100); + } + } +} +?> \ No newline at end of file diff --git a/service/Application/Admin/Controller/SlideController.class.php b/service/Application/Admin/Controller/SlideController.class.php index c5fc08569..3529da56b 100755 --- a/service/Application/Admin/Controller/SlideController.class.php +++ b/service/Application/Admin/Controller/SlideController.class.php @@ -180,9 +180,6 @@ class SlideController extends CommonController $data = empty($_REQUEST['id']) ? array() : M('Slide')->find(I('id')); $this->assign('data', $data); - // 是否启用 - $this->assign('common_is_enable_list', L('common_is_enable_list')); - // 所属平台 $this->assign('common_platform_type', L('common_platform_type')); @@ -268,7 +265,7 @@ class SlideController extends CommonController $m->jump_url_type = intval(I('jump_url_type')); $m->images_url = I('images_url'); $m->platform = I('platform'); - $m->is_enable = intval(I('is_enable')); + $m->is_enable = intval(I('is_enable', 0)); $m->bg_color = I('bg_color'); $m->add_time = time(); @@ -305,7 +302,7 @@ class SlideController extends CommonController $m->jump_url_type = intval(I('jump_url_type')); $m->images_url = I('images_url'); $m->platform = I('platform'); - $m->is_enable = intval(I('is_enable')); + $m->is_enable = intval(I('is_enable', 0)); $m->bg_color = I('bg_color'); $m->upd_time = time(); diff --git a/service/Application/Admin/Lang/zh-cn/apphomenav.php b/service/Application/Admin/Lang/zh-cn/apphomenav.php new file mode 100755 index 000000000..ebcb0e414 --- /dev/null +++ b/service/Application/Admin/Lang/zh-cn/apphomenav.php @@ -0,0 +1,21 @@ + '导航添加', + 'app_home_nav_edit_name' => '导航编辑', + + 'app_home_nav_name_text' => '名称', + 'app_home_nav_name_format' => '名称格式 2~60 个字符', + + 'app_home_nav_images_url_text' => '导航图标', + 'app_home_nav_images_url_format' => '请上传导航图标', +); +?> \ No newline at end of file diff --git a/service/Application/Admin/Model/AppHomeNavModel.class.php b/service/Application/Admin/Model/AppHomeNavModel.class.php new file mode 100755 index 000000000..b3bf1bd2b --- /dev/null +++ b/service/Application/Admin/Model/AppHomeNavModel.class.php @@ -0,0 +1,26 @@ + \ No newline at end of file diff --git a/service/Application/Admin/Model/SlideModel.class.php b/service/Application/Admin/Model/SlideModel.class.php index 43cef6adc..20f753ed0 100755 --- a/service/Application/Admin/Model/SlideModel.class.php +++ b/service/Application/Admin/Model/SlideModel.class.php @@ -16,7 +16,7 @@ class SlideModel extends CommonModel protected $_validate = array( // 添加,编辑 array('name', '0,60', '{%slide_name_format}', 1, 'length', 3), - array('platform', array('pc','h5','alipay','wechat','baidu'), '{%common_platform_format}', 1, 'in', 3), + array('platform', array('pc','h5','app','alipay','wechat','baidu'), '{%common_platform_format}', 1, 'in', 3), array('jump_url', '0,255', '{%common_jump_url_format}', 2, 'length', 3), array('jump_url_type', array(0,1,2), '{%common_jump_url_type_format}', 1, 'in', 3), array('images_url', 'require', '{%slide_images_url_format}', 1, '', 3), diff --git a/service/Application/Admin/View/Default/AppHomeNav/Index.html b/service/Application/Admin/View/Default/AppHomeNav/Index.html new file mode 100755 index 000000000..582460023 --- /dev/null +++ b/service/Application/Admin/View/Default/AppHomeNav/Index.html @@ -0,0 +1,122 @@ + + + +
+
+ +
+
+ value="{{$param.keyword}}" /> + + + +
none"> + + + +
+ value="{{$param.time_start}}"/> + ~ + value="{{$param.time_end}}"/> +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + class="am-active"> + + + + + + + + + + + + + +
{{:L('app_home_nav_name_text')}}{{:L('common_platform_text')}}{{:L('app_home_nav_images_url_text')}}{{:L('common_app_event_value_text')}}{{:L('common_view_enable_title')}}{{:L('common_create_time_name')}}{{:L('common_operation_name')}}
{{$v.name}}{{$v.platform_text}} + + + {{$v.event_value}} + +
{{$v.event_type_text}} +
+
+ am-successam-default" data-url="{{:U('Admin/AppHomeNav/StatusUpdate')}}" data-id="{{$v.id}}" data-state="{{$v['is_enable']}}" data-is-update-status="1"> + {{$v.add_time_text}} + + + + + + +
{{:L('common_not_data_tips')}}
+ + + + + {{$page_html}} + + +
+
+ + + + + \ No newline at end of file diff --git a/service/Application/Admin/View/Default/AppHomeNav/SaveInfo.html b/service/Application/Admin/View/Default/AppHomeNav/SaveInfo.html new file mode 100755 index 000000000..dabdc7b7b --- /dev/null +++ b/service/Application/Admin/View/Default/AppHomeNav/SaveInfo.html @@ -0,0 +1,89 @@ + + + +
+
+ +
+ + + + + {{:L('app_home_nav_add_name')}} + + {{:L('app_home_nav_edit_name')}} + + + {{:L('common_operation_back')}} + +
+ + value="{{$data.name}}" required /> +
+ +
+ + +
+ +
+ + +
+
+
+ +

{{:L('common_app_event_type_tips')}}

+
+ + value="{{$data.event_value}}" /> +
+ +
+ + + value="{{$data.images_url}}"" data-validation-message="{{:L('common_select_images_tips')}}" readonly="readonly" value="{{$data.images_url}}" required /> + +
+ + +
+
+ + {{$data.bg_color}}" /> + +
+
+ + checked="true" /> +
+
+ value="{{$data.id}}" /> + +
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/service/Application/Admin/View/Default/Slide/SaveInfo.html b/service/Application/Admin/View/Default/Slide/SaveInfo.html index df9b8a35f..5152ed89e 100755 --- a/service/Application/Admin/View/Default/Slide/SaveInfo.html +++ b/service/Application/Admin/View/Default/Slide/SaveInfo.html @@ -22,25 +22,27 @@
- +
-
- - value="{{$data.jump_url}}" /> -
- +
+
+ + value="{{$data.jump_url}}" /> +
@@ -53,12 +55,15 @@
- + {{$data.bg_color}}" />
- +
+ + checked="true" /> +
value="{{$data.id}}" /> diff --git a/service/Application/Common/Lang/zh-cn.php b/service/Application/Common/Lang/zh-cn.php index 59830e5bd..bc986aff3 100755 --- a/service/Application/Common/Lang/zh-cn.php +++ b/service/Application/Common/Lang/zh-cn.php @@ -317,6 +317,12 @@ return array( 'common_linkage_county_format' => '请选择区/县', 'common_avatar_upload_title' => '头像上传', + 'common_app_event_type_text' => '事件类型', + 'common_app_event_type_format' => '事件值类型有误', + 'common_app_event_type_tips' => '1,2,3', + 'common_app_event_value_text' => '事件值', + 'common_app_event_value_format' => '事件值最多 255 个字符', + // 性别 'common_gender_list' => array( 0 => array('id' => 0, 'name' => '保密', 'checked' => true), @@ -402,8 +408,9 @@ return array( // 所属平台 'common_platform_type' => array( - 'pc' => array('value' => 'pc', 'name' => 'PC网站', 'checked' => true), + 'pc' => array('value' => 'pc', 'name' => 'PC网站'), 'h5' => array('value' => 'h5', 'name' => 'H5手机网站'), + 'app' => array('value' => 'app', 'name' => 'APP'), 'alipay' => array('value' => 'alipay', 'name' => '支付宝小程序'), 'wechat' => array('value' => 'wechat', 'name' => '微信小程序'), 'baidu' => array('value' => 'baidu', 'name' => '百度小程序'), @@ -411,7 +418,7 @@ return array( // 小程序url跳转类型 'common_jump_url_type' => array( - 0 => array('value' => 0, 'name' => 'WEB页面', 'checked' => true), + 0 => array('value' => 0, 'name' => 'WEB页面'), 1 => array('value' => 1, 'name' => '内部页面(小程序或APP内部地址)'), 2 => array('value' => 2, 'name' => '外部小程序(同一个主体下的小程序appid)'), ), @@ -572,6 +579,15 @@ return array( 1 => array('value' => 1, 'name' => '上架', 'checked' => true), ), + // app事件类型 + 'common_app_event_type' => array( + 0 => array('value' => 0, 'name' => 'WEB页面'), + 1 => array('value' => 1, 'name' => '内部页面(小程序内部地址)'), + 2 => array('value' => 2, 'name' => '外部小程序(同一个主体下的小程序appid)'), + 3 => array('value' => 3, 'name' => '跳转原生地图查看指定位置'), + 4 => array('value' => 4, 'name' => '拨打电话'), + ), + // 色彩值 'common_color_list' => array( diff --git a/service/Install/shopxo.sql b/service/Install/shopxo.sql old mode 100755 new mode 100644 index b45d3836e..77371333c --- a/service/Install/shopxo.sql +++ b/service/Install/shopxo.sql @@ -1,20 +1,18 @@ /* - 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 - Target Server Type : MySQL - Target Server Version : 50722 + Target Server Version : 50716 File Encoding : utf-8 - Date: 11/15/2018 11:28:02 AM + Date: 11/19/2018 02:09:29 AM */ -SET NAMES utf8mb4; +SET NAMES utf8; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- @@ -377,6 +375,33 @@ BEGIN; INSERT INTO `s_answer` VALUES ('1', '16', '71', '', '服务态度有问题', '成不成不能吧v能吃饱v', '1', '1', '1533181228', '1528193597', '1533120184'), ('2', '1', '70', '', '哥哥', '公司的高等师范问题是分公司的发个', '0', '1', '1533119830', '1528441168', '1528441168'), ('3', '1', '71', '', '服务态度不好', '陈v被吵醒报错信息吃饱饱', '1', '1', '1533181226', '1528441185', '1533120179'), ('4', '5', '71', '', '哈哈哈', '', '0', '0', '1533119825', '1528441474', '1528441474'), ('5', '5', '70', '', 'fgg', '', '0', '0', '1533119824', '1528441502', '1528441502'), ('6', '2', '71', '', '周五', '', '0', '0', '1533119822', '1528441734', '1528441734'), ('7', '13', '70', '', '准备抱着你睡觉睡觉睡觉睡觉就自己正在抱抱直播直播还是止不住', '陈v下班v才下班陈v修补程序不想吃v不想吃v不行', '1', '1', '1533181225', '1528441888', '1533120170'), ('8', '1', '71', '', '不好', '', '0', '0', '1533119818', '1528449564', '1528449564'), ('9', '1', '70', '', '简单的几件事都觉得春节放假就到家', '', '0', '1', '1533181223', '1528451125', '1528451125'), ('10', '14', '70', '', '沟沟壑壑实话实说、身份记得记得记得记得接,就是今生今世。\n觉得患得患失计算机多久就多久多久\n合适的还是生活', '', '0', '1', '1533181220', '1528454808', '1528454808'), ('11', '5', '70', '', '皇上恕罪', '', '0', '0', '1533119816', '1528454909', '1528454909'), ('12', '1', '70', '', '哈哈看看', '', '0', '0', '1533119815', '1528473791', '1528473791'), ('13', '13', '70', '', '横说竖说', '', '0', '0', '1533119813', '1528473869', '1528473869'), ('14', '10', '70', '', '层次感 v 把 v', '发给', '0', '0', '1533119810', '1528550408', '1528550408'), ('15', '9', '70', '', '刚刚好', '', '0', '0', '1533119807', '1528550728', '1528550728'), ('17', '9', '70', '', '方法g', 'df水电费水电费是时光飞逝冬瓜豆腐三个', '0', '1', '1533119805', '1528871949', '1528871949'), ('18', '1', '75', '', 'hhh', '', '0', '0', '1533119804', '1528874112', '1528874112'), ('19', '5', '75', '', 'hhhhhhhhhhhhhh', '', '0', '0', '1533119802', '1528874306', '1528874306'), ('20', '2', '70', '', '如此动人的人', '', '0', '0', '1533119801', '1528875388', '1528875388'), ('21', '9', '70', '', '发一发发发', '', '0', '0', '1533119799', '1528875406', '1528875406'), ('22', '5', '75', '', 'hhhh', '', '0', '0', '1533119786', '1528875500', '1528875500'), ('23', '5', '75', '', 'kkk', '', '0', '0', '1533119785', '1528875698', '1528875698'), ('24', '9', '70', '', 'vggv\n刚刚好', '', '0', '0', '1533119783', '1528876279', '1528876279'), ('25', '1', '70', '', 'vhhj', '', '0', '1', '1533119781', '1528876297', '1528876297'), ('26', '2', '70', '', '刚刚发的发', '', '0', '1', '1533119798', '1528876511', '1528876511'), ('27', '7', '70', '', '关于反复阅读方法', '', '0', '1', '1533119794', '1528876534', '1528876534'), ('28', '77', 'dfdf', '13222333322', '是否收到是否是\n但是发水电费水电费sdfsad fsdf \n对方古典风格', '滚动冯大商股份德国大使馆提高速度个贴身高手的风格', '1', '0', '0', '1533032172', '1533120155'), ('29', '77', '龚哥哥', '17602128368', '下次v徐下电饭锅各个地方次v下次v', '闪光灯发dSD发给对方对方古典风格单方事故丹甫股份大哥个大搜狗搜索sf', '1', '1', '0', '1533088715', '1533120137'), ('30', '77', '发发发', '13222555566', '他嘎嘎哈哈哈哈哈哈我好还是生活啊\n顶焦度计难受就是思念思念思念\n电脑难上加难', '', '0', '1', '0', '1533121151', '0'), ('31', '77', '嘎嘎', '1332255545', '刚发的', '', '0', '0', '0', '1533265386', '0'); COMMIT; +-- ---------------------------- +-- Table structure for `s_app_home_nav` +-- ---------------------------- +DROP TABLE IF EXISTS `s_app_home_nav`; +CREATE TABLE `s_app_home_nav` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', + `platform` char(30) NOT NULL DEFAULT 'pc' COMMENT '所属平台(pc PC网站, h5 H5手机网站, app 手机APP, alipay 支付宝小程序, wechat 微信小程序, baidu 百度小程序)', + `event_type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '事件类型(0 WEB页面, 1 内部页面(小程序或APP内部地址), 2 外部小程序(同一个主体下的小程序appid), 3 打开地图, 4 拨打电话)', + `event_value` char(255) NOT NULL DEFAULT '' COMMENT '事件值', + `images_url` char(255) NOT NULL DEFAULT '' COMMENT '图片地址', + `name` char(60) NOT NULL DEFAULT '' COMMENT '别名', + `is_enable` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否启用(0否,1是)', + `bg_color` char(30) NOT NULL DEFAULT '' COMMENT 'css背景色值', + `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', + `upd_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间', + PRIMARY KEY (`id`), + KEY `platform` (`platform`), + KEY `is_enable` (`is_enable`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='手机 - 首页导航'; + +-- ---------------------------- +-- Records of `s_app_home_nav` +-- ---------------------------- +BEGIN; +INSERT INTO `s_app_home_nav` VALUES ('1', 'alipay', '1', '/pages/goods-category/goods-category', '/Public/Upload/app_home_nav/2018/11/20181119015607238796.png', '分类', '1', '#FF3300', '1542563498', '1542563767'); +COMMIT; + -- ---------------------------- -- Table structure for `s_article` -- ---------------------------- @@ -1176,13 +1201,13 @@ CREATE TABLE `s_power` ( `icon` char(60) NOT NULL DEFAULT '' COMMENT '图标class', `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=312 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; +) ENGINE=InnoDB AUTO_INCREMENT=320 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; -- ---------------------------- -- Records of `s_power` -- ---------------------------- BEGIN; -INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '2', '1', 'am-icon-recycle', '1481612301'), ('4', '1', '角色管理', 'Power', 'Role', '11', '1', '', '1481639037'), ('13', '1', '权限分配', 'Power', 'Index', '21', '1', '', '1482156143'), ('15', '1', '权限添加/编辑', 'Power', 'PowerSave', '22', '0', '', '1482243750'), ('16', '1', '权限删除', 'Power', 'PowerDelete', '23', '0', '', '1482243797'), ('17', '1', '角色组添加/编辑页面', 'Power', 'RoleSaveInfo', '12', '0', '', '1482243855'), ('18', '1', '角色组添加/编辑', 'Power', 'RoleSave', '13', '0', '', '1482243888'), ('19', '1', '管理员添加/编辑页面', 'Admin', 'SaveInfo', '2', '0', '', '1482244637'), ('20', '1', '管理员添加/编辑', 'Admin', 'Save', '3', '0', '', '1482244666'), ('21', '1', '管理员删除', 'Admin', 'Delete', '4', '0', '', '1482244688'), ('22', '1', '管理员列表', 'Admin', 'Index', '1', '1', '', '1482568868'), ('23', '1', '角色删除', 'Power', 'RoleDelete', '14', '0', '', '1482569155'), ('38', '0', '商品管理', 'Goods', 'Index', '3', '1', 'am-icon-legal', '1483283430'), ('39', '38', '商品管理', 'Goods', 'Index', '1', '1', '', '1483283546'), ('41', '0', '后台配置', 'Config', 'Index', '0', '1', 'am-icon-gear', '1483362358'), ('42', '41', '配置保存', 'Config', 'Save', '1', '0', '', '1483432335'), ('57', '38', '商品添加/编辑页面', 'Goods', 'SaveInfo', '2', '0', '', '1483616439'), ('58', '38', '商品添加/编辑', 'Goods', 'Save', '3', '0', '', '1483616492'), ('59', '38', '商品删除', 'Goods', 'Delete', '4', '0', '', '1483616569'), ('81', '0', '站点配置', 'Site', 'Index', '1', '1', 'am-icon-cogs', '1486182943'), ('103', '81', '站点设置', 'Site', 'Index', '0', '1', '', '1486561470'), ('104', '81', '短信设置', 'Sms', 'Index', '10', '1', '', '1486561615'), ('105', '81', '站点设置编辑', 'Site', 'Save', '1', '0', '', '1486561780'), ('107', '81', '短信设置编辑', 'Sms', 'Save', '11', '0', '', '1486562011'), ('118', '0', '工具', 'Tool', 'Index', '30', '1', 'am-icon-coffee', '1488108044'), ('119', '118', '缓存管理', 'Cache', 'Index', '1', '1', '', '1488108107'), ('120', '118', '站点缓存更新', 'Cache', 'SiteUpdate', '2', '0', '', '1488108235'), ('121', '118', '模板缓存更新', 'Cache', 'TemplateUpdate', '2', '0', '', '1488108390'), ('122', '118', '模块缓存更新', 'Cache', 'ModuleUpdate', '3', '0', '', '1488108436'), ('126', '0', '用户管理', 'User', 'Index', '2', '1', 'am-icon-user', '1490794162'), ('127', '126', '用户列表', 'User', 'Index', '0', '1', '', '1490794316'), ('128', '126', '用户编辑/添加页面', 'User', 'SaveInfo', '1', '0', '', '1490794458'), ('129', '126', '用户添加/编辑', 'User', 'Save', '2', '0', '', '1490794510'), ('130', '126', '用户删除', 'User', 'Delete', '3', '0', '', '1490794585'), ('146', '126', 'Excel导出', 'User', 'ExcelExport', '6', '0', '', '1522223773'), ('152', '0', '资源管理', 'Resources', 'Index', '29', '1', 'am-icon-yelp', '1526304409'), ('153', '152', '地区管理', 'Region', 'Index', '0', '1', '', '1526304473'), ('154', '152', '地区添加/编辑', 'Region', 'Save', '1', '0', '', '1526304503'), ('155', '152', '地区删除', 'Region', 'Delete', '2', '0', '', '1526304531'), ('156', '152', '快递管理', 'Express', 'Index', '10', '1', '', '1526304473'), ('157', '152', '快递添加/编辑', 'Express', 'Save', '11', '0', '', '1526304473'), ('158', '152', '快递删除', 'Express', 'Delete', '12', '0', '', '1526304473'), ('162', '0', '营销管理', 'Marketing', 'Index', '27', '0', 'am-icon-codepen', '1527042204'), ('163', '162', '优惠券管理', 'Coupon', 'Index', '0', '1', '', '1527042261'), ('164', '162', '优惠券状态更新', 'Coupon', 'StateUpdate', '1', '0', '', '1527048618'), ('165', '162', '优惠券添加/编辑页面', 'Coupon', 'SaveInfo', '2', '0', '', '1527048754'), ('166', '162', '优惠券添加/编辑', 'Coupon', 'Save', '3', '0', '', '1527048791'), ('167', '162', '用户优惠券列表', 'Coupon', 'User', '4', '0', '', '1527048877'), ('168', '162', '用户优惠券删除', 'Coupon', 'Delete', '5', '0', '', '1527048935'), ('169', '162', '优惠券发放页面', 'Coupon', 'SendInfo', '6', '0', '', '1527061899'), ('170', '162', '优惠券发放', 'Coupon', 'Send', '7', '0', '', '1527061927'), ('171', '162', '优惠券发放-用户查询', 'Coupon', 'UserQuery', '8', '0', '', '1527066512'), ('172', '152', '首页轮播', 'Slide', 'Index', '30', '1', '', '1527149117'), ('173', '152', '轮播添加/编辑页面', 'Slide', 'SaveInfo', '31', '0', '', '1527149152'), ('174', '152', '轮播添加/编辑', 'Slide', 'Save', '32', '0', '', '1527149186'), ('175', '152', '轮播状态更新', 'Slide', 'StateUpdate', '33', '0', '', '1527156980'), ('176', '152', '轮播删除', 'Slide', 'Delete', '34', '0', '', '1527157260'), ('177', '0', '订单管理', 'Order', 'Index', '5', '1', 'am-icon-reorder', '1522229870'), ('178', '177', '订单管理', 'Order', 'Index', '1', '1', '', '1522317898'), ('179', '177', '订单删除', 'Order', 'Delete', '2', '0', '', '1522317917'), ('180', '177', '订单取消', 'Order', 'Cancel', '3', '0', '', '1527497803'), ('181', '38', '商品上下架', 'Goods', 'StatusShelves', '5', '0', '', '1528080200'), ('182', '0', '数据管理', 'Data', 'Index', '28', '1', 'am-icon-database', '1528096661'), ('183', '182', '消息管理', 'Message', 'Index', '0', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '1', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '10', '1', '', '1528080200'), ('186', '182', '用户积分日志', 'UserIntegralLog', 'Index', '20', '1', '', '1528103067'), ('187', '182', '用户投诉', 'Complaint', 'Index', '30', '0', '', '1528189127'), ('188', '182', '投诉处理', 'Complaint', 'Save', '31', '0', '', '1528189193'), ('189', '182', '投诉删除', 'Complaint', 'Delete', '32', '0', '', '1528189211'), ('193', '152', '筛选价格', 'ScreeningPrice', 'Index', '40', '1', '', '1528708578'), ('194', '152', '筛选价格添加/编辑', 'ScreeningPrice', 'Save', '41', '0', '', '1528708609'), ('199', '81', 'SEO设置', 'Seo', 'Index', '30', '1', '', '1528771081'), ('200', '81', 'SEO设置编辑', 'Seo', 'Save', '31', '0', '', '1528771105'), ('201', '38', '商品分类', 'GoodsCategory', 'Index', '10', '1', '', '1529041901'), ('202', '38', '商品分类添加/编辑', 'GoodsCategory', 'Save', '11', '0', '', '1529041928'), ('203', '38', '商品分类删除', 'GoodsCategory', 'Delete', '12', '0', '', '1529041949'), ('204', '0', '文章管理', 'Article', 'Index', '26', '1', 'am-icon-folder-open', '1530360560'), ('205', '204', '文章管理', 'Article', 'Index', '0', '1', '', '1530360593'), ('206', '204', '文章添加/编辑页面', 'Article', 'SaveInfo', '1', '0', '', '1530360625'), ('207', '204', '文章添加/编辑', 'Article', 'Save', '2', '0', '', '1530360663'), ('208', '204', '文章删除', 'Article', 'Delete', '3', '0', '', '1530360692'), ('209', '204', '文章状态更新', 'Article', 'StatusUpdate', '4', '0', '', '1530360730'), ('210', '204', '文章分类', 'ArticleCategory', 'Index', '10', '1', '', '1530361071'), ('211', '204', '文章分类编辑/添加', 'ArticleCategory', 'Save', '11', '0', '', '1530361101'), ('212', '204', '文章分类删除', 'ArticleCategory', 'Delete', '12', '0', '', '1530361126'), ('213', '0', '问答留言', 'Answer', 'Index', '6', '0', 'am-icon-retweet', '1533112421'), ('214', '213', '问答留言管理', 'Answer', 'Index', '0', '1', '', '1533112443'), ('215', '213', '问答留言编辑', 'Answer', 'Save', '1', '0', '', '1533119660'), ('216', '213', '问答留言删除', 'Answer', 'Delete', '2', '0', '', '1533119680'), ('217', '213', '问答留言状态更新', 'Answer', 'StatusUpdate', '3', '0', '', '1533119704'), ('218', '38', '商品首页推荐', 'Goods', 'StatusHomeRecommended', '6', '0', '', '1533564476'), ('219', '81', '邮箱设置', 'Email', 'Index', '20', '1', '', '1533636067'), ('220', '81', '邮箱添加/编辑', 'Email', 'Save', '21', '0', '', '1533636109'), ('221', '81', '邮件发送测试', 'Email', 'EmailTest', '22', '0', '', '1533636157'), ('222', '0', '网站管理', 'Navigation', 'Index', '7', '1', 'am-icon-university fs-12', '1533692051'), ('223', '222', '导航管理', 'Navigation', 'Index', '0', '1', '', '1486183114'), ('226', '222', '导航添加/编辑', 'Navigation', 'Save', '2', '0', '', '1486183367'), ('227', '222', '导航删除', 'Navigation', 'Delete', '3', '0', '', '1486183410'), ('228', '222', '导航状态更新', 'Navigation', 'StatusUpdate', '4', '0', '', '1486183462'), ('234', '222', '自定义页面', 'CustomView', 'Index', '21', '1', '', '1486193400'), ('235', '222', '自定义页面添加/编辑页面', 'CustomView', 'SaveInfo', '22', '0', '', '1486193449'), ('236', '222', '自定义页面添加/编辑', 'CustomView', 'Save', '23', '0', '', '1486193473'), ('237', '222', '自定义页面删除', 'CustomView', 'Delete', '24', '0', '', '1486193516'), ('238', '222', '自定义页面状态更新', 'CustomView', 'StatusUpdate', '25', '0', '', '1486193582'), ('239', '222', '友情链接', 'Link', 'Index', '31', '1', '', '1486194358'), ('240', '222', '友情链接添加/编辑页面', 'Link', 'SaveInfo', '32', '0', '', '1486194392'), ('241', '222', '友情链接添加/编辑', 'Link', 'Save', '33', '0', '', '1486194413'), ('242', '222', '友情链接删除', 'Link', 'Delete', '34', '0', '', '1486194435'), ('243', '222', '友情链接状态更新', 'Link', 'StatusUpdate', '35', '0', '', '1486194479'), ('244', '222', '主题管理', 'Theme', 'Index', '60', '1', '', '1494381693'), ('245', '222', '主题管理添加/编辑', 'Theme', 'Save', '61', '0', '', '1494398194'), ('246', '222', '主题上传安装', 'Theme', 'Upload', '62', '0', '', '1494405096'), ('247', '222', '主题删除', 'Theme', 'Delete', '63', '0', '', '1494410655'), ('248', '204', '商品首页推荐', 'Article', 'StatusHomeRecommended', '5', '0', '', '1534156400'), ('249', '252', '品牌管理', 'Brand', 'Index', '0', '1', '', '1535683271'), ('250', '252', '品牌添加/编辑', 'Brand', 'Save', '2', '0', '', '1535683310'), ('251', '252', '品牌删除', 'Brand', 'Delete', '4', '0', '', '1535683351'), ('252', '0', '品牌管理', 'Brand', 'Index', '8', '1', 'am-icon-dribbble', '1535684308'), ('253', '252', '品牌分类', 'BrandCategory', 'Index', '10', '1', '', '1535684401'), ('254', '252', '品牌分类添加/编辑', 'BrandCategory', 'Save', '11', '0', '', '1535684424'), ('255', '252', '品牌分类删除', 'BrandCategory', 'Delete', '12', '0', '', '1535684444'), ('256', '252', '品牌添加/编辑页面', 'Brand', 'SaveInfo', '1', '0', '', '1535694837'), ('257', '252', '品牌状态更新', 'Brand', 'StateUpdate', '3', '0', '', '1535694880'), ('258', '152', '筛选价格删除', 'ScreeningPrice', 'Delete', '42', '0', '', '1536227071'), ('259', '152', '支付方式', 'Payment', 'Index', '50', '1', '', '1537156351'), ('260', '152', '支付方式安装/编辑页面', 'Payment', 'SaveInfo', '51', '0', '', '1537156423'), ('261', '152', '支付方式安装/编辑', 'Payment', 'Save', '52', '0', '', '1537156463'), ('262', '152', '支付方式删除', 'Payment', 'Delete', '53', '0', '', '1537156502'), ('263', '152', '支付方式安装', 'Payment', 'Install', '54', '0', '', '1537166090'), ('264', '152', '支付宝方式状态更新', 'Payment', 'StatusUpdate', '55', '0', '', '1537166149'), ('265', '152', '支付方式卸载', 'Payment', 'Uninstall', '56', '0', '', '1537167814'), ('266', '152', '支付方式上传', 'Payment', 'Upload', '57', '0', '', '1537173653'), ('267', '177', '订单发货', 'Order', 'Delivery', '4', '0', '', '1538413499'), ('268', '177', '订单收货', 'Order', 'Collect', '5', '0', '', '1538414034'), ('269', '177', '订单支付', 'Order', 'Pay', '6', '0', '', '1538757043'), ('270', '0', '支付宝生活号', 'AlipayLife', 'Index', '25', '1', 'am-icon-alipay', '1540175293'), ('271', '270', '生活号管理', 'AlipayLife', 'Index', '0', '1', '', '1540175632'), ('272', '270', '生活号添加/编辑页面', 'AlipayLife', 'SaveInfo', '2', '0', '', '1540175668'), ('273', '270', '生活号添加/编辑', 'AlipayLife', 'Save', '2', '0', '', '1540175706'), ('274', '270', '生活号删除', 'AlipayLife', 'Delete', '4', '0', '', '1540175780'), ('275', '270', '消息管理', 'AlipayLifeMessage', 'Index', '20', '1', '', '1540175867'), ('276', '270', '消息创建页面', 'AlipayLifeMessage', 'SaveInfo', '21', '0', '', '1540175907'), ('277', '270', '消息保存', 'AlipayLifeMessage', 'Save', '22', '0', '', '1540175929'), ('278', '270', '消息删除', 'AlipayLifeMessage', 'Delete', '23', '0', '', '1540175951'), ('279', '270', '用户管理', 'AlipayLifeUser', 'Index', '70', '1', '', '1540175983'), ('280', '270', '用户删除', 'AlipayLifeUser', 'Delete', '71', '0', '', '1540176023'), ('281', '270', '生活号分类', 'AlipayLifeCategory', 'Index', '10', '1', '', '1540176023'), ('282', '270', '生活号分类添加/编辑', 'AlipayLifeCategory', 'Save', '11', '0', '', '1540176023'), ('283', '270', '生活号分类删除', 'AlipayLifeCategory', 'Delete', '12', '0', '', '1540176023'), ('284', '270', '生活号状态更新', 'AlipayLife', 'StatusUpdate', '3', '0', '', '1540179220'), ('285', '270', '消息发送', 'AlipayLifeMessage', 'Send', '24', '0', '', '1540361501'), ('286', '270', '生活号搜索', 'AlipayLifeMessage', 'Search', '25', '0', '', '1540778598'), ('287', '270', '消息内容列表', 'AlipayLifeMessage', 'ContentIndex', '26', '0', '', '1540800203'), ('288', '270', '消息内容添加/编辑页面', 'AlipayLifeMessage', 'ContentSaveInfo', '27', '0', '', '1540800240'), ('289', '270', '消息内容添加/编辑', 'AlipayLifeMessage', 'ContentSave', '28', '0', '', '1540803394'), ('290', '270', '消息内容删除', 'AlipayLifeMessage', 'ContentDelete', '29', '0', '', '1540808858'), ('291', '270', '消息详情', 'AlipayLifeMessage', 'Detail', '30', '0', '', '1540864003'), ('292', '270', '菜单管理', 'AlipayLifeMenu', 'Index', '40', '1', '', '1540869824'), ('293', '270', '菜单管理添加/编辑页面', 'AlipayLifeMenu', 'SaveInfo', '41', '0', '', '1540869856'), ('294', '270', '菜单管理添加/编辑', 'AlipayLifeMenu', 'Save', '42', '0', '', '1540869880'), ('295', '270', '菜单删除', 'AlipayLifeMenu', 'Delete', '43', '0', '', '1540869907'), ('296', '270', '菜单发布', 'AlipayLifeMenu', 'Release', '44', '0', '', '1540869949'), ('297', '270', '菜单内容管理', 'AlipayLifeMenu', 'ContentIndex', '50', '0', '', '1540869992'), ('298', '270', '生活号搜索', 'AlipayLifeMenu', 'Search', '45', '0', '', '1540871105'), ('299', '270', '菜单内容添加/编辑页面', 'AlipayLifeMenu', 'ContentSaveInfo', '51', '0', '', '1540880313'), ('300', '270', '菜单内容添加/编辑', 'AlipayLifeMenu', 'ContentSave', '52', '0', '', '1540880363'), ('301', '270', '菜单内容删除', 'AlipayLifeMenu', 'ContentDelete', '53', '0', '', '1540885691'), ('302', '270', '菜单详情', 'AlipayLifeMenu', 'Detail', '54', '0', '', '1540892591'), ('303', '270', '批量上下架', 'AlipayLifeStatus', 'Index', '60', '1', '', '1540973954'), ('304', '270', '批量上下架添加/编辑页面', 'AlipayLifeStatus', 'SaveInfo', '61', '0', '', '1540973997'), ('305', '270', '批量上下架添加/编辑', 'AlipayLifeStatus', 'Save', '62', '0', '', '1540974015'), ('306', '270', '批量上下架提交', 'AlipayLifeStatus', 'Submit', '63', '0', '', '1540974061'), ('307', '270', '批量上下架生活号搜索', 'AlipayLifeStatus', 'Search', '64', '0', '', '1540974544'), ('308', '270', '批量上下架详情', 'AlipayLifeStatus', 'Detail', '65', '0', '', '1540979165'), ('309', '270', '批量上下架删除', 'AlipayLifeStatus', 'Delete', '66', '0', '', '1540980479'), ('310', '177', '订单确认', 'Order', 'Confirm', '7', '0', '', '1542011799'), ('311', '1', '角色状态更新', 'Power', 'RoleStatusUpdate', '15', '0', '', '1542102071'); +INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '2', '1', 'am-icon-recycle', '1481612301'), ('4', '1', '角色管理', 'Power', 'Role', '11', '1', '', '1481639037'), ('13', '1', '权限分配', 'Power', 'Index', '21', '1', '', '1482156143'), ('15', '1', '权限添加/编辑', 'Power', 'PowerSave', '22', '0', '', '1482243750'), ('16', '1', '权限删除', 'Power', 'PowerDelete', '23', '0', '', '1482243797'), ('17', '1', '角色组添加/编辑页面', 'Power', 'RoleSaveInfo', '12', '0', '', '1482243855'), ('18', '1', '角色组添加/编辑', 'Power', 'RoleSave', '13', '0', '', '1482243888'), ('19', '1', '管理员添加/编辑页面', 'Admin', 'SaveInfo', '2', '0', '', '1482244637'), ('20', '1', '管理员添加/编辑', 'Admin', 'Save', '3', '0', '', '1482244666'), ('21', '1', '管理员删除', 'Admin', 'Delete', '4', '0', '', '1482244688'), ('22', '1', '管理员列表', 'Admin', 'Index', '1', '1', '', '1482568868'), ('23', '1', '角色删除', 'Power', 'RoleDelete', '14', '0', '', '1482569155'), ('38', '0', '商品管理', 'Goods', 'Index', '3', '1', 'am-icon-legal', '1483283430'), ('39', '38', '商品管理', 'Goods', 'Index', '1', '1', '', '1483283546'), ('41', '0', '后台配置', 'Config', 'Index', '0', '1', 'am-icon-gear', '1483362358'), ('42', '41', '配置保存', 'Config', 'Save', '1', '0', '', '1483432335'), ('57', '38', '商品添加/编辑页面', 'Goods', 'SaveInfo', '2', '0', '', '1483616439'), ('58', '38', '商品添加/编辑', 'Goods', 'Save', '3', '0', '', '1483616492'), ('59', '38', '商品删除', 'Goods', 'Delete', '4', '0', '', '1483616569'), ('81', '0', '站点配置', 'Site', 'Index', '1', '1', 'am-icon-cogs', '1486182943'), ('103', '81', '站点设置', 'Site', 'Index', '0', '1', '', '1486561470'), ('104', '81', '短信设置', 'Sms', 'Index', '10', '1', '', '1486561615'), ('105', '81', '站点设置编辑', 'Site', 'Save', '1', '0', '', '1486561780'), ('107', '81', '短信设置编辑', 'Sms', 'Save', '11', '0', '', '1486562011'), ('118', '0', '工具', 'Tool', 'Index', '30', '1', 'am-icon-coffee', '1488108044'), ('119', '118', '缓存管理', 'Cache', 'Index', '1', '1', '', '1488108107'), ('120', '118', '站点缓存更新', 'Cache', 'SiteUpdate', '2', '0', '', '1488108235'), ('121', '118', '模板缓存更新', 'Cache', 'TemplateUpdate', '2', '0', '', '1488108390'), ('122', '118', '模块缓存更新', 'Cache', 'ModuleUpdate', '3', '0', '', '1488108436'), ('126', '0', '用户管理', 'User', 'Index', '2', '1', 'am-icon-user', '1490794162'), ('127', '126', '用户列表', 'User', 'Index', '0', '1', '', '1490794316'), ('128', '126', '用户编辑/添加页面', 'User', 'SaveInfo', '1', '0', '', '1490794458'), ('129', '126', '用户添加/编辑', 'User', 'Save', '2', '0', '', '1490794510'), ('130', '126', '用户删除', 'User', 'Delete', '3', '0', '', '1490794585'), ('146', '126', 'Excel导出', 'User', 'ExcelExport', '6', '0', '', '1522223773'), ('152', '0', '资源管理', 'Resources', 'Index', '29', '1', 'am-icon-yelp', '1526304409'), ('153', '152', '地区管理', 'Region', 'Index', '0', '1', '', '1526304473'), ('154', '152', '地区添加/编辑', 'Region', 'Save', '1', '0', '', '1526304503'), ('155', '152', '地区删除', 'Region', 'Delete', '2', '0', '', '1526304531'), ('156', '152', '快递管理', 'Express', 'Index', '10', '1', '', '1526304473'), ('157', '152', '快递添加/编辑', 'Express', 'Save', '11', '0', '', '1526304473'), ('158', '152', '快递删除', 'Express', 'Delete', '12', '0', '', '1526304473'), ('162', '0', '营销管理', 'Marketing', 'Index', '27', '0', 'am-icon-codepen', '1527042204'), ('163', '162', '优惠券管理', 'Coupon', 'Index', '0', '1', '', '1527042261'), ('164', '162', '优惠券状态更新', 'Coupon', 'StateUpdate', '1', '0', '', '1527048618'), ('165', '162', '优惠券添加/编辑页面', 'Coupon', 'SaveInfo', '2', '0', '', '1527048754'), ('166', '162', '优惠券添加/编辑', 'Coupon', 'Save', '3', '0', '', '1527048791'), ('167', '162', '用户优惠券列表', 'Coupon', 'User', '4', '0', '', '1527048877'), ('168', '162', '用户优惠券删除', 'Coupon', 'Delete', '5', '0', '', '1527048935'), ('169', '162', '优惠券发放页面', 'Coupon', 'SendInfo', '6', '0', '', '1527061899'), ('170', '162', '优惠券发放', 'Coupon', 'Send', '7', '0', '', '1527061927'), ('171', '162', '优惠券发放-用户查询', 'Coupon', 'UserQuery', '8', '0', '', '1527066512'), ('172', '152', '首页轮播', 'Slide', 'Index', '30', '1', '', '1527149117'), ('173', '152', '轮播添加/编辑页面', 'Slide', 'SaveInfo', '31', '0', '', '1527149152'), ('174', '152', '轮播添加/编辑', 'Slide', 'Save', '32', '0', '', '1527149186'), ('175', '152', '轮播状态更新', 'Slide', 'StateUpdate', '33', '0', '', '1527156980'), ('176', '152', '轮播删除', 'Slide', 'Delete', '34', '0', '', '1527157260'), ('177', '0', '订单管理', 'Order', 'Index', '5', '1', 'am-icon-reorder', '1522229870'), ('178', '177', '订单管理', 'Order', 'Index', '1', '1', '', '1522317898'), ('179', '177', '订单删除', 'Order', 'Delete', '2', '0', '', '1522317917'), ('180', '177', '订单取消', 'Order', 'Cancel', '3', '0', '', '1527497803'), ('181', '38', '商品上下架', 'Goods', 'StatusShelves', '5', '0', '', '1528080200'), ('182', '0', '数据管理', 'Data', 'Index', '28', '1', 'am-icon-database', '1528096661'), ('183', '182', '消息管理', 'Message', 'Index', '0', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '1', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '10', '1', '', '1528080200'), ('186', '182', '用户积分日志', 'UserIntegralLog', 'Index', '20', '1', '', '1528103067'), ('187', '182', '用户投诉', 'Complaint', 'Index', '30', '0', '', '1528189127'), ('188', '182', '投诉处理', 'Complaint', 'Save', '31', '0', '', '1528189193'), ('189', '182', '投诉删除', 'Complaint', 'Delete', '32', '0', '', '1528189211'), ('193', '152', '筛选价格', 'ScreeningPrice', 'Index', '40', '1', '', '1528708578'), ('194', '152', '筛选价格添加/编辑', 'ScreeningPrice', 'Save', '41', '0', '', '1528708609'), ('199', '81', 'SEO设置', 'Seo', 'Index', '30', '1', '', '1528771081'), ('200', '81', 'SEO设置编辑', 'Seo', 'Save', '31', '0', '', '1528771105'), ('201', '38', '商品分类', 'GoodsCategory', 'Index', '10', '1', '', '1529041901'), ('202', '38', '商品分类添加/编辑', 'GoodsCategory', 'Save', '11', '0', '', '1529041928'), ('203', '38', '商品分类删除', 'GoodsCategory', 'Delete', '12', '0', '', '1529041949'), ('204', '0', '文章管理', 'Article', 'Index', '26', '1', 'am-icon-folder-open', '1530360560'), ('205', '204', '文章管理', 'Article', 'Index', '0', '1', '', '1530360593'), ('206', '204', '文章添加/编辑页面', 'Article', 'SaveInfo', '1', '0', '', '1530360625'), ('207', '204', '文章添加/编辑', 'Article', 'Save', '2', '0', '', '1530360663'), ('208', '204', '文章删除', 'Article', 'Delete', '3', '0', '', '1530360692'), ('209', '204', '文章状态更新', 'Article', 'StatusUpdate', '4', '0', '', '1530360730'), ('210', '204', '文章分类', 'ArticleCategory', 'Index', '10', '1', '', '1530361071'), ('211', '204', '文章分类编辑/添加', 'ArticleCategory', 'Save', '11', '0', '', '1530361101'), ('212', '204', '文章分类删除', 'ArticleCategory', 'Delete', '12', '0', '', '1530361126'), ('213', '0', '问答留言', 'Answer', 'Index', '6', '0', 'am-icon-retweet', '1533112421'), ('214', '213', '问答留言管理', 'Answer', 'Index', '0', '1', '', '1533112443'), ('215', '213', '问答留言编辑', 'Answer', 'Save', '1', '0', '', '1533119660'), ('216', '213', '问答留言删除', 'Answer', 'Delete', '2', '0', '', '1533119680'), ('217', '213', '问答留言状态更新', 'Answer', 'StatusUpdate', '3', '0', '', '1533119704'), ('218', '38', '商品首页推荐', 'Goods', 'StatusHomeRecommended', '6', '0', '', '1533564476'), ('219', '81', '邮箱设置', 'Email', 'Index', '20', '1', '', '1533636067'), ('220', '81', '邮箱添加/编辑', 'Email', 'Save', '21', '0', '', '1533636109'), ('221', '81', '邮件发送测试', 'Email', 'EmailTest', '22', '0', '', '1533636157'), ('222', '0', '网站管理', 'Navigation', 'Index', '7', '1', 'am-icon-university fs-12', '1533692051'), ('223', '222', '导航管理', 'Navigation', 'Index', '0', '1', '', '1486183114'), ('226', '222', '导航添加/编辑', 'Navigation', 'Save', '2', '0', '', '1486183367'), ('227', '222', '导航删除', 'Navigation', 'Delete', '3', '0', '', '1486183410'), ('228', '222', '导航状态更新', 'Navigation', 'StatusUpdate', '4', '0', '', '1486183462'), ('234', '222', '自定义页面', 'CustomView', 'Index', '21', '1', '', '1486193400'), ('235', '222', '自定义页面添加/编辑页面', 'CustomView', 'SaveInfo', '22', '0', '', '1486193449'), ('236', '222', '自定义页面添加/编辑', 'CustomView', 'Save', '23', '0', '', '1486193473'), ('237', '222', '自定义页面删除', 'CustomView', 'Delete', '24', '0', '', '1486193516'), ('238', '222', '自定义页面状态更新', 'CustomView', 'StatusUpdate', '25', '0', '', '1486193582'), ('239', '222', '友情链接', 'Link', 'Index', '31', '1', '', '1486194358'), ('240', '222', '友情链接添加/编辑页面', 'Link', 'SaveInfo', '32', '0', '', '1486194392'), ('241', '222', '友情链接添加/编辑', 'Link', 'Save', '33', '0', '', '1486194413'), ('242', '222', '友情链接删除', 'Link', 'Delete', '34', '0', '', '1486194435'), ('243', '222', '友情链接状态更新', 'Link', 'StatusUpdate', '35', '0', '', '1486194479'), ('244', '222', '主题管理', 'Theme', 'Index', '60', '1', '', '1494381693'), ('245', '222', '主题管理添加/编辑', 'Theme', 'Save', '61', '0', '', '1494398194'), ('246', '222', '主题上传安装', 'Theme', 'Upload', '62', '0', '', '1494405096'), ('247', '222', '主题删除', 'Theme', 'Delete', '63', '0', '', '1494410655'), ('248', '204', '商品首页推荐', 'Article', 'StatusHomeRecommended', '5', '0', '', '1534156400'), ('249', '252', '品牌管理', 'Brand', 'Index', '0', '1', '', '1535683271'), ('250', '252', '品牌添加/编辑', 'Brand', 'Save', '2', '0', '', '1535683310'), ('251', '252', '品牌删除', 'Brand', 'Delete', '4', '0', '', '1535683351'), ('252', '0', '品牌管理', 'Brand', 'Index', '8', '1', 'am-icon-dribbble', '1535684308'), ('253', '252', '品牌分类', 'BrandCategory', 'Index', '10', '1', '', '1535684401'), ('254', '252', '品牌分类添加/编辑', 'BrandCategory', 'Save', '11', '0', '', '1535684424'), ('255', '252', '品牌分类删除', 'BrandCategory', 'Delete', '12', '0', '', '1535684444'), ('256', '252', '品牌添加/编辑页面', 'Brand', 'SaveInfo', '1', '0', '', '1535694837'), ('257', '252', '品牌状态更新', 'Brand', 'StateUpdate', '3', '0', '', '1535694880'), ('258', '152', '筛选价格删除', 'ScreeningPrice', 'Delete', '42', '0', '', '1536227071'), ('259', '152', '支付方式', 'Payment', 'Index', '50', '1', '', '1537156351'), ('260', '152', '支付方式安装/编辑页面', 'Payment', 'SaveInfo', '51', '0', '', '1537156423'), ('261', '152', '支付方式安装/编辑', 'Payment', 'Save', '52', '0', '', '1537156463'), ('262', '152', '支付方式删除', 'Payment', 'Delete', '53', '0', '', '1537156502'), ('263', '152', '支付方式安装', 'Payment', 'Install', '54', '0', '', '1537166090'), ('264', '152', '支付宝方式状态更新', 'Payment', 'StatusUpdate', '55', '0', '', '1537166149'), ('265', '152', '支付方式卸载', 'Payment', 'Uninstall', '56', '0', '', '1537167814'), ('266', '152', '支付方式上传', 'Payment', 'Upload', '57', '0', '', '1537173653'), ('267', '177', '订单发货', 'Order', 'Delivery', '4', '0', '', '1538413499'), ('268', '177', '订单收货', 'Order', 'Collect', '5', '0', '', '1538414034'), ('269', '177', '订单支付', 'Order', 'Pay', '6', '0', '', '1538757043'), ('270', '0', '支付宝生活号', 'AlipayLife', 'Index', '25', '1', 'am-icon-alipay', '1540175293'), ('271', '270', '生活号管理', 'AlipayLife', 'Index', '0', '1', '', '1540175632'), ('272', '270', '生活号添加/编辑页面', 'AlipayLife', 'SaveInfo', '2', '0', '', '1540175668'), ('273', '270', '生活号添加/编辑', 'AlipayLife', 'Save', '2', '0', '', '1540175706'), ('274', '270', '生活号删除', 'AlipayLife', 'Delete', '4', '0', '', '1540175780'), ('275', '270', '消息管理', 'AlipayLifeMessage', 'Index', '20', '1', '', '1540175867'), ('276', '270', '消息创建页面', 'AlipayLifeMessage', 'SaveInfo', '21', '0', '', '1540175907'), ('277', '270', '消息保存', 'AlipayLifeMessage', 'Save', '22', '0', '', '1540175929'), ('278', '270', '消息删除', 'AlipayLifeMessage', 'Delete', '23', '0', '', '1540175951'), ('279', '270', '用户管理', 'AlipayLifeUser', 'Index', '70', '1', '', '1540175983'), ('280', '270', '用户删除', 'AlipayLifeUser', 'Delete', '71', '0', '', '1540176023'), ('281', '270', '生活号分类', 'AlipayLifeCategory', 'Index', '10', '1', '', '1540176023'), ('282', '270', '生活号分类添加/编辑', 'AlipayLifeCategory', 'Save', '11', '0', '', '1540176023'), ('283', '270', '生活号分类删除', 'AlipayLifeCategory', 'Delete', '12', '0', '', '1540176023'), ('284', '270', '生活号状态更新', 'AlipayLife', 'StatusUpdate', '3', '0', '', '1540179220'), ('285', '270', '消息发送', 'AlipayLifeMessage', 'Send', '24', '0', '', '1540361501'), ('286', '270', '生活号搜索', 'AlipayLifeMessage', 'Search', '25', '0', '', '1540778598'), ('287', '270', '消息内容列表', 'AlipayLifeMessage', 'ContentIndex', '26', '0', '', '1540800203'), ('288', '270', '消息内容添加/编辑页面', 'AlipayLifeMessage', 'ContentSaveInfo', '27', '0', '', '1540800240'), ('289', '270', '消息内容添加/编辑', 'AlipayLifeMessage', 'ContentSave', '28', '0', '', '1540803394'), ('290', '270', '消息内容删除', 'AlipayLifeMessage', 'ContentDelete', '29', '0', '', '1540808858'), ('291', '270', '消息详情', 'AlipayLifeMessage', 'Detail', '30', '0', '', '1540864003'), ('292', '270', '菜单管理', 'AlipayLifeMenu', 'Index', '40', '1', '', '1540869824'), ('293', '270', '菜单管理添加/编辑页面', 'AlipayLifeMenu', 'SaveInfo', '41', '0', '', '1540869856'), ('294', '270', '菜单管理添加/编辑', 'AlipayLifeMenu', 'Save', '42', '0', '', '1540869880'), ('295', '270', '菜单删除', 'AlipayLifeMenu', 'Delete', '43', '0', '', '1540869907'), ('296', '270', '菜单发布', 'AlipayLifeMenu', 'Release', '44', '0', '', '1540869949'), ('297', '270', '菜单内容管理', 'AlipayLifeMenu', 'ContentIndex', '50', '0', '', '1540869992'), ('298', '270', '生活号搜索', 'AlipayLifeMenu', 'Search', '45', '0', '', '1540871105'), ('299', '270', '菜单内容添加/编辑页面', 'AlipayLifeMenu', 'ContentSaveInfo', '51', '0', '', '1540880313'), ('300', '270', '菜单内容添加/编辑', 'AlipayLifeMenu', 'ContentSave', '52', '0', '', '1540880363'), ('301', '270', '菜单内容删除', 'AlipayLifeMenu', 'ContentDelete', '53', '0', '', '1540885691'), ('302', '270', '菜单详情', 'AlipayLifeMenu', 'Detail', '54', '0', '', '1540892591'), ('303', '270', '批量上下架', 'AlipayLifeStatus', 'Index', '60', '1', '', '1540973954'), ('304', '270', '批量上下架添加/编辑页面', 'AlipayLifeStatus', 'SaveInfo', '61', '0', '', '1540973997'), ('305', '270', '批量上下架添加/编辑', 'AlipayLifeStatus', 'Save', '62', '0', '', '1540974015'), ('306', '270', '批量上下架提交', 'AlipayLifeStatus', 'Submit', '63', '0', '', '1540974061'), ('307', '270', '批量上下架生活号搜索', 'AlipayLifeStatus', 'Search', '64', '0', '', '1540974544'), ('308', '270', '批量上下架详情', 'AlipayLifeStatus', 'Detail', '65', '0', '', '1540979165'), ('309', '270', '批量上下架删除', 'AlipayLifeStatus', 'Delete', '66', '0', '', '1540980479'), ('310', '177', '订单确认', 'Order', 'Confirm', '7', '0', '', '1542011799'), ('311', '1', '角色状态更新', 'Power', 'RoleStatusUpdate', '15', '0', '', '1542102071'), ('312', '0', '支付宝小程序', 'AppMiniAlipay', 'Index', '24', '1', 'am-icon-alipay', '1542558274'), ('313', '312', '基础配置', 'AppMiniAlipayConfig', 'Index', '0', '1', '', '1542558297'), ('314', '319', '首页导航', 'AppHomeNav', 'Index', '10', '1', '', '1542558318'), ('315', '319', '首页导航添加/编辑页面', 'AppHomeNav', 'SaveInfo', '11', '0', '', '1542558686'), ('316', '319', '首页导航添加/编辑', 'AppHomeNav', 'Save', '12', '0', '', '1542558706'), ('317', '319', '首页导航状态更新', 'AppHomeNav', 'StatusUpdate', '13', '0', '', '1542558747'), ('318', '319', '首页导航删除', 'AppHomeNav', 'Delete', '14', '0', '', '1542558767'), ('319', '0', '手机端管理', 'App', 'Index', '20', '1', 'am-icon-mobile', '0'); COMMIT; -- ---------------------------- @@ -1364,7 +1389,7 @@ CREATE TABLE `s_slide` ( -- Records of `s_slide` -- ---------------------------- BEGIN; -INSERT INTO `s_slide` VALUES ('4', 'alipay', '1', '/pages/goods-detail/goods-detail?goods_id=1', '/Public/Upload/slide/2018/08/20180802171200374385.jpeg', '测试轮播1', '1', '', '1530364643', '1533201120'), ('5', 'alipay', '0', 'http://gong.gg/', '/Public/Upload/slide/2018/08/20180802171129148946.jpeg', '测试2', '1', '', '1530366416', '1533866686'), ('6', 'pc', '0', 'http://gong.gg', '/Public/Upload/slide/2018/08/20180810094402044087.jpeg', '浪漫七夕', '1', '#080718', '1533865442', '1533870434'), ('7', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810095910423687.jpeg', '海洋的未来', '1', '#016bcc', '1533866350', '1533870463'), ('8', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810100811853567.jpeg', '大闸蟹', '1', '#f2efe6', '1533866891', '1533870837'), ('9', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810101045451156.jpeg', '情定七夕', '1', '#7ddcf3', '1533867045', '1533870861'), ('10', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810101106984022.jpeg', '美酒', '1', '#f4bccb', '1533867066', '1533871001'), ('11', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810101154662873.jpeg', '助力七夕', '1', '#85c8c7', '1533867114', '1533871025'), ('12', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810101224227323.jpeg', '爱在厨房', '1', '#efc6c4', '1533867144', '1533871038'), ('13', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810101305611263.jpeg', '预享甜蜜', '1', '#f6f6f4', '1533867185', '1533871055'); +INSERT INTO `s_slide` VALUES ('4', 'alipay', '1', '/pages/goods-detail/goods-detail?goods_id=1', '/Public/Upload/slide/2018/08/20180802171200374385.jpeg', '测试轮播1', '1', '', '1530364643', '1533201120'), ('5', 'alipay', '0', 'http://gong.gg/', '/Public/Upload/slide/2018/08/20180802171129148946.jpeg', '测试2', '1', '', '1530366416', '1533866686'), ('6', 'pc', '0', 'http://gong.gg', '/Public/Upload/slide/2018/08/20180810094402044087.jpeg', '浪漫七夕', '1', '#080718', '1533865442', '1533870434'), ('7', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810095910423687.jpeg', '海洋的未来', '1', '#016bcc', '1533866350', '1533870463'), ('8', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810100811853567.jpeg', '大闸蟹', '1', '#f2efe6', '1533866891', '1533870837'), ('9', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810101045451156.jpeg', '情定七夕', '1', '#7ddcf3', '1533867045', '1533870861'), ('10', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810101106984022.jpeg', '美酒', '1', '#f4bccb', '1533867066', '1533871001'), ('11', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810101154662873.jpeg', '助力七夕', '1', '#85c8c7', '1533867114', '1533871025'), ('12', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810101224227323.jpeg', '爱在厨房', '1', '#efc6c4', '1533867144', '1533871038'), ('13', 'pc', '0', '', '/Public/Upload/slide/2018/08/20180810101305611263.jpeg', '预享甜蜜', '1', '#f6f6f4', '1533867185', '1542557775'); COMMIT; -- ---------------------------- diff --git a/service/Public/Admin/Default/Css/AppHomeNav.css b/service/Public/Admin/Default/Css/AppHomeNav.css new file mode 100755 index 000000000..80b0fd0cc --- /dev/null +++ b/service/Public/Admin/Default/Css/AppHomeNav.css @@ -0,0 +1,19 @@ +/** + * 列表 + */ +.form-keyword { width: 55% !important; display: initial !important; } +.more-submit input { display: none; } +.param-where, .param-date input { display: initial !important; } +@media only screen and (max-width: 641px) { + .param-where { width: 100% !important; margin-left: 0px !important; } + .param-date input { width: 47% !important; } +} +@media only screen and (min-width: 641px) { + .param-where { width: 32% !important; float: left; } + .param-date input { width: 45% !important; } + .param-where:nth-child(1), .param-where:nth-child(4) { margin-left: 0px !important; } +} +@media only screen and (max-width: 321px) { + .view-operation button { margin: 2px 0px; } +} +.nav-icon-circle { width: 60px; height: 60px; text-align: center; line-height: 60px; } \ No newline at end of file diff --git a/service/Public/Common/Images/am-icon-alipay.png b/service/Public/Common/Images/am-icon-alipay.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/css/admin.css b/service/Public/Common/Lib/assets/css/admin.css old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/css/amazeui.css b/service/Public/Common/Lib/assets/css/amazeui.css old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/css/amazeui.flat.css b/service/Public/Common/Lib/assets/css/amazeui.flat.css old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/css/amazeui.flat.min.css b/service/Public/Common/Lib/assets/css/amazeui.flat.min.css old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/css/amazeui.min.css b/service/Public/Common/Lib/assets/css/amazeui.min.css old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/css/app.css b/service/Public/Common/Lib/assets/css/app.css old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/fonts/FontAwesome.otf b/service/Public/Common/Lib/assets/fonts/FontAwesome.otf old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/fonts/fontawesome-webfont.eot b/service/Public/Common/Lib/assets/fonts/fontawesome-webfont.eot old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/fonts/fontawesome-webfont.ttf b/service/Public/Common/Lib/assets/fonts/fontawesome-webfont.ttf old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/fonts/fontawesome-webfont.woff b/service/Public/Common/Lib/assets/fonts/fontawesome-webfont.woff old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/fonts/fontawesome-webfont.woff2 b/service/Public/Common/Lib/assets/fonts/fontawesome-webfont.woff2 old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/app-icon72x72@2x.png b/service/Public/Common/Lib/assets/i/app-icon72x72@2x.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/examples/admin-chrome.png b/service/Public/Common/Lib/assets/i/examples/admin-chrome.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/examples/admin-firefox.png b/service/Public/Common/Lib/assets/i/examples/admin-firefox.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/examples/admin-ie.png b/service/Public/Common/Lib/assets/i/examples/admin-ie.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/examples/admin-opera.png b/service/Public/Common/Lib/assets/i/examples/admin-opera.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/examples/admin-safari.png b/service/Public/Common/Lib/assets/i/examples/admin-safari.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/examples/adminPage.png b/service/Public/Common/Lib/assets/i/examples/adminPage.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/examples/blogPage.png b/service/Public/Common/Lib/assets/i/examples/blogPage.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/examples/landing.png b/service/Public/Common/Lib/assets/i/examples/landing.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/examples/landingPage.png b/service/Public/Common/Lib/assets/i/examples/landingPage.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/examples/loginPage.png b/service/Public/Common/Lib/assets/i/examples/loginPage.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/examples/sidebarPage.png b/service/Public/Common/Lib/assets/i/examples/sidebarPage.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/favicon.png b/service/Public/Common/Lib/assets/i/favicon.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/i/startup-640x1096.png b/service/Public/Common/Lib/assets/i/startup-640x1096.png old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/js/amazeui.ie8polyfill.js b/service/Public/Common/Lib/assets/js/amazeui.ie8polyfill.js old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/js/amazeui.ie8polyfill.min.js b/service/Public/Common/Lib/assets/js/amazeui.ie8polyfill.min.js old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/js/amazeui.js b/service/Public/Common/Lib/assets/js/amazeui.js old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/js/amazeui.min.js b/service/Public/Common/Lib/assets/js/amazeui.min.js old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/js/amazeui.widgets.helper.js b/service/Public/Common/Lib/assets/js/amazeui.widgets.helper.js old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/js/amazeui.widgets.helper.min.js b/service/Public/Common/Lib/assets/js/amazeui.widgets.helper.min.js old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/js/app.js b/service/Public/Common/Lib/assets/js/app.js old mode 100644 new mode 100755 diff --git a/service/Public/Common/Lib/assets/js/handlebars.min.js b/service/Public/Common/Lib/assets/js/handlebars.min.js old mode 100644 new mode 100755 diff --git a/service/Public/Home/Default/Images/home-mini-nav-order-icon.png b/service/Public/Home/Default/Images/home-mini-nav-order-icon.png old mode 100644 new mode 100755 -- GitLab