zhanglinxin 2 lat temu
rodzic
commit
0a3b632a32
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      application/store/view/contents/form.html

+ 3 - 2
application/store/view/contents/form.html

@@ -24,7 +24,7 @@
         <div class="layui-row margin-bottom-15" style="margin-left: 260px;">
         <div class="layui-row margin-bottom-15" style="margin-left: 260px;">
             <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="url" type="hidden" value="{$vo.url|default=''}">
+                <input name="url" type="hidden" value="{$vo.url|default=''}" data-type="gif">
             </div>
             </div>
         </div>
         </div>
     </div>
     </div>
@@ -44,5 +44,6 @@
 </script>
 </script>
 <script>
 <script>
     window.form.render();
     window.form.render();
-    $('[name="url"]').uploadOneVideo();
+    // $('[name="url"]').uploadOneVideo();
+    $('[name="url"]').uploadOneImage();
 </script>
 </script>