Main/System/Store/StoreModel.cs
@@ -41,7 +41,7 @@
    public Dictionary<int, List<int>> freeShopDict = new Dictionary<int, List<int>>();  //免费商品 商店类型:商品列表
    public Dictionary<int, int> shopMoneyTypeDict = new Dictionary<int, int>();
    public const int skinStoreType = 16;
    public override void Init()
    {
@@ -583,6 +583,30 @@
        }
        return true;
    }
    // 弹出购买框,不足则提示已售罄
    public void ShowBuyItem(int shopID, int tipType = 0)
    {
        var cfg = StoreConfig.Get(shopID);
        if (!TryGetIsSellOut(cfg, out var cnt))
        {
            buyShopID = shopID;
            UIManager.Instance.OpenWindow<BuyItemWin>();
        }
        else
        {
            if (tipType == 0)
            {
                //售罄
                SysNotifyMgr.Instance.ShowTip("StoreTip1");
            }
            else if (tipType == 1)
            {
                //物品不足提示
                SysNotifyMgr.Instance.ShowTip("ItemNotEnough", ItemConfig.Get(cfg.ItemID).ItemName);
            }
        }
    }
}
public enum StoreFunc
@@ -597,6 +621,11 @@
    DailySpecialsFree = 8, //8: 每日特惠-每日特惠免费
    DailyGiftFree = 9, //9: 每日特惠-每日礼包免费
    WeeklyGiftFree = 10, //10: 每日特惠-每周礼包免费
    HeroSkin = 16, //16: 时装商店
    OSBeautyMM = 17, //17: 红颜冲榜礼包
    OSHeroTrain = 18, //18: 武将冲榜礼包
    OSMingge = 19, //19: 命格冲榜礼包
    Qunying = 20, //20: 群英积分商店
}