Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
yuzhilin
2024-05-09 15:14:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3c901a6b65fca0b4557b62567f3cd1ff6538fc4f
3c901a6b
1 parent
4d6a75c0
fix:17109 UI还原问题--频道切换到版面缺少骨架图
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/page/TopNavigationComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/TopNavigationComponent.ets
View file @
3c901a6
...
...
@@ -9,6 +9,7 @@ import { VideoChannelDetail } from 'wdDetailPlayShortVideo/Index';
import { AssignChannelParam } from 'wdRouter/src/main/ets/utils/HomeChannelUtils';
import { PeopleShipMainComponent } from '../peopleShip/PeopleShipMainComponent';
import { WDRouterPage, WDRouterRule } from 'wdRouter'
import { channelSkeleton } from '../skeleton/channelSkeleton'
const TAG = 'TopNavigationComponent';
...
...
@@ -264,6 +265,8 @@ export struct TopNavigationComponent {
channelId: navItem.channelId + '',
autoRefresh: this.autoRefresh2Page
})
}else{
channelSkeleton()
}
}
.tabBar(this.tabBarBuilder(navItem, index))
...
...
@@ -296,13 +299,13 @@ export struct TopNavigationComponent {
ProcessUtils.gotoBroadcastPage(this.myChannelList[index].pageId)
this.tabTimmer = setTimeout(() => {
this.tabsController.changeIndex(this.currentTopNavSelectedIndex)
},
5
00)
},
1
00)
}
if (this.isLayout(this._currentNavIndex === 0 ? this.myChannelList[index] : this.topNavList[index])) {
ProcessUtils.gotoENewsPaper()
this.tabTimmer = setTimeout(() => {
this.tabsController.changeIndex(this.currentTopNavSelectedIndex)
},
5
00)
},
1
00)
}
})
.onAnimationStart((index: number, targetIndex: number, event: TabsAnimationEvent) => {
...
...
Please
register
or
login
to post a comment