ref |> 调整文章详情页缺省页逻辑
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -284,7 +284,7 @@ export struct ImageAndTextPageComponent { | @@ -284,7 +284,7 @@ export struct ImageAndTextPageComponent { | ||
| 284 | .justifyContent(FlexAlign.SpaceBetween) | 284 | .justifyContent(FlexAlign.SpaceBetween) |
| 285 | .alignItems(VerticalAlign.Bottom) | 285 | .alignItems(VerticalAlign.Bottom) |
| 286 | 286 | ||
| 287 | - if (this.isNetConnected && !this.detailContentEmpty) { | 287 | + // if (this.isNetConnected && !this.detailContentEmpty) { |
| 288 | Row() { | 288 | Row() { |
| 289 | Image($r('app.media.ic_news_detail_division')) | 289 | Image($r('app.media.ic_news_detail_division')) |
| 290 | .width('100%') | 290 | .width('100%') |
| @@ -294,7 +294,7 @@ export struct ImageAndTextPageComponent { | @@ -294,7 +294,7 @@ export struct ImageAndTextPageComponent { | ||
| 294 | } | 294 | } |
| 295 | .padding({ left: 15, right: 15 }) | 295 | .padding({ left: 15, right: 15 }) |
| 296 | .backgroundColor(Color.White) | 296 | .backgroundColor(Color.White) |
| 297 | - } | 297 | + // } |
| 298 | }.backgroundColor(Color.White) | 298 | }.backgroundColor(Color.White) |
| 299 | } | 299 | } |
| 300 | .margin({top: `${this.topSafeHeight}px`, bottom: `${this.bottomSafeHeight}px`}) | 300 | .margin({top: `${this.topSafeHeight}px`, bottom: `${this.bottomSafeHeight}px`}) |
-
Please register or login to post a comment