Showing
4 changed files
with
4 additions
and
1 deletions
| @@ -77,6 +77,7 @@ export struct ZhSingleRow02 { | @@ -77,6 +77,7 @@ export struct ZhSingleRow02 { | ||
| 77 | .padding({ | 77 | .padding({ |
| 78 | right: $r('app.float.card_comp_pagePadding_lf'), | 78 | right: $r('app.float.card_comp_pagePadding_lf'), |
| 79 | }) | 79 | }) |
| 80 | + .visibility(this.compDTO?.objectType === '0' || this.compDTO?.objectType === '' ? Visibility.None : Visibility.Visible) | ||
| 80 | .onClick(() => { | 81 | .onClick(() => { |
| 81 | if (this.compDTO?.objectType === '11') { | 82 | if (this.compDTO?.objectType === '11') { |
| 82 | ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string) | 83 | ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string) |
| @@ -130,6 +130,7 @@ export struct ZhSingleRow03 { | @@ -130,6 +130,7 @@ export struct ZhSingleRow03 { | ||
| 130 | .padding({ | 130 | .padding({ |
| 131 | right: $r('app.float.card_comp_pagePadding_lf'), | 131 | right: $r('app.float.card_comp_pagePadding_lf'), |
| 132 | }) | 132 | }) |
| 133 | + .visibility(this.compDTO?.objectType === '0' || this.compDTO?.objectType === '' ? Visibility.None : Visibility.Visible) | ||
| 133 | .onClick(() => { | 134 | .onClick(() => { |
| 134 | if (this.compDTO?.objectType === '11') { | 135 | if (this.compDTO?.objectType === '11') { |
| 135 | ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string) | 136 | ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string) |
| @@ -36,6 +36,7 @@ export struct ZhSingleRow04 { | @@ -36,6 +36,7 @@ export struct ZhSingleRow04 { | ||
| 36 | .width(14) | 36 | .width(14) |
| 37 | .height(14) | 37 | .height(14) |
| 38 | } | 38 | } |
| 39 | + .visibility(this.compDTO?.objectType === '0' || this.compDTO?.objectType === '' ? Visibility.None : Visibility.Visible) | ||
| 39 | .onClick(() => { | 40 | .onClick(() => { |
| 40 | if (this.compDTO?.objectType === '11') { | 41 | if (this.compDTO?.objectType === '11') { |
| 41 | ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string) | 42 | ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string) |
| @@ -29,7 +29,7 @@ export struct HorizontalStrokeCardThreeTwoRadioForMoreComponent { | @@ -29,7 +29,7 @@ export struct HorizontalStrokeCardThreeTwoRadioForMoreComponent { | ||
| 29 | .width(14) | 29 | .width(14) |
| 30 | .height(14) | 30 | .height(14) |
| 31 | } | 31 | } |
| 32 | - .visibility(this.compDTO?.objectType === '0' ? Visibility.None : Visibility.Visible) | 32 | + .visibility(this.compDTO?.objectType === '0' || this.compDTO?.objectType === '' ? Visibility.None : Visibility.Visible) |
| 33 | .onClick(() => { | 33 | .onClick(() => { |
| 34 | if (this.compDTO?.objectType === '11') { | 34 | if (this.compDTO?.objectType === '11') { |
| 35 | ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string) | 35 | ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string) |
-
Please register or login to post a comment