Merge remote-tracking branch 'origin/activity' into activity_xlh
This commit is contained in:
commit
b10d1ae4cc
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
|
|
@ -448,7 +448,7 @@
|
||||||
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/1.jpg" width="60%" height="500">
|
<img id="activityPlayimg" src="../../img/act/1.jpg" width="60%" height="300">
|
||||||
<h4 class="form-header h4">活动规则</h4>
|
<h4 class="form-header h4">活动规则</h4>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
|
|
@ -1197,6 +1197,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
reader.readAsDataURL(input.files[0]);
|
reader.readAsDataURL(input.files[0]);
|
||||||
|
} else{
|
||||||
|
//清除
|
||||||
|
//效果图
|
||||||
|
var id = input.id;
|
||||||
|
$("#"+id+"img").attr("src", "");
|
||||||
|
//传递值
|
||||||
|
$("#"+id+"val").val("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1204,7 +1211,7 @@
|
||||||
var path = "../../img/act/";
|
var path = "../../img/act/";
|
||||||
$(val).addClass('btn-success').siblings().removeClass('btn-success');
|
$(val).addClass('btn-success').siblings().removeClass('btn-success');
|
||||||
var id = val.id;
|
var id = val.id;
|
||||||
var valus = $("#"+id).attr("value");
|
var valus = $("#"+id+".btn-success").attr("value");
|
||||||
$("#"+id+"val").val(valus);
|
$("#"+id+"val").val(valus);
|
||||||
$("#"+id+"h4").text(val.text);
|
$("#"+id+"h4").text(val.text);
|
||||||
$("#"+id+"img").attr("src",path+valus+".jpg");
|
$("#"+id+"img").attr("src",path+valus+".jpg");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue