Authored by 张帅

封面图宽高

... ... @@ -128,6 +128,9 @@
if(width >240){
w =240;
}
if(width ==1 || height == 1){
w =240;
}
var h = w * height/width;
imgHtml = '<img src="'+detailInfo.coverImg+'" style="width:'+w+'px;height:'+h+'px;"/>';
$("#coverImg").html(imgHtml);
... ...