wangliang_wd

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

... ... @@ -1216,7 +1216,7 @@ struct createImg {
// .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305)
.width('100%')
.constraintSize({
maxHeight: this.onePicW > this.onePicH ? 198 : 305
maxHeight: this.onePicW > this.onePicH ? 228 : 305
})
.autoResize(true)
.borderRadius(this.caclImageRadius(index))
... ...
... ... @@ -327,7 +327,7 @@ struct createImg {
// .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305)
.width('100%')
.constraintSize({
maxHeight: this.onePicW > this.onePicH ? 198 : 305
maxHeight: this.onePicW > this.onePicH ? 228 : 305
})
.autoResize(true)
.borderRadius(this.caclImageRadius(index))
... ...