")})})}),$(".fileinput-upload-button >span").text("上传剪切"),finput.on("filecleared",function(e){$(".file-upload-tips").show(),$(".file-caption-main").removeClass("file-caption-main-bottom"),$(".btn-file .hidden-xs").html("选择文件"),$("#result-img").html("")})}),$.fn.serializeObject=function(){var e={},i=this.serializeArray();return $.each(i,function(){void 0!==e[this.name]?(e[this.name].push||(e[this.name]=[e[this.name]]),e[this.name].push(this.value||"")):e[this.name]=this.value||""}),e},$(".btn-file .hidden-xs").html("选择文件"),$("#uploadAll").click(function(){$(".fileinput-upload-button").trigger("click")}),setInterval(function(){$(".file-preview-thumbnails samp").length<2&&($(".file-upload-tips").show(),$(".file-caption-main").removeClass("file-caption-main-bottom"),$(".btn-file .hidden-xs").html("选择文件"),$("#result-img").html(""))},1e3),$("#autoupload").on("change",function(){$(this).is(":checked")?($("#uploadAll").attr("disabled","disabled"),$(this).siblings(".icon-check").removeClass("uncheck")):($("#uploadAll").removeAttr("disabled"),$(this).siblings(".icon-check").addClass("uncheck"))}),$(".scale-check input[type=checkbox]").on("change",function(){$(this).is(":checked")?$(this).siblings(".icon-check").removeClass("uncheck"):$(this).siblings(".icon-check").addClass("uncheck")})