// 初次加载页面
setTimeout(function(){
$(".img-responsive").each(function(){
var rw=$(this).get(0).offsetWidth;
var rh=rw*(463/640);
$(this).css("height",rh+"px");
});
},300);
// 窗口改变时
window.onresize = function(){
setTimeout(function(){$(".img-responsive").each(function(){
var rw=$('body').get(0).offsetWidth*(345/1903);
$(this).css('width',rw+'px');
//var rw=$(this).get(0).offsetWidth;
var rh=rw*(463/640);
$(this).css("height",rh+"px");
});
},500);
}