效果图:
Html代码:
<div class="file-box clearboth" id="fileBox">
<label class="clone-dom" style="display:none;">
<input type="file" class="file-btn" name="img[]"/>
</label>
<div class="review-box"></div>
<label><input type="file" class="file-btn clone-dom" name="img[]"/>
</label>
</div>
js代码:
<script type="text/javascript">
//获取文件url
function createObjectURL(blob){
if (window.URL){
return window.URL.createObjectURL(blob);
} else if (window.webkitURL){
retu