<%
timestamp = Datediff(“s”,“1970-01-01 00:00:00”,now)
nonceStr = MakeRandStr(32)
signature = Get_Sign()
%>
});
if(localIds.length > 0){
syncUpload(localIds);
}
}
});
};
//删除图片
$(document).on("click", ".delimg", function() {
$(this).parent().remove();
getPicItem();
})
//统计图片数
function getPicItem()
{
//控制最大图片数
var nowNum=$('.weui_uploader_file').length;
if (nowNum>=upMax){
$(".chooseImage").hide();
}else{
$(".chooseImage").show();
}
$("#pic_count").text(nowNum);//这行我加的,用来看看上传几张了
var Pic_List="";
$(".weui_uploader_file").each(function(){
var pic =$(this).find('img').attr("src");
Pic_List+=pic+"|";
});
$("#p_PicList").val(Pic_List);
}
});
图片上传
0/
2