From 3575c016271e455cfaab964b98e3d4ef84ef75cb Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期三, 13 五月 2026 20:06:12 +0800
Subject: [PATCH] 597 时装特卖

---
 Main/System/Store/SkinStoreWin.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/Main/System/Store/SkinStoreWin.cs b/Main/System/Store/SkinStoreWin.cs
index b9ff542..a660afd 100644
--- a/Main/System/Store/SkinStoreWin.cs
+++ b/Main/System/Store/SkinStoreWin.cs
@@ -25,6 +25,7 @@
         scroller.OnRefreshCell += OnRefreshCell;
         StoreModel.Instance.RefreshShopEvent += Show;
         StoreModel.Instance.RefreshBuyShopLimitEvent += Show;
+        TimeMgr.Instance.OnDayEvent += OnDayEvent;
         
         Display();
     }
@@ -34,6 +35,12 @@
         scroller.OnRefreshCell -= OnRefreshCell;
         StoreModel.Instance.RefreshShopEvent -= Show;
         StoreModel.Instance.RefreshBuyShopLimitEvent -= Show;
+        TimeMgr.Instance.OnDayEvent -= OnDayEvent;
+    }
+
+    void OnDayEvent()
+    {
+        Display();
     }
 
     void Display()
@@ -55,7 +62,7 @@
 
         int jumpIndex = -1;
         scroller.Refresh();
-        var list = StoreModel.Instance.storeTypeDict[(int)StoreFunc.HeroSkin];
+        var list = StoreModel.Instance.GetTimeValidStoreDatas(StoreFunc.HeroSkin);
         for (int i = 0; i < list.Count; i++)
         {
             if (i % 4 == 0)

--
Gitblit v1.8.0