早上扣了个swf的多图片上传的  基于TP写的 打包放附件了..要的自己下

点击查看原图

 

 

 

//修改的时候需要的代码

foreach($data['img'] as $key=>$v){ 

$tempimgstr = '<div class="fl ml5 mt5 text_center" rel="'.$v.'"><img src="'.$v.'" align="absmiddle"><br><a href="javascript:ershoudelpic(\\\''.$v.'\\\');" class="ershoudelpic">删除</a></div>';

echo "<script>$('#uploaded').append('".$tempimgstr."');</script>";

echo "<script>upimgs.push('".$v."');</script>";

echo "<script>$('#uploadimgs').val(upimgs.join(','));</script>";

}

声明:此文系舞林cuznwww.wulinlw.org)原创稿件,转载请保留版权

附件下载:
TP版多图片上传.zip 195.29KB

et_highlighter