From bf6dec40a0fffeb65d698640a2ca1afdb7576754 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期日, 30 三月 2025 22:45:11 +0800 Subject: [PATCH] 惠民卡代码 --- cloud-server-management/src/main/webapp/static/modular/system/advertisement/advertisement.js | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/advertisement/advertisement.js b/cloud-server-management/src/main/webapp/static/modular/system/advertisement/advertisement.js index fa35e15..d042a33 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/advertisement/advertisement.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/advertisement/advertisement.js @@ -24,7 +24,7 @@ {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'}, {title: '广告类型', field: 'position', visible: true, align: 'center', valign: 'middle',width:'20%', formatter:function (data) { - return {1:"首页banner",2:"线上课得积分",3:"看视频得奖励",4:"常见问题"}[data] + return {1:"首页banner",2:"线上课得积分",3:"看视频得奖励",4:"常见问题",6:"社区世界杯顶部",7:"社区世界杯底部"}[data] } }, {title: '广告名称', field: 'name', visible: true, align: 'center', valign: 'middle'}, @@ -486,12 +486,13 @@ var carPhoto7 = new $WebUpload("cover7"); carPhoto7.setUploadBarId("progressBar"); carPhoto7.init(); + var carPhoto = new $WebUpload("img"); + carPhoto.setUploadBarId("progressBar"); + carPhoto.init(); + var defaultColunms = TSite.initColumn(); var table = new BSTable(TSite.id, "/advertisement/listAll", defaultColunms); table.setPaginationType("client"); TSite.table = table.init(); - var carPhoto = new $WebUpload("img"); - carPhoto.setUploadBarId("progressBar"); - carPhoto.init(); }); -- Gitblit v1.7.1