lcy
2026-03-17 271a39a4373ade8f380848d0a80012dcfacac7e2
Main/System/HeroDebut/HeroDebutGiftCell.cs
@@ -14,7 +14,7 @@
    [SerializeField] ImageEx redImage;
    HeroDebutManager manager => HeroDebutManager.Instance;
    StoreModel storeModel => StoreModel.Instance;
    public void Display(int index, List<HeroDebutGiftItem> giftItems)
    {
        if (giftItems.IsNullOrEmpty() || index < 0 || index >= giftItems.Count) return;
@@ -43,12 +43,12 @@
        CTGConfig config = CTGConfig.Get(ctgId);
        bool isCanBuy = manager.IsNoSellOutCTGID(ctgId);
        bool isCanBuy = manager.IsCanBuyToday(ctgId);
        titleText.text = config.Title;
        buyImage.SetSprite(isCanBuy ? "DailySpecialsBuy1" : "DailySpecialsBuy2");
        buyText.text = !isCanBuy ? Language.Get("storename11") : Language.Get("PayMoneyNum", UIHelper.GetMoneyFormat(orderConfig.PayRMBNumOnSale));
        limitCountText.SetActive(true);
        limitCountText.text = Language.Get("TimeRush07", UIHelper.AppendColor(rechargeCount.totalCount >= config.TotalBuyCount ? TextColType.Red : TextColType.LightGreen, Mathf.Max(0, config.TotalBuyCount - rechargeCount.totalCount).ToString()));
        limitCountText.SetActive(config.DailyBuyCount > 0);
        limitCountText.text = Language.Get("HeroDebut39", UIHelper.AppendColor(rechargeCount.todayCount >= config.DailyBuyCount ? TextColType.Red : TextColType.LightGreen, Mathf.Max(0, config.DailyBuyCount - rechargeCount.todayCount).ToString()));
        buyButton.interactable = isCanBuy;
        buyButton.SetListener(() =>
        {