wangliang_wd

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

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