|
@@ -31,19 +31,19 @@
|
|
<div class="layui-form-item">
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label label-required">视频一</label>
|
|
<label class="layui-form-label label-required">视频一</label>
|
|
<div class="layui-input-block">
|
|
<div class="layui-input-block">
|
|
- <input name="url1" type="hidden" value="{$data.url1|default=''}">
|
|
|
|
|
|
+ <input name="url1" type="hidden" value="{$data.url1|default=''}" data-type="gif">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label label-required">视频二</label>
|
|
<label class="layui-form-label label-required">视频二</label>
|
|
<div class="layui-input-block">
|
|
<div class="layui-input-block">
|
|
- <input name="url2" type="hidden" value="{$data.url2|default=''}">
|
|
|
|
|
|
+ <input name="url2" type="hidden" value="{$data.url2|default=''}" data-type="gif">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label label-required">视频三</label>
|
|
<label class="layui-form-label label-required">视频三</label>
|
|
<div class="layui-input-block">
|
|
<div class="layui-input-block">
|
|
- <input name="url3" type="hidden" value="{$data.url3|default=''}">
|
|
|
|
|
|
+ <input name="url3" type="hidden" value="{$data.url3|default=''}" data-type="gif">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<div class="layui-form-item">
|
|
@@ -88,9 +88,12 @@
|
|
</script>
|
|
</script>
|
|
<script>
|
|
<script>
|
|
window.form.render();
|
|
window.form.render();
|
|
- $('[name="url1"]').uploadOneVideo();
|
|
|
|
- $('[name="url2"]').uploadOneVideo();
|
|
|
|
- $('[name="url3"]').uploadOneVideo();
|
|
|
|
|
|
+ // $('[name="url1"]').uploadOneVideo();
|
|
|
|
+ // $('[name="url2"]').uploadOneVideo();
|
|
|
|
+ // $('[name="url3"]').uploadOneVideo();
|
|
|
|
+ $('[name="url1"]').uploadOneImage();
|
|
|
|
+ $('[name="url2"]').uploadOneImage();
|
|
|
|
+ $('[name="url3"]').uploadOneImage();
|
|
</script>
|
|
</script>
|
|
</form>
|
|
</form>
|
|
|
|
|