/// <summary> /// 界面显示 /// </summary> protected override void OnShow(INotification notification) { if (equipMediator == null) { equipMediator = Facade.RetrieveMediator("EquipMediator") as EquipMediator; } bool isHas = EquipConfig.IsHasEquip(); cur_type = isHas ? Equip_Func_Type.Strong : Equip_Func_Type.Make; cur_open_equip = isHas ? NotificationID.EquipStrong_Hide : NotificationID.EquipMake_Hide; Init(); RefreshBtnStates(); SetPlayerInfo(); SetEquipGridInfo(cur_select_player_id); OpenFunction(); }