78bd7cb4 by yangjianbin

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

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