wangliang_wd

feat:优化电子报骨架图展示

... ... @@ -50,10 +50,7 @@ export struct ENewspaperItemComponent {
})
.objectFit(ImageFit.Contain)
.zIndex(10)
newsSkeleton({showBottom: false})
.visibility(this.isShowSkeleton ? Visibility.Visible : Visibility.None)
.width('100%')
.zIndex(1)
if (this.contentWidth !== 0) {
Canvas(this.context)
.width(px2vp(this.contentWidth))
... ...