Showing
2 changed files
with
2 additions
and
1 deletions
| @@ -56,7 +56,7 @@ struct PeopleShipHomePage { | @@ -56,7 +56,7 @@ struct PeopleShipHomePage { | ||
| 56 | .height(px2vp(this.topSafeHeight)) | 56 | .height(px2vp(this.topSafeHeight)) |
| 57 | .width("100%") | 57 | .width("100%") |
| 58 | .backgroundColor($r('app.color.white')) | 58 | .backgroundColor($r('app.color.white')) |
| 59 | - .visibility(this.attentionOpacity ? 1 : 0) | 59 | + .visibility(this.topOpacity > 0 ? Visibility.Visible : Visibility.None) |
| 60 | .opacity(this.topOpacity ) | 60 | .opacity(this.topOpacity ) |
| 61 | .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP]) | 61 | .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP]) |
| 62 | } | 62 | } |
| @@ -97,6 +97,7 @@ export struct PeopleShipHomeArticleListComponent { | @@ -97,6 +97,7 @@ export struct PeopleShipHomeArticleListComponent { | ||
| 97 | } | 97 | } |
| 98 | } | 98 | } |
| 99 | } | 99 | } |
| 100 | + .cachedCount(4) | ||
| 100 | .backgroundColor(Color.Transparent) | 101 | .backgroundColor(Color.Transparent) |
| 101 | .width("100%") | 102 | .width("100%") |
| 102 | .height("100%") | 103 | .height("100%") |
-
Please register or login to post a comment