78bd7cb4 by yangjianbin

Merge branch 'develop' of http://g.28ms.com:8000/yangjianbin/page into develop

2 parents 793ae283 a3546f31
......@@ -19,8 +19,8 @@
</div>
<div class="form-group col-sm-3 col-md-2">
<label>&nbsp;</label>
<div id="uploader-demo">
<div class="filePicker">选择图片</div>
<div>
<label class="filePicker">选择图片</label>
</div>
</div>
</div>
......@@ -60,4 +60,4 @@
</div>
</div>
</div>
</div>
\ No newline at end of file
</div>
......
......@@ -28,7 +28,6 @@ jQuery(function() {
// 当有文件添加进来的时候
uploader.on('fileQueued', function(file) {
console.log(file);
var $id = $('select.uploader').val(), $list = $('tr[data-id='+$id+'] .filelist');
var $li = $( '<div id="' + file.id + '" class="file-item thumbnail">' + '<img>' +
'<div class="info">' + file.name + '</div>' + '</div>'),
......@@ -128,4 +127,4 @@ jQuery(function() {
$li.off().find('.file-panel').off().end().remove();
alert('删除成功');
}
});
\ No newline at end of file
});
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!