活动管理-添加修改
This commit is contained in:
parent
081a060403
commit
5234676de5
|
|
@ -320,7 +320,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="step-2" class="tab-pane" role="tabpanel" aria-labelledby="step-2">
|
<div id="step-2" class="tab-pane" role="tabpanel" aria-labelledby="step-2">
|
||||||
<div>
|
<div style="height: 400px">
|
||||||
<h4 class="form-header h4">第2步-选择UI模板</h4>
|
<h4 class="form-header h4">第2步-选择UI模板</h4>
|
||||||
<div th:with="type=${@dict.getType('activityTemplate')}">
|
<div th:with="type=${@dict.getType('activityTemplate')}">
|
||||||
<a id="activityTemplate" th:if="${dict.dictValue} != '0'" class="btn btn-rounded" href="#" th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
<a id="activityTemplate" th:if="${dict.dictValue} != '0'" class="btn btn-rounded" href="#" th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
||||||
|
|
@ -330,7 +330,7 @@
|
||||||
</div>
|
</div>
|
||||||
<input id="activityTemplateval" name="actConfig-pageStyle" value="" type="hidden">
|
<input id="activityTemplateval" name="actConfig-pageStyle" value="" type="hidden">
|
||||||
<h4 id="activityTemplateh4" class="form-header h4">暂不选择</h4>
|
<h4 id="activityTemplateh4" class="form-header h4">暂不选择</h4>
|
||||||
<img id="activityTemplateimg" src="../../img/yun.jpg" width="60%" height="400">
|
<img id="activityTemplateimg" src="../../img/yun.jpg" width="60%" height="400" style="display: none">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="step-3" class="tab-pane" role="tabpanel" aria-labelledby="step-3" style="height: 100%">
|
<div id="step-3" class="tab-pane" role="tabpanel" aria-labelledby="step-3" style="height: 100%">
|
||||||
|
|
@ -459,7 +459,9 @@
|
||||||
th:value="${dict.dictValue}" onclick="activityTemplate(this)"></a>
|
th:value="${dict.dictValue}" onclick="activityTemplate(this)"></a>
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" name="actConfig-actType" id="activityPlayval" value="">
|
<input type="hidden" name="actConfig-actType" id="activityPlayval" value="">
|
||||||
<img id="activityPlayimg" src="../../img/act/0.jpg" width="60%" height="300">
|
<div style="height: 300">
|
||||||
|
<img id="activityPlayimg" src="../../img/act/0.jpg" width="60%" height="300" style="display: none">
|
||||||
|
</div>
|
||||||
<h4 class="form-header h4">活动规则</h4>
|
<h4 class="form-header h4">活动规则</h4>
|
||||||
<div class="row" id="activityPlaydiv" style="display: none">
|
<div class="row" id="activityPlaydiv" style="display: none">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
|
|
@ -1188,9 +1190,12 @@
|
||||||
$("#"+id+"img").attr("src",path+valus+".jpg");
|
$("#"+id+"img").attr("src",path+valus+".jpg");
|
||||||
if (valus != "0"){
|
if (valus != "0"){
|
||||||
$("#activityPlaydiv").css('display','block');//显示
|
$("#activityPlaydiv").css('display','block');//显示
|
||||||
|
$("#activityTemplateimg").css('display','block');//显示
|
||||||
|
$("#activityPlayimg").css('display','block');//显示
|
||||||
}else{
|
}else{
|
||||||
$("#activityPlaydiv").css('display','none');//隐藏
|
$("#activityPlaydiv").css('display','none');//隐藏
|
||||||
$('#smartwizard').smartWizard();
|
$("#activityTemplateimg").css('display','none');
|
||||||
|
$("#activityPlayimg").css('display','none');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -320,7 +320,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="step-2" class="tab-pane" role="tabpanel" aria-labelledby="step-2">
|
<div id="step-2" class="tab-pane" role="tabpanel" aria-labelledby="step-2">
|
||||||
<div>
|
<div style="height: 400px">
|
||||||
<h4 class="form-header h4">第2步-选择UI模板</h4>
|
<h4 class="form-header h4">第2步-选择UI模板</h4>
|
||||||
<div th:with="type=${@dict.getType('activityTemplate')}">
|
<div th:with="type=${@dict.getType('activityTemplate')}">
|
||||||
|
|
||||||
|
|
@ -452,7 +452,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="step-4" class="tab-pane" role="tabpanel" aria-labelledby="step-4" style="height: 100%">
|
<div id="step-4" class="tab-pane" role="tabpanel" aria-labelledby="step-4" style="height: 100%">
|
||||||
<div style="">
|
<div style="height: 430px">
|
||||||
<h4 class="form-header h4">第4步-选择玩法</h4>
|
<h4 class="form-header h4">第4步-选择玩法</h4>
|
||||||
<div th:with="type=${@dict.getType('activityPlay')}">
|
<div th:with="type=${@dict.getType('activityPlay')}">
|
||||||
<a id="activityPlay" th:if="${dict.dictValue} != '0'" class="btn btn-rounded" href="#" th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
<a id="activityPlay" th:if="${dict.dictValue} != '0'" class="btn btn-rounded" href="#" th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
||||||
|
|
@ -1090,6 +1090,9 @@
|
||||||
$(this).addClass('btn-success').siblings().removeClass('btn-success');
|
$(this).addClass('btn-success').siblings().removeClass('btn-success');
|
||||||
$("#activityTemplateh4").text(this.text);
|
$("#activityTemplateh4").text(this.text);
|
||||||
$("#activityTemplateimg").attr("src",path+val+".jpg");
|
$("#activityTemplateimg").attr("src",path+val+".jpg");
|
||||||
|
if (val == '0'){
|
||||||
|
$("#activityTemplateimg").css('display','none');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//加载步骤3数据
|
//加载步骤3数据
|
||||||
|
|
@ -1122,6 +1125,7 @@
|
||||||
$("#activityPlaydiv").css('display','block');//显示
|
$("#activityPlaydiv").css('display','block');//显示
|
||||||
}else{
|
}else{
|
||||||
$("#activityPlaydiv").css('display','none');//隐藏
|
$("#activityPlaydiv").css('display','none');//隐藏
|
||||||
|
$("#activityPlayimg").css('display','none');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue