|
@@ -33,6 +33,7 @@ export class home extends Component {
|
|
ClientEvent.on(config.UI_EVENT.UPDATE_GAME_FREE_COUNT,this.onUpdateGameFreeCount.bind(this),this)
|
|
ClientEvent.on(config.UI_EVENT.UPDATE_GAME_FREE_COUNT,this.onUpdateGameFreeCount.bind(this),this)
|
|
ClientEvent.on(config.UI_EVENT.GAME_OVER_SETTLE_ACCOUNT,this.onGameOverSettleAccount.bind(this),this)
|
|
ClientEvent.on(config.UI_EVENT.GAME_OVER_SETTLE_ACCOUNT,this.onGameOverSettleAccount.bind(this),this)
|
|
ClientEvent.on(config.UI_EVENT.GET_NEW_CAR,this.onGetNewCar.bind(this),this)
|
|
ClientEvent.on(config.UI_EVENT.GET_NEW_CAR,this.onGetNewCar.bind(this),this)
|
|
|
|
+ ClientEvent.on(config.UI_EVENT.HIDE_HOME_MORE_VIEW,this.onHideHomeMoreView.bind(this),this)
|
|
ClientEvent.on(config.UI_EVENT.UPDATE_USER_DEFAULT_CAR,this.onUpdateUserDefaultCar.bind(this),this)
|
|
ClientEvent.on(config.UI_EVENT.UPDATE_USER_DEFAULT_CAR,this.onUpdateUserDefaultCar.bind(this),this)
|
|
ClientEvent.on(config.UI_EVENT.UPDATE_USER_INFO,this.onUpdateUserInfo.bind(this),this)
|
|
ClientEvent.on(config.UI_EVENT.UPDATE_USER_INFO,this.onUpdateUserInfo.bind(this),this)
|
|
ClientEvent.on(config.UI_EVENT.UPDATE_RED_DOT_STATUS,this.onUpdateRedDotStatus.bind(this),this)
|
|
ClientEvent.on(config.UI_EVENT.UPDATE_RED_DOT_STATUS,this.onUpdateRedDotStatus.bind(this),this)
|
|
@@ -72,6 +73,10 @@ export class home extends Component {
|
|
this.bottom.getComponent(home_bottom).checkIsMineCountryRank()
|
|
this.bottom.getComponent(home_bottom).checkIsMineCountryRank()
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ onHideHomeMoreView() {
|
|
|
|
+ this.modules.getComponent(home_modules).hideGengduoView()
|
|
|
|
+ }
|
|
|
|
+
|
|
onUpdateUserDefaultCar() {
|
|
onUpdateUserDefaultCar() {
|
|
// 更新首页车
|
|
// 更新首页车
|
|
this.home_car.getComponent(home_car).updateCar()
|
|
this.home_car.getComponent(home_car).updateCar()
|