| | |
| | |
|
| | | 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');
|
| | |
| | | // 刷新按钮
|
| | | $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');
|
| | |
| | | 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'},
|
| | |
|