Showing
1 changed file
with
9 additions
and
4 deletions
| @@ -44,10 +44,14 @@ export struct ZhSingleRow04 { | @@ -44,10 +44,14 @@ export struct ZhSingleRow04 { | ||
| 44 | .onClick(() => { | 44 | .onClick(() => { |
| 45 | if (this.compDTO?.objectType === '11') { | 45 | if (this.compDTO?.objectType === '11') { |
| 46 | ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string, this.compDTO.objectTitle) | 46 | ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string, this.compDTO.objectTitle) |
| 47 | - } else if (this.compDTO?.objectType === '5') { | ||
| 48 | - ProcessUtils._gotoSpecialTopic(this.compDTO.linkUrl) | ||
| 49 | - } else if (this.compDTO?.objectType === '6') { | ||
| 50 | - ProcessUtils._gotoDefaultWeb(this.compDTO.linkUrl) | 47 | + } else { |
| 48 | + const contentDTO: ContentDTO = { | ||
| 49 | + objectId: this.compDTO.objectId, | ||
| 50 | + objectType: this.compDTO.objectType, | ||
| 51 | + linkUrl: this.compDTO.linkUrl, | ||
| 52 | + pageId: this.compDTO.pageId | ||
| 53 | + } as ContentDTO | ||
| 54 | + ProcessUtils.processPage(contentDTO) | ||
| 51 | } | 55 | } |
| 52 | }) | 56 | }) |
| 53 | } | 57 | } |
| @@ -84,6 +88,7 @@ export struct ZhSingleRow04 { | @@ -84,6 +88,7 @@ export struct ZhSingleRow04 { | ||
| 84 | .scrollBar(BarState.Off) | 88 | .scrollBar(BarState.Off) |
| 85 | .width(CommonConstants.FULL_PARENT) | 89 | .width(CommonConstants.FULL_PARENT) |
| 86 | .height(166) | 90 | .height(166) |
| 91 | + .edgeEffect(EdgeEffect.None) | ||
| 87 | } | 92 | } |
| 88 | .width(CommonConstants.FULL_WIDTH) | 93 | .width(CommonConstants.FULL_WIDTH) |
| 89 | .backgroundColor($r("app.color.white")) | 94 | .backgroundColor($r("app.color.white")) |
-
Please register or login to post a comment