From a87813353bfcc1bea7846cfdb5e8dfdcaded86f6 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Sun, 07 Mar 2021 15:49:58 +0800 Subject: [PATCH] 20210307 --- src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html b/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html index ef0eb37..a86be79 100644 --- a/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html +++ b/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html @@ -58,14 +58,14 @@ }} <span class="layui-badge febs-bg-{{isTop.color}}">{{ isTop.title }}</span> </script> -<!-- 表格操作栏 start --> +<!-- 表格操作栏 + <a lay-event="edit" shiro:hasPermission="user:update">编辑 + <i class="layui-icon febs-edit-area febs-blue"></i> + </a>start --> <script type="text/html" id="user-option"> <span shiro:lacksPermission="user:view,user:update,user:delete"> <span class="layui-badge-dot febs-bg-orange"></span> 无权限 </span> - <a lay-event="edit" shiro:hasPermission="user:update">编辑 - <i class="layui-icon febs-edit-area febs-blue"></i> - </a> <a lay-event="delete" shiro:hasPermission="user:update">删除 <i class="layui-icon febs-edit-area febs-blue"></i> </a> @@ -100,7 +100,6 @@ if (layEvent === 'edit') { febs.modal.open('轮播图设置', 'modules/systemSetting/platformBannerUpdate/' + data.id, { - area: $(window).width() <= 1000 ? '100%' : '50%', btn: ['提交', '取消'], yes: function (index, layero) { $('#user-update').find('#submit').trigger('click'); @@ -134,7 +133,6 @@ // 刷新按钮 $add.on('click', function () { febs.modal.open('轮播图新增', 'modules/systemSetting/platformBannerAdd/', { - area: $(window).width() <= 1000 ? '100%' : '50%', btn: ['提交', '取消'], yes: function (index, layero) { $('#user-add').find('#submit').trigger('click'); -- Gitblit v1.9.1