Showing
1 changed file
with
15 additions
and
2 deletions
| @@ -57,6 +57,12 @@ export struct PageComponent { | @@ -57,6 +57,12 @@ export struct PageComponent { | ||
| 57 | this.getData() | 57 | this.getData() |
| 58 | } | 58 | } |
| 59 | }) | 59 | }) |
| 60 | + .backgroundColor(Color.White) | ||
| 61 | + .margin({ | ||
| 62 | + left: 6, | ||
| 63 | + right: 6 | ||
| 64 | + }) | ||
| 65 | + .borderRadius(4) | ||
| 60 | .grayscale(this.isMourning ? 1 : 0) | 66 | .grayscale(this.isMourning ? 1 : 0) |
| 61 | } | 67 | } |
| 62 | } | 68 | } |
| @@ -110,7 +116,7 @@ export struct PageComponent { | @@ -110,7 +116,7 @@ export struct PageComponent { | ||
| 110 | compIndex: compIndex, | 116 | compIndex: compIndex, |
| 111 | pageId: this.pageId | 117 | pageId: this.pageId |
| 112 | } | 118 | } |
| 113 | - ); | 119 | + ) |
| 114 | } | 120 | } |
| 115 | } | 121 | } |
| 116 | .grayscale(this.isMourning && compIndex < 8 ? 1 : 0) | 122 | .grayscale(this.isMourning && compIndex < 8 ? 1 : 0) |
| @@ -147,7 +153,14 @@ export struct PageComponent { | @@ -147,7 +153,14 @@ export struct PageComponent { | ||
| 147 | 153 | ||
| 148 | @Builder | 154 | @Builder |
| 149 | LoadingLayout() { | 155 | LoadingLayout() { |
| 150 | - channelSkeleton().grayscale(this.isMourning ? 1 : 0) | 156 | + channelSkeleton() |
| 157 | + .margin({ | ||
| 158 | + left: 6, | ||
| 159 | + right: 6 | ||
| 160 | + }) | ||
| 161 | + .borderRadius(4) | ||
| 162 | + .backgroundColor(Color.White) | ||
| 163 | + .grayscale(this.isMourning ? 1 : 0) | ||
| 151 | // CustomRefreshLoadLayout({ | 164 | // CustomRefreshLoadLayout({ |
| 152 | // refreshBean: new RefreshLayoutBean(true, | 165 | // refreshBean: new RefreshLayoutBean(true, |
| 153 | // $r('app.media.ic_pull_up_load'), $r('app.string.pull_up_load_text'), this.pageModel.pullDownRefreshHeight) | 166 | // $r('app.media.ic_pull_up_load'), $r('app.string.pull_up_load_text'), this.pageModel.pullDownRefreshHeight) |
-
Please register or login to post a comment