陈剑华

feat: 17543 功能缺陷-页面加载-信息流图片加载,手机打开仅wifi加载图片控制,进入教育频道,长图图片未显示

@@ -219,7 +219,8 @@ struct createImg { @@ -219,7 +219,8 @@ struct createImg {
219 }) { 219 }) {
220 Image(this.loadImg ? item.fullUrl : '') 220 Image(this.loadImg ? item.fullUrl : '')
221 .backgroundColor(0xf5f5f5) 221 .backgroundColor(0xf5f5f5)
222 - .width('100%') 222 + .width(113)
  223 + .height(113)
223 .autoResize(true) 224 .autoResize(true)
224 .borderRadius(this.caclImageRadius(index)) 225 .borderRadius(this.caclImageRadius(index))
225 .opacity(!item.weight && !item.height ? 0 : 1) 226 .opacity(!item.weight && !item.height ? 0 : 1)
@@ -233,6 +234,8 @@ struct createImg { @@ -233,6 +234,8 @@ struct createImg {
233 Image(this.loadImg ? item.fullUrl : '') 234 Image(this.loadImg ? item.fullUrl : '')
234 .backgroundColor(0xf5f5f5) 235 .backgroundColor(0xf5f5f5)
235 .aspectRatio(1) 236 .aspectRatio(1)
  237 + .width(113)
  238 + .height(113)
236 .borderRadius(this.caclImageRadius(index)) 239 .borderRadius(this.caclImageRadius(index))
237 if(this.getPicType(item.weight, item.height) !== 3){ 240 if(this.getPicType(item.weight, item.height) !== 3){
238 Flex({ direction: FlexDirection.Row }) { 241 Flex({ direction: FlexDirection.Row }) {