From c525b06de1415116f7d95dadfbb4c26d71402d13 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 15 一月 2026 14:58:38 +0800
Subject: [PATCH] 0312 支持坊市跳转指定商品,前提是商品存在

---
 Main/System/UIBase/UIJumpManager.cs |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/Main/System/UIBase/UIJumpManager.cs b/Main/System/UIBase/UIJumpManager.cs
index c5e0ef4..5ebadfb 100644
--- a/Main/System/UIBase/UIJumpManager.cs
+++ b/Main/System/UIBase/UIJumpManager.cs
@@ -38,6 +38,20 @@
 		}
 		var config = WindowSearchConfig.Get(winID);
 
+		if (config.WinName == "StoreBaseWin")
+		{
+			//鎸囧畾鍟嗗搧
+			StoreModel.Instance.jumpShopID = int.Parse(config.Extra);
+			if (StoreModel.Instance.jumpShopID == 0)
+			{
+				StoreModel.Instance.selectStoreFuncType = StoreFunc.Normal;
+			}
+			else
+			{
+				StoreModel.Instance.selectStoreFuncType = (StoreFunc)StoreConfig.Get(StoreModel.Instance.jumpShopID).ShopType;
+			}
+		}
+
 		if (!UIManager.Instance.IsOpened(config.WinName))
 		{
 			UIManager.Instance.OpenWindow(config.WinName, config.TabIndex);

--
Gitblit v1.8.0