feat:修改页面轮播图去掉必传

new-v20240713
wangxy 2 months ago
parent 05cce11e4b
commit 0bafe29176

@ -23,14 +23,14 @@
</div>
<div class="form-group">
<label class="col-sm-2 control-label is-required">轮播图片上传:</label>
<label class="col-sm-2 control-label">轮播图片上传:</label>
<div class="fileinput fileinput-new" data-provides="fileinput">
<div class="fileinput-preview thumbnail" data-trigger="fileinput" style="width: 200px; height: 150px;"></div>
<div>
<span class="btn btn-white btn-file">
<span class="fileinput-new">选择图片</span>
<span class="fileinput-exists">更改</span>
<input type="file" id="imgUrlId" required>
<input type="file" id="imgUrlId">
<input type="hidden" id="imgUrl" name="imgUrl">
</span>
<a href="#" class="btn btn-white fileinput-exists" data-dismiss="fileinput">清除</a>

@ -23,7 +23,7 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label is-required">轮播图片上传:</label>
<label class="col-sm-2 control-label">轮播图片上传:</label>
<div class="fileinput fileinput-new" data-provides="fileinput">
<div class="fileinput-new thumbnail" style="width: 140px; height: 140px;">
<img th:src="*{imgUrl}">

Loading…
Cancel
Save