少年修仙传客户端代码仓库
Client_PangDeRong
2018-11-21 7175cdd3d6cde70b2b97ed91fa96cb1f55fe2d73
4742 【1.3】【前端】神秘限购开发
1个文件已修改
14 ■■■■ 已修改文件
System/OpenServerActivity/MysticalPurchaseSaleItem.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/MysticalPurchaseSaleItem.cs
@@ -13,7 +13,7 @@
        [SerializeField] Image presentMoneyIcon;
        [SerializeField] Button buybtn;
        [SerializeField] Text saleTime;
        [SerializeField] Image zheImg;
        [SerializeField] Text zheText;
        [SerializeField] List<CommonItemBaisc> itemBaiscs = new List<CommonItemBaisc>();
        MysticalPurchaseModel.MysticalShop mysticalShop = null;
@@ -45,16 +45,8 @@
            presentMoneyIcon.SetIconWithMoneyType(mysticalShop.storeConfig.MoneyType);
            int remianTime = mysticalShop.GetRemainSellTime();
            saleTime.text = Language.Get("MysticalPurchase101", TimeUtility.SecondsToHMS(remianTime));
            if (string.IsNullOrEmpty(mysticalShop.storeConfig.SalesStatus))
            {
                zheImg.gameObject.SetActive(false);
            }
            else
            {
                zheImg.gameObject.SetActive(true);
                zheImg.SetSprite(mysticalShop.storeConfig.SalesStatus);
                zheImg.SetNativeSize();
            }
            float zhe = ((float)mysticalShop.storeConfig.MoneyNumber / mysticalShop.storeConfig.MoneyOriginal) * 10;
            zheText.text = Language.Get("MysticalPurchase102", Math.Round(zhe, 1));
            var items = storeModel.GetShopItemlistByIndex(mysticalShop.storeConfig);
            for(int i = 0; i < itemBaiscs.Count; i++)
            {