Showing
1 changed file
with
5 additions
and
5 deletions
| 1 | import { BottomNavDTO, CompDTO, TopNavDTO } from 'wdBean'; | 1 | import { BottomNavDTO, CompDTO, TopNavDTO } from 'wdBean'; |
| 2 | -import { LazyDataSource, Logger, SPHelper } from 'wdKit'; | ||
| 3 | import { SpConstants } from 'wdConstant'; | 2 | import { SpConstants } from 'wdConstant'; |
| 4 | -import { ProcessUtils } from 'wdRouter'; | 3 | +import { DisplayUtils, LazyDataSource, Logger, SPHelper } from 'wdKit'; |
| 4 | +import { ProcessUtils, WDRouterPage, WDRouterRule } from 'wdRouter'; | ||
| 5 | import { PageComponent } from './PageComponent'; | 5 | import { PageComponent } from './PageComponent'; |
| 6 | import { ChannelSubscriptionLayout } from './ChannelSubscriptionLayout'; | 6 | import { ChannelSubscriptionLayout } from './ChannelSubscriptionLayout'; |
| 7 | import { FirstTabTopSearchComponent } from '../search/FirstTabTopSearchComponent'; | 7 | import { FirstTabTopSearchComponent } from '../search/FirstTabTopSearchComponent'; |
| 8 | -import { VideoChannelDetail } from 'wdDetailPlayShortVideo/Index'; | ||
| 9 | import { AssignChannelParam } from 'wdRouter/src/main/ets/utils/HomeChannelUtils'; | 8 | import { AssignChannelParam } from 'wdRouter/src/main/ets/utils/HomeChannelUtils'; |
| 10 | import { PeopleShipMainComponent } from '../peopleShip/PeopleShipMainComponent'; | 9 | import { PeopleShipMainComponent } from '../peopleShip/PeopleShipMainComponent'; |
| 11 | -import { WDRouterPage, WDRouterRule } from 'wdRouter' | ||
| 12 | -import { channelSkeleton } from '../skeleton/channelSkeleton' | 10 | +import { channelSkeleton } from '../skeleton/channelSkeleton'; |
| 13 | 11 | ||
| 14 | 12 | ||
| 15 | const TAG = 'TopNavigationComponent'; | 13 | const TAG = 'TopNavigationComponent'; |
| @@ -253,6 +251,8 @@ export struct TopNavigationComponent { | @@ -253,6 +251,8 @@ export struct TopNavigationComponent { | ||
| 253 | }, (navItem: TopNavDTO) => JSON.stringify(navItem)); | 251 | }, (navItem: TopNavDTO) => JSON.stringify(navItem)); |
| 254 | } | 252 | } |
| 255 | .barHeight($r('app.float.top_tab_bar_height')) | 253 | .barHeight($r('app.float.top_tab_bar_height')) |
| 254 | + .height(this._currentNavIndex == 0 ? DisplayUtils.getDeviceHeight() - vp2px(48.3) : | ||
| 255 | + '100%') | ||
| 256 | .barMode(BarMode.Scrollable) | 256 | .barMode(BarMode.Scrollable) |
| 257 | .vertical(false) | 257 | .vertical(false) |
| 258 | .barBackgroundColor(this.barBackgroundColor) | 258 | .barBackgroundColor(this.barBackgroundColor) |
-
Please register or login to post a comment