From 4f72923b37f65663d0644a5f9e0ad76cf18f4229 Mon Sep 17 00:00:00 2001 From: dy <1197793912@qq.com> Date: Fri, 9 Apr 2021 10:06:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E7=AE=A1=E7=90=86-=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=80=BC=E4=BC=A0=E9=80=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/activity/info/add.html | 139 +++++++++--------- 1 file changed, 73 insertions(+), 66 deletions(-) diff --git a/sino-activity/src/main/resources/templates/activity/info/add.html b/sino-activity/src/main/resources/templates/activity/info/add.html index 650d2906b..706d996ba 100644 --- a/sino-activity/src/main/resources/templates/activity/info/add.html +++ b/sino-activity/src/main/resources/templates/activity/info/add.html @@ -321,8 +321,8 @@ th:value="${dict.dictValue}" onclick="activityTemplate(this)"> -

字典表显示字段

- +

+
@@ -364,77 +364,81 @@
选择图片更改 - - 清除 -
-
- - - -
-
-
- -
- -
+ + 清除
+
-
-
-
- -
- -
-
-
-
-
-
-
- -
- -
-
-
-
-
-
-
- -
- -
-
-
-
- -
-

效果图

-
- - 活动标题 - 活动描述 - +
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+
+
+
+ +
+
+

效果图

+
+ + 活动标题 + 活动描述 + 自定义按钮1 - + 自定义按钮2 -
+
@@ -442,10 +446,9 @@
-
- +

活动规则

@@ -1206,10 +1209,14 @@ } function activityTemplate(val) { + var path = "../../img/act/"; $(val).addClass('btn-success').siblings().removeClass('btn-success'); var id = val.id; var valus = $("#"+id).attr("value"); $("#"+id+"val").val(valus); + $("#"+id+"h4").text(val.text); + $("#"+id+"img").attr("src",path+valus+".jpg"); + }