|
@ -236,11 +236,11 @@ function ResourceInfo() {
|
236
|
236
|
return;
|
237
|
237
|
}
|
238
|
238
|
$img.attr( 'src', src );
|
239
|
|
}, 240, 240 );
|
|
239
|
}, 1, 1 );
|
240
|
240
|
});
|
241
|
241
|
|
242
|
242
|
// 文件上传过程中创建进度条实时显示。
|
243
|
|
uploader.on( 'uploadProgress', function( file, percentage ) {
|
|
243
|
/*uploader.on( 'uploadProgress', function( file, percentage ) {
|
244
|
244
|
var $li = $( '#'+file.id ),
|
245
|
245
|
$percent = $li.find('.progress span');
|
246
|
246
|
|
|
@ -251,8 +251,8 @@ function ResourceInfo() {
|
251
|
251
|
.find('span');
|
252
|
252
|
}
|
253
|
253
|
|
254
|
|
$percent.css( 'width', percentage * 100 + '%' );
|
255
|
|
});
|
|
254
|
$percent.css( 'width', percentage * 100 + '%' );
|
|
255
|
}); */
|
256
|
256
|
// 文件上传成功,给item添加成功class, 用样式标记上传成功。
|
257
|
257
|
cacheImageKey=null;
|
258
|
258
|
uploader.on( 'uploadSuccess', function(file,data) {
|