From 16dba0ff4d2eed7f5a4a7c37640f158ee9f73d8c Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期五, 05 六月 2026 19:22:43 +0800
Subject: [PATCH] 669 子 【武将】武将系统 / 时装新增开服天数显示入口字段
---
Main/System/Store/SkinStoreWin.cs | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/Main/System/Store/SkinStoreWin.cs b/Main/System/Store/SkinStoreWin.cs
index a660afd..fc5643d 100644
--- a/Main/System/Store/SkinStoreWin.cs
+++ b/Main/System/Store/SkinStoreWin.cs
@@ -62,7 +62,12 @@
int jumpIndex = -1;
scroller.Refresh();
- var list = StoreModel.Instance.GetTimeValidStoreDatas(StoreFunc.HeroSkin);
+ var list = StoreModel.Instance.GetTimeValidHeroSkinStoreDatas();
+ if (list == null)
+ {
+ return;
+ }
+
for (int i = 0; i < list.Count; i++)
{
if (i % 4 == 0)
@@ -78,7 +83,10 @@
scroller.lockType = EnhanceLockType.KeepVertical;
if (StoreModel.Instance.jumpShopID != 0)
{
- scroller.JumpIndex(jumpIndex);
+ if (jumpIndex >= 0)
+ {
+ scroller.JumpIndex(jumpIndex);
+ }
StoreModel.Instance.jumpShopID = 0;
}
}
--
Gitblit v1.8.0