王士厅

电子报优化骨架屏逻辑

@@ -50,6 +50,7 @@ export struct ENewspaperItemComponent { @@ -50,6 +50,7 @@ export struct ENewspaperItemComponent {
50 .objectFit(ImageFit.Fill) 50 .objectFit(ImageFit.Fill)
51 .zIndex(10) 51 .zIndex(10)
52 newsSkeleton() 52 newsSkeleton()
  53 + .visibility(this.isShowSkeleton ? Visibility.Visible : Visibility.None)
53 .zIndex(1) 54 .zIndex(1)
54 if (this.contentWidth !== 0) { 55 if (this.contentWidth !== 0) {
55 Canvas(this.context) 56 Canvas(this.context)