From 4c902d9c20dd965d1ec832760809c622d1df9aac Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 17 Jun 2021 11:17:03 +0800 Subject: [PATCH] 20210617 开售开关 --- src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html | 7 ++++--- 1 files changed, 4 insertions(+), 3 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..21d72de 100644 --- a/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html +++ b/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html @@ -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'); @@ -159,7 +157,10 @@ cols: [[ {field: 'id', title: '', minWidth: 10,align:'left'}, {field: 'name', title: '标题', minWidth: 120,align:'center'}, - {field: 'imageUrl', title: '图片链接', minWidth: 200,align:'center'}, + {field: 'imageUrl', title: '图片链接', + templet: function (d) { + return '<img src="'+d.imageUrl+'" >' + }, minWidth: 200,align:'center'}, {field: 'jumpUrl', title: '跳转链接', minWidth: 200,align:'center'}, {field: 'sort', title: '联系方式', minWidth: 200,align:'center'}, -- Gitblit v1.9.1