From b0e4ba45f27b5851d56d8a0bb5a0170bc90f1084 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 11 七月 2019 11:35:37 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/MainInterfacePanel/HighSettingTip.cs | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/System/MainInterfacePanel/HighSettingTip.cs b/System/MainInterfacePanel/HighSettingTip.cs
index f3ae6cd..25e4304 100644
--- a/System/MainInterfacePanel/HighSettingTip.cs
+++ b/System/MainInterfacePanel/HighSettingTip.cs
@@ -179,7 +179,25 @@
void OnClickHappyXBBtn()//瀵诲疂
{
HighSettingFadeInFadeOut.SetAutoCloseTimer();
- WindowCenter.Instance.Open<HappyXBWin>();
+ var xbModel = ModelCenter.Instance.GetModel<HappyXBModel>();
+ var functionOrder = 0;
+ if (xbModel.bestXBRed.state == RedPointState.Simple)
+ {
+ functionOrder = 0;
+ }
+ else if (xbModel.runeXBRed.state == RedPointState.Simple)
+ {
+ functionOrder = 1;
+ }
+ else if (xbModel.xbStoreRed.state == RedPointState.Simple)
+ {
+ functionOrder = 2;
+ }
+ else if (xbModel.xbWarehouseRed.state == RedPointState.Simple)
+ {
+ functionOrder = 3;
+ }
+ WindowCenter.Instance.Open<HappyXBWin>(false, functionOrder);
}
void OnClickFindHostBtn()//浠欏疂瀵讳富
--
Gitblit v1.8.0