视频模板显示问题

This commit is contained in:
wenc000 2020-05-30 21:47:35 +08:00
parent 4e86434cd2
commit 5294db2204
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@
{{# var files = d[fileName];}}
{{# for(var i = 0, item = files[i]; item = files[i++];) { }}
<div class="upload-video-box">
<div id="video{{i}}" style="width:300px; height:200px;"></div>
<div id="{{fileName}}{{i}}" style="width:300px; height:200px;"></div>
<a class="layui-btn layui-btn-xs layui-btn-danger text-danger remove-video" href="javascript:void(0);" lay-form-button data-id="{{item.fileId}}" data-name="{{fileName}}" lay-filter="${field.fieldName}RemoveFile">
<i class="fa fa-trash-o"></i>
</a>

View File

@ -189,7 +189,7 @@
{{# var files = d[fileName];}}
{{# for(var i = 0, item = files[i]; item = files[i++];) { }}
<div class="upload-video-box">
<div id="video{{i}}" style="width:300px; height:200px;"></div>
<div id="{{fileName}}{{i}}" style="width:300px; height:200px;"></div>
<a class="layui-btn layui-btn-xs layui-btn-danger text-danger remove-video" href="javascript:void(0);" lay-form-button data-id="{{item.fileId}}" data-name="{{fileName}}" lay-filter="${field.fieldName}RemoveFile">
<i class="fa fa-trash-o"></i>
</a>