Authored by weiqingting

... ... @@ -47,12 +47,13 @@ $(document).on("click","#TagsSelectBtn",function(){
g.init('/guang/tags/getList');
});
$(document).on("click",".tag a",function(){
var index=$(this).data("index");
g.selected.splice(index,1);
g.selected.splice($(this).data("index"),1);
$("#taglist").html(common.util.__template2($("#template4").html(),{tags:g.selected}));
return false;
});
$(document).on("click","#addBrands",function(){
});
var e=new common.edit("#panel-body",{});
e.init();
... ...
... ... @@ -154,8 +154,7 @@
<ul class="cover-image-list col-sm-10" id="addPic" style="padding: 0;margin: 0;">
<li class="cover-image-item fileinput-button">
<div class="goods-img">
<a class="fileinput-button-icon" href="javascript:void(0);">+</a>
<input type="file" class="goods-img-upload picfile" name="picfile" required="required" placeholder="图片">
<a class="fileinput-button-icon" href="javascript:void(0);" id="addBrands">+</a>
</div>
</li>
</ul>
... ...