陈剑华

fix: card19图片地址优化

@@ -242,7 +242,7 @@ struct createImg { @@ -242,7 +242,7 @@ struct createImg {
242 GridCol({ 242 GridCol({
243 span: this.onePicW > this.onePicH ? 12 : 8 243 span: this.onePicW > this.onePicH ? 12 : 8
244 }) { 244 }) {
245 - Image(this.loadImg ? item.fullUrl : '') 245 + Image(this.loadImg ? item.url || item.fullUrl : '')
246 .backgroundColor(0xf5f5f5) 246 .backgroundColor(0xf5f5f5)
247 // .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305) 247 // .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305)
248 .width('100%') 248 .width('100%')
@@ -261,7 +261,7 @@ struct createImg { @@ -261,7 +261,7 @@ struct createImg {
261 GridCol({ 261 GridCol({
262 span: this.onePicW > this.onePicH ? 12 : 8 262 span: this.onePicW > this.onePicH ? 12 : 8
263 }) { 263 }) {
264 - Image(this.loadImg ? item.fullUrl : '') 264 + Image(this.loadImg ? item.url || item.fullUrl : '')
265 .backgroundColor(0xf5f5f5) 265 .backgroundColor(0xf5f5f5)
266 // .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305) 266 // .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305)
267 .width('100%') 267 .width('100%')
@@ -283,7 +283,7 @@ struct createImg { @@ -283,7 +283,7 @@ struct createImg {
283 span: { xs: 4 } 283 span: { xs: 4 }
284 }) { 284 }) {
285 Stack({alignContent: Alignment.BottomEnd}) { 285 Stack({alignContent: Alignment.BottomEnd}) {
286 - Image(this.loadImg ? item.fullUrl : '') 286 + Image(this.loadImg ? item.url || item.fullUrl : '')
287 .backgroundColor(index === 2 ? 0xffffff : 0xf5f5f5) 287 .backgroundColor(index === 2 ? 0xffffff : 0xf5f5f5)
288 .aspectRatio(1) 288 .aspectRatio(1)
289 .width('226lvp') 289 .width('226lvp')
@@ -322,7 +322,7 @@ struct createImg { @@ -322,7 +322,7 @@ struct createImg {
322 span: { sm: 4, lg: 3 } 322 span: { sm: 4, lg: 3 }
323 }) { 323 }) {
324 Stack({ alignContent: Alignment.BottomEnd }) { 324 Stack({ alignContent: Alignment.BottomEnd }) {
325 - Image(this.loadImg ? item.fullUrl : '') 325 + Image(this.loadImg ? item.url || item.fullUrl : '')
326 .backgroundColor(0xf5f5f5) 326 .backgroundColor(0xf5f5f5)
327 .aspectRatio(1) 327 .aspectRatio(1)
328 .borderRadius(this.caclImageRadius(index)) 328 .borderRadius(this.caclImageRadius(index))
@@ -360,7 +360,7 @@ struct createImg { @@ -360,7 +360,7 @@ struct createImg {
360 const photo: PhotoListBean = { 360 const photo: PhotoListBean = {
361 width: item.weight, 361 width: item.weight,
362 height: item.height, 362 height: item.height,
363 - picPath: item.fullUrl||item.url, 363 + picPath: item.url || item.fullUrl,
364 picDesc: '', 364 picDesc: '',
365 itemType:2, 365 itemType:2,
366 id:0 366 id:0