Showing
1 changed file
with
13 additions
and
0 deletions
| @@ -5,6 +5,8 @@ import { MineAppointmentItem } from '../../../viewmodel/MineAppointmentItem'; | @@ -5,6 +5,8 @@ import { MineAppointmentItem } from '../../../viewmodel/MineAppointmentItem'; | ||
| 5 | import { LazyDataSource, StringUtils } from 'wdKit'; | 5 | import { LazyDataSource, StringUtils } from 'wdKit'; |
| 6 | import MinePageDatasModel from '../../../model/MinePageDatasModel'; | 6 | import MinePageDatasModel from '../../../model/MinePageDatasModel'; |
| 7 | import { EmptyComponent } from '../../view/EmptyComponent'; | 7 | import { EmptyComponent } from '../../view/EmptyComponent'; |
| 8 | +import { Action } from 'wdBean/Index'; | ||
| 9 | +import { WDRouterPage, WDRouterRule } from 'wdRouter/Index'; | ||
| 8 | 10 | ||
| 9 | const TAG = "AppointmentListUI" | 11 | const TAG = "AppointmentListUI" |
| 10 | 12 | ||
| @@ -42,6 +44,17 @@ export struct AppointmentListUI { | @@ -42,6 +44,17 @@ export struct AppointmentListUI { | ||
| 42 | } | 44 | } |
| 43 | .onClick(() => { | 45 | .onClick(() => { |
| 44 | //TODO 跳转 | 46 | //TODO 跳转 |
| 47 | + let action = { | ||
| 48 | + type:"2", | ||
| 49 | + params:{ | ||
| 50 | + extra:{ | ||
| 51 | + relId:item.relId, | ||
| 52 | + relType:item.relType.toString() | ||
| 53 | + }, | ||
| 54 | + contentID:item.liveId.toString() | ||
| 55 | + } | ||
| 56 | + } as Action | ||
| 57 | + WDRouterRule.jumpWithPage(WDRouterPage.detailPlayLiveCommon, action) | ||
| 45 | }) | 58 | }) |
| 46 | }, (item: MineAppointmentItem, index: number) => index.toString()) | 59 | }, (item: MineAppointmentItem, index: number) => index.toString()) |
| 47 | 60 |
-
Please register or login to post a comment