From ac3eb69ba12d3bab44cb20daaf3aca018399d1cc Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期四, 11 七月 2019 11:01:07 +0800
Subject: [PATCH] 8015 子 【主干】寻宝 / 【前端】【主干】新增功能开启符印寻宝

---
 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