From c11d4f5c8910a1542ee9f9b3d6a5239a35e6714a Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Tue, 12 Feb 2019 23:18:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E7=AE=A1=E7=90=86=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/Pluginsadmin.php | 46 ++++++++++++ .../view/default/pluginsadmin/first_step.html | 36 +++++++++ .../view/default/pluginsadmin/save_info.html | 73 +++++++++++++++++++ .../view/default/pluginsadmin/upload.html | 4 +- .../admin/view/default/power/index.html | 2 +- application/service/AdminPowerService.php | 4 +- config/shopxo.sql | 24 +++--- .../static/admin/default/css/pluginsadmin.css | 40 +++++----- 8 files changed, 191 insertions(+), 38 deletions(-) create mode 100644 application/admin/view/default/pluginsadmin/first_step.html create mode 100644 application/admin/view/default/pluginsadmin/save_info.html diff --git a/application/admin/controller/Pluginsadmin.php b/application/admin/controller/Pluginsadmin.php index 0b31cd47c..b50b82915 100644 --- a/application/admin/controller/Pluginsadmin.php +++ b/application/admin/controller/Pluginsadmin.php @@ -96,6 +96,52 @@ class Pluginsadmin extends Common } } + /** + * 添加/编辑页面 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2019-02-12T21:30:26+0800 + */ + public function SaveInfo() + { + // 参数 + $params = input(); + + // 参数 + $this->assign('params', $params); + + if(empty($params['plugins'])) + { + return $this->fetch('first_step'); + } else { + // 获取数据 + if(!empty($params['id'])) + { + + } + + // 编辑器文件存放地址 + $this->assign('editor_path_type', 'plugins_'.$params['plugins']); + + // 唯一标记 + $this->assign('plugins', $params['plugins']); + return $this->fetch('save_info'); + } + } + + /** + * 添加/编辑 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2019-02-12T21:30:26+0800 + */ + public function Save() + { + print_r(input()); + } + /** * [StatusUpdate 状态更新] * @author Devil diff --git a/application/admin/view/default/pluginsadmin/first_step.html b/application/admin/view/default/pluginsadmin/first_step.html new file mode 100644 index 000000000..ed9832fa3 --- /dev/null +++ b/application/admin/view/default/pluginsadmin/first_step.html @@ -0,0 +1,36 @@ +{{include file="public/header" /}} + + +
+
+ +
+ + + {{if empty($data['id'])}} + 应用添加 + {{else /}} + 应用编辑 + {{/if}} + + 返回 + + +
+ + +
+ +
+ + +
+
+ +
+
+ + + +{{include file="public/footer" /}} + \ No newline at end of file diff --git a/application/admin/view/default/pluginsadmin/save_info.html b/application/admin/view/default/pluginsadmin/save_info.html new file mode 100644 index 000000000..7035283fe --- /dev/null +++ b/application/admin/view/default/pluginsadmin/save_info.html @@ -0,0 +1,73 @@ +{{include file="public/header" /}} + + +
+
+ +
+ + + + {{if empty($data['id'])}} + 应用添加 + {{else /}} + 应用编辑 + {{/if}} + + 返回 + + +
+ + +
+ +
+ +
    +
  • + + +
  • +
+
+上传图片
+
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ +
+
+ + + +{{include file="public/footer" /}} + \ No newline at end of file diff --git a/application/admin/view/default/pluginsadmin/upload.html b/application/admin/view/default/pluginsadmin/upload.html index 2ad8243d5..000b04995 100644 --- a/application/admin/view/default/pluginsadmin/upload.html +++ b/application/admin/view/default/pluginsadmin/upload.html @@ -13,9 +13,9 @@
- + 上传一个zip压缩格式的主题安装包 -
+
diff --git a/application/admin/view/default/power/index.html b/application/admin/view/default/power/index.html index e5563c32f..89cb1d419 100755 --- a/application/admin/view/default/power/index.html +++ b/application/admin/view/default/power/index.html @@ -21,7 +21,7 @@
- {{foreach $data as $v}} diff --git a/application/service/AdminPowerService.php b/application/service/AdminPowerService.php index 16489fe3e..cfa403bbe 100755 --- a/application/service/AdminPowerService.php +++ b/application/service/AdminPowerService.php @@ -67,8 +67,8 @@ class AdminPowerService [ 'checked_type' => 'length', 'key_name' => 'name', - 'checked_data' => '2,8', - 'error_msg' => '权限名称格式 2~8 个字符之间', + 'checked_data' => '2,16', + 'error_msg' => '权限名称格式 2~16 个字符之间', ], [ 'checked_type' => 'empty', diff --git a/config/shopxo.sql b/config/shopxo.sql index b41feed1f..8cae1c2e7 100644 --- a/config/shopxo.sql +++ b/config/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_test + Source Database : shopxo_ttt - Target Server Type : MySQL - Target Server Version : 50722 + Target Server Version : 50716 File Encoding : utf-8 - Date: 02/12/2019 17:35:55 PM + Date: 02/12/2019 23:18:29 PM */ -SET NAMES utf8mb4; +SET NAMES utf8; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- @@ -824,7 +822,7 @@ CREATE TABLE `s_plugins` ( -- Records of `s_plugins` -- ---------------------------- BEGIN; -INSERT INTO `s_plugins` VALUES ('1', 'commontopmaxpicture', '{\"images\":\"http:\\/\\/tp5-dev.com\\/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', '0', '1549959875'), ('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', '0', '1549962262'), ('3', 'usercentertopnotice', '{\"content\":\"\\u7528\\u6237\\u4e2d\\u5fc3\\u516c\\u544a\\u6587\\u5b57\\uff0c\\u540e\\u53f0\\u914d\\u7f6e\\u4fee\\u6539\\u3002\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"usercentertopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '0', '1549964037'); +INSERT INTO `s_plugins` VALUES ('1', 'commontopmaxpicture', '{\"images\":\"http:\\/\\/tp5-dev.com\\/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', '0', '1549959875'), ('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', '0', '1549976916'), ('3', 'usercentertopnotice', '{\"content\":\"\\u7528\\u6237\\u4e2d\\u5fc3\\u516c\\u544a\\u6587\\u5b57\\uff0c\\u540e\\u53f0\\u914d\\u7f6e\\u4fee\\u6539\\u3002\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"usercentertopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '0', '1549964037'); COMMIT; -- ---------------------------- @@ -842,13 +840,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=344 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; +) ENGINE=InnoDB AUTO_INCREMENT=348 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; -- ---------------------------- -- Records of `s_power` -- ---------------------------- BEGIN; -INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '2', '1', 'icon-quanxian', '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', 'icon-shangpin', '1483283430'), ('39', '38', '商品管理', 'Goods', 'Index', '1', '1', '', '1483283546'), ('41', '0', '系统设置', 'Config', 'Index', '1', '1', 'icon-peizhi', '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', 'icon-zhandianpeizhi', '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', 'icon-tools', '1488108044'), ('119', '118', '缓存管理', 'Cache', 'Index', '1', '1', '', '1488108107'), ('120', '118', '站点缓存更新', 'Cache', 'StatusUpdate', '2', '0', '', '1488108235'), ('121', '118', '模板缓存更新', 'Cache', 'TemplateUpdate', '2', '0', '', '1488108390'), ('122', '118', '模块缓存更新', 'Cache', 'ModuleUpdate', '3', '0', '', '1488108436'), ('126', '0', '用户管理', 'User', 'Index', '2', '1', 'icon-yonghuguanli', '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', '28', '1', 'icon-ziyuan', '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'), ('172', '222', '首页轮播', 'Slide', 'Index', '70', '1', '', '1527149117'), ('173', '222', '轮播添加/编辑页面', 'Slide', 'SaveInfo', '71', '0', '', '1527149152'), ('174', '222', '轮播添加/编辑', 'Slide', 'Save', '72', '0', '', '1527149186'), ('175', '222', '轮播状态更新', 'Slide', 'StatusUpdate', '73', '0', '', '1527156980'), ('176', '222', '轮播删除', 'Slide', 'Delete', '74', '0', '', '1527157260'), ('177', '0', '订单管理', 'Order', 'Index', '5', '1', 'icon-dingdan', '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', '13', '1', 'icon-shuju', '1528096661'), ('183', '182', '消息管理', 'Message', 'Index', '0', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '1', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '10', '1', '', '1528080200'), ('186', '182', '积分日志', 'IntegralLog', 'Index', '20', '1', '', '1528103067'), ('193', '222', '筛选价格', 'ScreeningPrice', 'Index', '80', '1', '', '1528708578'), ('194', '222', '筛选价格添加/编辑', 'ScreeningPrice', 'Save', '81', '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', '12', '1', 'icon-wenzhang', '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', '1', 'icon-wenda', '1533112421'), ('214', '213', '问答留言', 'Answer', 'Index', '0', '1', '', '1533112443'), ('215', '213', '问答留言回复', 'Answer', 'Reply', '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', 'icon-wangzhanguanli', '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', 'icon-ico-pinpaiguanli', '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', 'StatusUpdate', '3', '0', '', '1535694880'), ('258', '222', '筛选价格删除', 'ScreeningPrice', 'Delete', '82', '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'), ('310', '177', '订单确认', 'Order', 'Confirm', '7', '0', '', '1542011799'), ('311', '1', '角色状态更新', 'Power', 'RoleStatusUpdate', '15', '0', '', '1542102071'), ('312', '0', '支付宝小程序', 'AppMiniAlipay', 'Index', '10', '1', 'icon-xiaochengxu-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', '9', '1', 'icon-shouji', '0'), ('325', '312', '基础配置保存', 'AppMiniAlipayConfig', 'Save', '1', '0', '', '1542596647'), ('326', '319', '基础配置', 'AppConfig', 'Index', '0', '1', '', '1543206359'), ('327', '319', '基础配置保存', 'AppConfig', 'Save', '1', '0', '', '1543206402'), ('328', '312', '小程序', 'AppMiniAlipayList', 'Index', '10', '1', '', '1543304094'), ('329', '312', '小程序生成', 'AppMiniAlipayList', 'Created', '11', '0', '', '1543305528'), ('330', '312', '小程序删除', 'AppMiniAlipayList', 'Delete', '12', '0', '', '1543305609'), ('331', '118', '日志删除', 'Cache', 'LogDelete', '4', '0', '', '1545642163'), ('332', '0', '微信小程序', 'AppMiniWeixin', 'Index', '11', '1', 'icon-xiaochengxu-wechat', '1546935020'), ('333', '332', '基础配置', 'AppMiniWeixinConfig', 'Index', '0', '1', '', '1546935090'), ('334', '332', '基础配置保存', 'AppMiniWeixinConfig', 'Save', '1', '0', '', '1546935118'), ('335', '332', '小程序', 'AppMiniWeixinList', 'Index', '10', '1', '', '1546935153'), ('336', '332', '小程序生成', 'AppMiniWeixinList', 'Created', '11', '0', '', '1546935187'), ('337', '332', '小程序删除', 'AppMiniWeixinList', 'Delete', '12', '0', '', '1546935212'), ('338', '177', 'Excel导出', 'Order', 'ExcelExport', '8', '0', '', '1548054782'), ('339', '41', '后台配置', 'Config', 'Index', '0', '1', '', '1549419752'), ('340', '0', '应用中心', 'Store', 'Index', '29', '1', 'icon-application', '1549496703'), ('341', '340', '应用管理', 'Pluginsadmin', 'Index', '1', '1', '', '1549497306'), ('342', '340', '应用状态更新', 'Pluginsadmin', 'StatusUpdate', '2', '0', '', '1549694138'), ('343', '340', '应用调用管理', 'Plugins', 'Index', '0', '0', '', '1549958187'); +INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '2', '1', 'icon-quanxian', '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', 'icon-shangpin', '1483283430'), ('39', '38', '商品管理', 'Goods', 'Index', '1', '1', '', '1483283546'), ('41', '0', '系统设置', 'Config', 'Index', '1', '1', 'icon-peizhi', '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', 'icon-zhandianpeizhi', '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', 'icon-tools', '1488108044'), ('119', '118', '缓存管理', 'Cache', 'Index', '1', '1', '', '1488108107'), ('120', '118', '站点缓存更新', 'Cache', 'StatusUpdate', '2', '0', '', '1488108235'), ('121', '118', '模板缓存更新', 'Cache', 'TemplateUpdate', '2', '0', '', '1488108390'), ('122', '118', '模块缓存更新', 'Cache', 'ModuleUpdate', '3', '0', '', '1488108436'), ('126', '0', '用户管理', 'User', 'Index', '2', '1', 'icon-yonghuguanli', '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'), ('153', '222', '地区管理', 'Region', 'Index', '60', '1', '', '1526304473'), ('154', '222', '地区添加/编辑', 'Region', 'Save', '61', '0', '', '1526304503'), ('155', '222', '地区删除', 'Region', 'Delete', '62', '0', '', '1526304531'), ('156', '222', '快递管理', 'Express', 'Index', '70', '1', '', '1526304473'), ('157', '222', '快递添加/编辑', 'Express', 'Save', '71', '0', '', '1526304473'), ('158', '222', '快递删除', 'Express', 'Delete', '72', '0', '', '1526304473'), ('172', '222', '首页轮播', 'Slide', 'Index', '40', '1', '', '1527149117'), ('173', '222', '轮播添加/编辑页面', 'Slide', 'SaveInfo', '41', '0', '', '1527149152'), ('174', '222', '轮播添加/编辑', 'Slide', 'Save', '42', '0', '', '1527149186'), ('175', '222', '轮播状态更新', 'Slide', 'StatusUpdate', '43', '0', '', '1527156980'), ('176', '222', '轮播删除', 'Slide', 'Delete', '44', '0', '', '1527157260'), ('177', '0', '订单管理', 'Order', 'Index', '5', '1', 'icon-dingdan', '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', '13', '1', 'icon-shuju', '1528096661'), ('183', '182', '消息管理', 'Message', 'Index', '0', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '1', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '10', '1', '', '1528080200'), ('186', '182', '积分日志', 'IntegralLog', 'Index', '20', '1', '', '1528103067'), ('193', '222', '筛选价格', 'ScreeningPrice', 'Index', '50', '1', '', '1528708578'), ('194', '222', '筛选价格添加/编辑', 'ScreeningPrice', 'Save', '51', '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', '12', '1', 'icon-wenzhang', '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', '1', 'icon-wenda', '1533112421'), ('214', '213', '问答留言', 'Answer', 'Index', '0', '1', '', '1533112443'), ('215', '213', '问答留言回复', 'Answer', 'Reply', '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', 'icon-wangzhanguanli', '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', '11', '1', '', '1486193400'), ('235', '222', '自定义页面添加/编辑页面', 'CustomView', 'SaveInfo', '12', '0', '', '1486193449'), ('236', '222', '自定义页面添加/编辑', 'CustomView', 'Save', '13', '0', '', '1486193473'), ('237', '222', '自定义页面删除', 'CustomView', 'Delete', '14', '0', '', '1486193516'), ('238', '222', '自定义页面状态更新', 'CustomView', 'StatusUpdate', '15', '0', '', '1486193582'), ('239', '222', '友情链接', 'Link', 'Index', '21', '1', '', '1486194358'), ('240', '222', '友情链接添加/编辑页面', 'Link', 'SaveInfo', '22', '0', '', '1486194392'), ('241', '222', '友情链接添加/编辑', 'Link', 'Save', '23', '0', '', '1486194413'), ('242', '222', '友情链接删除', 'Link', 'Delete', '24', '0', '', '1486194435'), ('243', '222', '友情链接状态更新', 'Link', 'StatusUpdate', '25', '0', '', '1486194479'), ('244', '222', '主题管理', 'Theme', 'Index', '30', '1', '', '1494381693'), ('245', '222', '主题管理添加/编辑', 'Theme', 'Save', '31', '0', '', '1494398194'), ('246', '222', '主题上传安装', 'Theme', 'Upload', '32', '0', '', '1494405096'), ('247', '222', '主题删除', 'Theme', 'Delete', '33', '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', 'icon-ico-pinpaiguanli', '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', 'StatusUpdate', '3', '0', '', '1535694880'), ('258', '222', '筛选价格删除', 'ScreeningPrice', 'Delete', '52', '0', '', '1536227071'), ('259', '222', '支付方式', 'Payment', 'Index', '80', '1', '', '1537156351'), ('260', '222', '支付方式安装/编辑页面', 'Payment', 'SaveInfo', '81', '0', '', '1537156423'), ('261', '222', '支付方式安装/编辑', 'Payment', 'Save', '82', '0', '', '1537156463'), ('262', '222', '支付方式删除', 'Payment', 'Delete', '83', '0', '', '1537156502'), ('263', '222', '支付方式安装', 'Payment', 'Install', '84', '0', '', '1537166090'), ('264', '222', '支付方式状态更新', 'Payment', 'StatusUpdate', '85', '0', '', '1537166149'), ('265', '222', '支付方式卸载', 'Payment', 'Uninstall', '86', '0', '', '1537167814'), ('266', '222', '支付方式上传', 'Payment', 'Upload', '87', '0', '', '1537173653'), ('267', '177', '订单发货', 'Order', 'Delivery', '4', '0', '', '1538413499'), ('268', '177', '订单收货', 'Order', 'Collect', '5', '0', '', '1538414034'), ('269', '177', '订单支付', 'Order', 'Pay', '6', '0', '', '1538757043'), ('310', '177', '订单确认', 'Order', 'Confirm', '7', '0', '', '1542011799'), ('311', '1', '角色状态更新', 'Power', 'RoleStatusUpdate', '15', '0', '', '1542102071'), ('312', '0', '支付宝小程序', 'AppMiniAlipay', 'Index', '10', '1', 'icon-xiaochengxu-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', '9', '1', 'icon-shouji', '0'), ('325', '312', '基础配置保存', 'AppMiniAlipayConfig', 'Save', '1', '0', '', '1542596647'), ('326', '319', '基础配置', 'AppConfig', 'Index', '0', '1', '', '1543206359'), ('327', '319', '基础配置保存', 'AppConfig', 'Save', '1', '0', '', '1543206402'), ('328', '312', '小程序', 'AppMiniAlipayList', 'Index', '10', '1', '', '1543304094'), ('329', '312', '小程序生成', 'AppMiniAlipayList', 'Created', '11', '0', '', '1543305528'), ('330', '312', '小程序删除', 'AppMiniAlipayList', 'Delete', '12', '0', '', '1543305609'), ('331', '118', '日志删除', 'Cache', 'LogDelete', '4', '0', '', '1545642163'), ('332', '0', '微信小程序', 'AppMiniWeixin', 'Index', '11', '1', 'icon-xiaochengxu-wechat', '1546935020'), ('333', '332', '基础配置', 'AppMiniWeixinConfig', 'Index', '0', '1', '', '1546935090'), ('334', '332', '基础配置保存', 'AppMiniWeixinConfig', 'Save', '1', '0', '', '1546935118'), ('335', '332', '小程序', 'AppMiniWeixinList', 'Index', '10', '1', '', '1546935153'), ('336', '332', '小程序生成', 'AppMiniWeixinList', 'Created', '11', '0', '', '1546935187'), ('337', '332', '小程序删除', 'AppMiniWeixinList', 'Delete', '12', '0', '', '1546935212'), ('338', '177', 'Excel导出', 'Order', 'ExcelExport', '8', '0', '', '1548054782'), ('339', '41', '后台配置', 'Config', 'Index', '0', '1', '', '1549419752'), ('340', '0', '应用中心', 'Store', 'Index', '29', '1', 'icon-application', '1549496703'), ('341', '340', '应用管理', 'Pluginsadmin', 'Index', '1', '1', '', '1549497306'), ('342', '340', '应用状态更新', 'Pluginsadmin', 'StatusUpdate', '3', '0', '', '1549694138'), ('343', '340', '应用调用管理', 'Plugins', 'Index', '0', '0', '', '1549958187'), ('345', '340', '应用添加/编辑页面', 'Pluginsadmin', 'SaveInfo', '1', '0', '', '1549977925'), ('346', '340', '应用添加/编辑', 'Pluginsadmin', 'Save', '2', '0', '', '1549977958'), ('347', '340', '应用删除', 'Pluginsadmin', 'Delete', '4', '0', '', '1549977993'); COMMIT; -- ---------------------------- @@ -998,13 +996,13 @@ CREATE TABLE `s_search_history` ( `ymd` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '日期 ymd', `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='搜索日志'; +) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='搜索日志'; -- ---------------------------- -- Records of `s_search_history` -- ---------------------------- BEGIN; -INSERT INTO `s_search_history` VALUES ('16', '0', '0', '0', '', '0-0', 'default', 'asc', '20190207', '1549520867'), ('17', '0', '0', '0', '', '0-0', 'default', 'asc', '20190207', '1549551528'), ('18', '0', '0', '1', '', '0-0', 'default', 'asc', '20190209', '1549691794'), ('19', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549964118'); +INSERT INTO `s_search_history` VALUES ('16', '0', '0', '0', '', '0-0', 'default', 'asc', '20190207', '1549520867'), ('17', '0', '0', '0', '', '0-0', 'default', 'asc', '20190207', '1549551528'), ('18', '0', '0', '1', '', '0-0', 'default', 'asc', '20190209', '1549691794'), ('19', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549964118'), ('20', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977054'), ('21', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977060'), ('22', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977075'), ('23', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977103'); COMMIT; -- ---------------------------- diff --git a/public/static/admin/default/css/pluginsadmin.css b/public/static/admin/default/css/pluginsadmin.css index 7652583f0..6b2135433 100644 --- a/public/static/admin/default/css/pluginsadmin.css +++ b/public/static/admin/default/css/pluginsadmin.css @@ -1,58 +1,58 @@ /** * 列表 */ -.content ul { +.content ul.am-gallery-bordered { padding: 0px; width: calc(100% + 10px); margin-left: -5px; } -.content ul .icon { +.content ul.am-gallery-bordered .icon { width: 80px; height: 80px; border-radius: 10px; box-shadow: 0px 10px 10px -6px rgba(0,0,0,.4); } -.content ul.am-gallery-bordered .am-gallery-item { +.content ul.am-gallery-bordered.am-gallery-bordered .am-gallery-item { box-shadow: none; border: 1px solid #d4d4d4; border-radius: 2px; } -.content ul.am-gallery-bordered .am-gallery-item.am-active { +.content ul.am-gallery-bordered.am-gallery-bordered .am-gallery-item.am-active { border: 1px solid #fde2e2; background: #fffbfb; } -.content ul.am-gallery-bordered .am-gallery-item:hover { +.content ul.am-gallery-bordered.am-gallery-bordered .am-gallery-item:hover { border: 1px solid #999; box-shadow: 0px 12px 12px -10px rgba(0,0,0,.4); } -.content ul li { +.content ul.am-gallery-bordered li { position: relative; } -.content ul li .base { +.content ul.am-gallery-bordered li .base { position: absolute; top: 10px; left: 100px; width: calc(100% - 112px); } -.content ul li .base h3 { +.content ul.am-gallery-bordered li .base h3 { font-weight: 700; color: #333; margin: 2px 0px 3px 0px; } -.content ul li .base p { +.content ul.am-gallery-bordered li .base p { line-height: 18px; margin: 0; font-size: 12px; font-weight: 300; color: #999; } -.content ul li .base h3, .content ul li .base p { +.content ul.am-gallery-bordered li .base h3, .content ul.am-gallery-bordered li .base p { word-wrap: normal; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } -.content ul.am-gallery-bordered .am-gallery-desc { +.content ul.am-gallery-bordered.am-gallery-bordered .am-gallery-desc { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; @@ -64,35 +64,35 @@ font-weight: 300; color: #b3b3b3; } -.content ul li .operation { +.content ul.am-gallery-bordered li .operation { border-top: 1px dashed #eee; padding: 10px 0 5px 0; } -.content ul li .am-btn, .content ul li .am-icon-btn { +.content ul.am-gallery-bordered li .am-btn, .content ul.am-gallery-bordered li .am-icon-btn { width: 35px; } -.content ul li .submit-state { +.content ul.am-gallery-bordered li .submit-state { height: 28px; line-height: 28px; border-radius: 2px; font-size: 12px; } -.content ul li .submit-state.am-default { +.content ul.am-gallery-bordered li .submit-state.am-default { background-color: #e6e6e6; } @media only screen and (max-width: 641px) { - .content ul .icon { + .content ul.am-gallery-bordered .icon { width: 65px; height: 65px; } - .content ul li .base { + .content ul.am-gallery-bordered li .base { left: 85px; width: calc(100% - 97px); } - .content ul li .base h3 { + .content ul.am-gallery-bordered li .base h3 { margin: 0px; } - .content ul li .base p { + .content ul.am-gallery-bordered li .base p { line-height: 16px; } } @@ -101,5 +101,5 @@ /** * 安装 */ -input[name="plugins"] { width: 105px !important; height: 32px; } +input[name="file"] { width: 105px !important; height: 32px; } input.file-event { margin-top: 0 !important; } \ No newline at end of file