Authored by wangshusheng

图片

... ... @@ -113,6 +113,12 @@
<input type="text" id="productSkns" class="form-control observe" value="[[productSkns]]" placeholder="请输入skn,多个skn用“,”隔开" data-field="productSkns">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">图片</label>
<div class="col-sm-10">
<input type="file" id="icon" name="icon" value="{icon}" data-field="icon" />
</div>
</div>
</div>
</script>
... ...
... ... @@ -10,6 +10,8 @@ new common.dropDown({el: "#channel-filter"});
new common.dropDown({el: "#status-filter"});
/*验证*/
var edit = new common.edit2(".modal-body");
var e = new edit("#baseform", {bucket: "yhb-img01"});
var Bll = {
module: null,
platforms: [],
... ... @@ -119,7 +121,7 @@ var g = new common.grid({
});
Bll.getList();
g.init(list);
e.init();
/**
* 监听输入框变化
*/
... ...