wangliang_wd

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

@@ -326,7 +326,9 @@ struct createImg { @@ -326,7 +326,9 @@ struct createImg {
326 .backgroundColor(0xf5f5f5) 326 .backgroundColor(0xf5f5f5)
327 // .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305) 327 // .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305)
328 .width('100%') 328 .width('100%')
329 - .aspectRatio(this.onePicW / this.onePicH < 1.5 ? 343 / 198 : 343 / 305) 329 + .constraintSize({
  330 + maxHeight: this.onePicW > this.onePicH ? 198 : 305
  331 + })
330 .autoResize(true) 332 .autoResize(true)
331 .borderRadius(this.caclImageRadius(index)) 333 .borderRadius(this.caclImageRadius(index))
332 .borderStyle(BorderStyle.Solid) 334 .borderStyle(BorderStyle.Solid)