wangliang_wd

feat:人民号动态卡图片展示优化

... ... @@ -205,7 +205,7 @@ struct createImg {
getPicHeight(picWidth: number, picHeight: number) {
if (picWidth && picHeight) {
let sizeH = this.compWidth * picHeight / picWidth
return picWidth/picHeight === 1 ? 228:sizeH
return picWidth/picHeight === 1 ? 228:Math.min(sizeH,305)
} else {
return 305; //普通图
}
... ...