From 9c7efb57bf1b21954c7d81b705c8a8a34e7fb364 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 01 七月 2025 17:39:18 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/KnapSack/New/ItemCell.cs |   49 -------------------------------------------------
 1 files changed, 0 insertions(+), 49 deletions(-)

diff --git a/Main/System/KnapSack/New/ItemCell.cs b/Main/System/KnapSack/New/ItemCell.cs
index 488c701..cfe14d8 100644
--- a/Main/System/KnapSack/New/ItemCell.cs
+++ b/Main/System/KnapSack/New/ItemCell.cs
@@ -5,67 +5,18 @@
 
 public class ItemCell : CommonItemBaisc
 {
-    private Button m_Reducebtn;
-    public Button reducebtn {
-        get {
-            if (m_Reducebtn == null)
-            {
-                LoadPrefab();
-                m_Reducebtn = this.transform.GetComponent<Button>("Container_ItemCell/Btn_Reduce");
-            }
-            return m_Reducebtn;
-        }
-    }
 
-    Image m_AuctionIcon;
-    public Image auctionIcon
-    {
-        get
-        {
-            if (m_AuctionIcon == null)
-            {
-                LoadPrefab();
-                m_AuctionIcon = this.transform.GetComponent<Image>("Container_ItemCell/Img_Auction");
-            }
-            return m_AuctionIcon;
-        }
-    }
-
-    Image m_TimeMark;
-    public Image timeMark
-    {
-        get
-        {
-            if (m_TimeMark == null)
-            {
-                LoadPrefab();
-                m_TimeMark = this.transform.GetComponent<Image>("Container_ItemCell/Img_Time");
-            }
-            return m_TimeMark;
-        }
-    }
 
     public override void Init(ItemModel model, bool isCompare = false)
     {
         base.Init(model, isCompare);
-        reducebtn.SetActive(false);
-        auctionIcon.SetActive(false);
-        // auctionIcon.SetActive(model.isAuction);
-        // if (model.isAuction)
-        // {
-        //     auctionIcon.SetSprite(ItemLogicUtility.Instance.IsOverdue(model.guid) ? "Item_Auction_3" : "Item_Auction_1");
-        // }
 
-        timeMark?.SetActive(model.config.Type == 145 && model.config.CDTime > 0);
     }
 
     public override void Init(ItemCellModel model)
     {
         base.Init(model);
-        reducebtn.SetActive(false);
-        auctionIcon.SetActive(false);
 
-        timeMark?.SetActive(model.itemConfig.Type == 145 && model.itemConfig.CDTime > 0);
     }
 }
 

--
Gitblit v1.8.0