wuyanan

fix |> 修复【uat】进入竖屏直播-竖屏直播间。点击头像没有跳转到号主页

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)