ui修改
This commit is contained in:
@@ -16,7 +16,7 @@ export class NavigationPanel extends li_BaseView {
|
||||
private currentActivePanel: PanelType = PanelType.THEME;
|
||||
|
||||
private themeBtn: NavigationBtn;
|
||||
private girlDetailBtn: NavigationBtn;
|
||||
private rankBtn: NavigationBtn;
|
||||
private pastGirlListBtn: NavigationBtn;
|
||||
private settingBtn: NavigationBtn;
|
||||
|
||||
@@ -26,8 +26,7 @@ export class NavigationPanel extends li_BaseView {
|
||||
Utils.parseNode(this.node, this._nodeTab);
|
||||
|
||||
this.themeBtn = this._nodeTab.themeBtn.getComponent(NavigationBtn);
|
||||
this.girlDetailBtn =
|
||||
this._nodeTab.girlDetailBtn.getComponent(NavigationBtn);
|
||||
this.rankBtn = this._nodeTab.rankBtn.getComponent(NavigationBtn);
|
||||
this.pastGirlListBtn = this._nodeTab.chatBtn.getComponent(NavigationBtn);
|
||||
this.settingBtn = this._nodeTab.settingBtn.getComponent(NavigationBtn);
|
||||
this.loadingView = this._nodeTab.loadingView;
|
||||
@@ -54,8 +53,8 @@ export class NavigationPanel extends li_BaseView {
|
||||
this
|
||||
);
|
||||
GButton.BandClick(
|
||||
this.girlDetailBtn.node,
|
||||
() => NavigationManager.Instance.switchToPanel(PanelType.GIRL_DETAIL),
|
||||
this.rankBtn.node,
|
||||
() => NavigationManager.Instance.switchToPanel(PanelType.RANK),
|
||||
this
|
||||
);
|
||||
GButton.BandClick(
|
||||
@@ -108,9 +107,7 @@ export class NavigationPanel extends li_BaseView {
|
||||
);
|
||||
|
||||
this.themeBtn.setFocus(this.currentActivePanel === PanelType.THEME);
|
||||
this.girlDetailBtn.setFocus(
|
||||
this.currentActivePanel === PanelType.GIRL_DETAIL
|
||||
);
|
||||
this.rankBtn.setFocus(this.currentActivePanel === PanelType.RANK);
|
||||
this.pastGirlListBtn.setFocus(
|
||||
this.currentActivePanel === PanelType.PAST_GIRL_LIST
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user