Showing
1 changed file
with
13 additions
and
7 deletions
| @@ -124,12 +124,10 @@ struct ChannelSubscriptionLayout { | @@ -124,12 +124,10 @@ struct ChannelSubscriptionLayout { | ||
| 124 | addChannelItem(item: TopNavDTO) { | 124 | addChannelItem(item: TopNavDTO) { |
| 125 | this.channelIds.push(item.channelId) | 125 | this.channelIds.push(item.channelId) |
| 126 | this.myChannelList.push(item) | 126 | this.myChannelList.push(item) |
| 127 | - | ||
| 128 | - | ||
| 129 | AppStorage.setOrCreate('channelIds', this.channelIds.join(',')) | 127 | AppStorage.setOrCreate('channelIds', this.channelIds.join(',')) |
| 130 | 128 | ||
| 131 | - let storageChannelIds: string = AppStorage.get<string>('channelIds') || '' | ||
| 132 | - console.debug('TopNavigationComponent', 'addChannelItem==>' + storageChannelIds) | 129 | + // let storageChannelIds: string = AppStorage.get<string>('channelIds') || '' |
| 130 | + // console.debug('TopNavigationComponent', 'addChannelItem==>' + storageChannelIds) | ||
| 133 | } | 131 | } |
| 134 | 132 | ||
| 135 | itemMove(index: number, newIndex: number): void { | 133 | itemMove(index: number, newIndex: number): void { |
| @@ -569,9 +567,19 @@ struct ChannelSubscriptionLayout { | @@ -569,9 +567,19 @@ struct ChannelSubscriptionLayout { | ||
| 569 | .onClick(() => { | 567 | .onClick(() => { |
| 570 | this.isShow = true | 568 | this.isShow = true |
| 571 | }) | 569 | }) |
| 572 | - .bindContentCover(this.isShow, this.sheetBuilder()) | 570 | + .bindContentCover(this.isShow, this.sheetBuilder(), { |
| 571 | + modalTransition: ModalTransition.DEFAULT, | ||
| 572 | + onWillAppear: () => {console.log("BindContentCover onWillAppear.")}, | ||
| 573 | + onAppear: () => {console.log("BindContentCover onAppear.")}, | ||
| 574 | + onWillDisappear: () => {console.log("BindContentCover onWillDisappear.")}, | ||
| 575 | + onDisappear: () => {console.log("BindContentCover onDisappear.") | ||
| 576 | + this.isShow = false | ||
| 577 | + this.isEditIng = false} | ||
| 578 | + }) | ||
| 573 | } | 579 | } |
| 574 | 580 | ||
| 581 | + | ||
| 582 | + | ||
| 575 | /** | 583 | /** |
| 576 | * 改变我的频道栏目中频道id数据 | 584 | * 改变我的频道栏目中频道id数据 |
| 577 | */ | 585 | */ |
| @@ -583,8 +591,6 @@ struct ChannelSubscriptionLayout { | @@ -583,8 +591,6 @@ struct ChannelSubscriptionLayout { | ||
| 583 | this.channelIds.push(item.channelId) | 591 | this.channelIds.push(item.channelId) |
| 584 | } | 592 | } |
| 585 | }) | 593 | }) |
| 586 | - | ||
| 587 | - console.debug('TopNavigationComponent', '--changeMyChannelData channelIds--->' + this.channelIds.join(',')) | ||
| 588 | } | 594 | } |
| 589 | } | 595 | } |
| 590 | 596 |
-
Please register or login to post a comment