From 570e848cf86b4264290e5e1d914e041846f77bc4 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 17 三月 2026 17:19:13 +0800
Subject: [PATCH] 500 子 【武将】武将时装 1. 皮肤商店增加跳转 2. 皮肤标签选中放大 3. 皮肤界面武将名称颜色

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

diff --git a/Main/System/Store/SkinStoreCell.cs b/Main/System/Store/SkinStoreCell.cs
index 6bb01dc..0abe417 100644
--- a/Main/System/Store/SkinStoreCell.cs
+++ b/Main/System/Store/SkinStoreCell.cs
@@ -6,6 +6,7 @@
 public class SkinStoreCell : MonoBehaviour
 {
     [SerializeField] Image skinImage;
+    [SerializeField] Button skinBtn; //璺宠浆鐨偆鐣岄潰
     [SerializeField] Image skinFrame;
     [SerializeField] Text skinName;
     [SerializeField] Text heroName;
@@ -54,7 +55,13 @@
         
         priceIcon.SetIconWithMoneyType(storeData.storeConfig.MoneyType);
         priceText.text = storeData.storeConfig.MoneyNum.ToString();
-        
+
+        skinBtn.AddListener(()=>
+        {
+            HeroUIManager.Instance.selectForPreviewHeroID = heroID;
+            HeroUIManager.Instance.selectSkinIndex = HeroDebutManager.Instance.GetSkinIndexInHeroConfig(heroID, skinID);
+            UIManager.Instance.OpenWindow<HeroBestBaseWin>(1);
+        });
     }
 
     void BuyGoods(int shopID)

--
Gitblit v1.8.0