wupengfei 2 years ago
parent
commit
c75a747ae0
1 changed files with 8 additions and 0 deletions
  1. 8 0
      application/mall/view/coupon_config/form.html

+ 8 - 0
application/mall/view/coupon_config/form.html

@@ -10,6 +10,13 @@
             </div>
         </div>
 
+        <div class="layui-form-item">
+            <label class="layui-form-label label-required">图片</label>
+            <div class="layui-input-block">
+                <input name="cover" type="hidden" value="{$vo.cover|default=''}">
+            </div>
+
+        </div>
 
         <div class="layui-form-item">
             <label class="layui-col-xs2 think-form-label">使用场景:</label>
@@ -128,5 +135,6 @@
         }
         window.form.render();
     }
+    $('[name="cover"]').uploadOneImage();
     check_type()
 </script>