陈剑华

feat: 17011 功能缺陷--人民号动态横图展示样式鸿蒙与安卓不一致

@@ -200,13 +200,13 @@ struct createImg { @@ -200,13 +200,13 @@ struct createImg {
200 } 200 }
201 } else { 201 } else {
202 GridCol({ 202 GridCol({
203 - span: { xs: 8 } 203 + span: item.landscape === 1 ? 12 : 8
204 }) { 204 }) {
205 Image(this.loadImg ? item.fullUrl : '') 205 Image(this.loadImg ? item.fullUrl : '')
206 .backgroundColor(0xf5f5f5) 206 .backgroundColor(0xf5f5f5)
207 .width('100%') 207 .width('100%')
208 - .borderRadius(this.caclImageRadius(index))  
209 .autoResize(true) 208 .autoResize(true)
  209 + .borderRadius(this.caclImageRadius(index))
210 .opacity(!this.picWidth && !this.picHeight ? 0 : 1) 210 .opacity(!this.picWidth && !this.picHeight ? 0 : 1)
211 .onComplete(callback => { 211 .onComplete(callback => {
212 this.picWidth = callback?.width || 0; 212 this.picWidth = callback?.width || 0;