Main/System/HeroUI/HeroCollectionCardCell.cs
@@ -13,7 +13,7 @@
    [SerializeField] Text nameText;
    [SerializeField] Image trainStateImg;
    [SerializeField] RedpointBehaviour redpoint;
    [SerializeField] Button bookLVBtn;
    // [SerializeField] Button bookLVBtn;
    [SerializeField] GameObject unGetObj;
    [SerializeField] GameObject activeObj; // 可激活带流光效果材质
@@ -21,6 +21,9 @@
    {
        var heroID = HeroUIManager.Instance.heroCollectDict[quality][index];
        var heroConfig = HeroConfig.Get(heroID);
        this.gameObject.name = $"herocard_{heroID}";
        HB122_tagSCHeroInfo.tagSCHero colData;
        HeroUIManager.Instance.TryGetHeroBookInfo(heroID, out colData);
        heroCardBG.SetSprite("herocardbg" + heroConfig.Quality);
@@ -29,7 +32,7 @@
        int funcState = HeroUIManager.Instance.GetHeroBookState(heroID, quality);
        activeObj.SetActive(funcState == 1);
        bookLVBtn.SetActive(funcState > 1);
        // bookLVBtn.SetActive(funcState > 1);
        unGetObj.SetActive(funcState == 0);
        countryImg.SetSprite(HeroUIManager.Instance.GetCountryIconName(heroConfig.Country));
@@ -41,7 +44,7 @@
        if (funcState == 3 || funcState == 4)
        {
            trainStateImg.SetActive(true);
            trainStateImg.SetSprite("herofuncstate2");
            trainStateImg.SetSprite("herofuncstate4");
        }
        else
        {
@@ -76,13 +79,18 @@
            {
                UIManager.Instance.OpenWindow<HeroCollectionLvUpWin>();
            }
            else
            {
                HeroUIManager.Instance.selectForPreviewHeroID = heroID;
                UIManager.Instance.OpenWindow<HeroBestWin>();
            }
        });
        
        bookLVBtn.AddListener(() =>
        {
            HeroUIManager.Instance.selectCollectHeroID = heroID;
            UIManager.Instance.OpenWindow<HeroCollectionLvUpWin>();
        });
        // bookLVBtn.AddListener(() =>
        // {
        //     HeroUIManager.Instance.selectCollectHeroID = heroID;
        //     UIManager.Instance.OpenWindow<HeroCollectionLvUpWin>();
        // });
    }
}