Showing
1 changed file
with
13 additions
and
1 deletions
| 1 | -import { ContentDetailDTO, LiveDetailsBean, LiveRoomDataBean, postBatchAttentionStatusParams, } from 'wdBean/Index' | 1 | +import { ContentDetailDTO, LiveDetailsBean, LiveRoomDataBean, |
| 2 | + Params, | ||
| 3 | + postBatchAttentionStatusParams, } from 'wdBean/Index' | ||
| 2 | import { MultiPictureDetailViewModel } from 'wdComponent/src/main/ets/viewmodel/MultiPictureDetailViewModel' | 4 | import { MultiPictureDetailViewModel } from 'wdComponent/src/main/ets/viewmodel/MultiPictureDetailViewModel' |
| 3 | import { SpConstants } from 'wdConstant/Index' | 5 | import { SpConstants } from 'wdConstant/Index' |
| 4 | import { ContentDetailRequest, postInteractAccentionOperateParams } from 'wdDetailPlayApi/Index' | 6 | import { ContentDetailRequest, postInteractAccentionOperateParams } from 'wdDetailPlayApi/Index' |
| @@ -173,6 +175,16 @@ export struct PlayerEndView { | @@ -173,6 +175,16 @@ export struct PlayerEndView { | ||
| 173 | // .borderStyle(BorderStyle.Solid) | 175 | // .borderStyle(BorderStyle.Solid) |
| 174 | .position({ x: '50%', y: 0 }) | 176 | .position({ x: '50%', y: 0 }) |
| 175 | .markAnchor({ x: '50%', y: '50%' }) | 177 | .markAnchor({ x: '50%', y: '50%' }) |
| 178 | + .onClick(()=>{ | ||
| 179 | + // 跳转到号主页 | ||
| 180 | + if (this.contentDetailData.rmhInfo?.cnMainControl === 1) { | ||
| 181 | + const params: Params = { | ||
| 182 | + creatorId: this.contentDetailData.rmhInfo.rmhId, | ||
| 183 | + pageID: '' | ||
| 184 | + } | ||
| 185 | + WDRouterRule.jumpWithPage(WDRouterPage.peopleShipHomePage, params) | ||
| 186 | + } | ||
| 187 | + }) | ||
| 176 | } | 188 | } |
| 177 | } | 189 | } |
| 178 | .width(307) | 190 | .width(307) |
-
Please register or login to post a comment