var win1 = new Ext.Window({
title:"行驶证扫描件",
width:500,
height:300,
closable:false,
x:300,
y:200,
draggable:false,
resizable:false,
layout:"fit",
plain:true,
imageLock:false,
items: [{xtype : 'box',
id : 'logoPic',
border :'10 5 3 10',
width : 260,
height : 260,
autoShow:true,
autoEl : {
tag : 'img',
src: '../../../upload/201210291103278.jpg',
style : 'width:150px;height:150px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);'
}
}]
请问:EXT代码中的中的src可以显示项目路径下的图片,但是不显示本地磁盘的图片?怎样去显示本地磁盘某一路径下的图片?
title:"行驶证扫描件",
width:500,
height:300,
closable:false,
x:300,
y:200,
draggable:false,
resizable:false,
layout:"fit",
plain:true,
imageLock:false,
items: [{xtype : 'box',
id : 'logoPic',
border :'10 5 3 10',
width : 260,
height : 260,
autoShow:true,
autoEl : {
tag : 'img',
src: '../../../upload/201210291103278.jpg',
style : 'width:150px;height:150px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);'
}
}]
请问:EXT代码中的中的src可以显示项目路径下的图片,但是不显示本地磁盘的图片?怎样去显示本地磁盘某一路径下的图片?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货