少年修仙传客户端代码仓库
hch
2019-12-12 205fc293e3d740d62ddbcb46320af34595b812f3
0312 修复商城等级限制显示问题
1个文件已修改
19 ■■■■■ 已修改文件
System/Store/StoreWin.cs 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Store/StoreWin.cs
@@ -369,18 +369,15 @@
                        bool isLimitBuy = buyItem.CheckIsLimitBuyCnt(shopInfo, out canBuyCnt, out addBuyCnt);
                        bool isShowBuyPrice = true;
                        if (isVipBuy)
                        if (isVipBuy && curVipIndex == -1 && nextVipIndex != -1)
                        {
                            if (curVipIndex == -1 && nextVipIndex != -1)
                            {
                                shopItemCell.coinsIcon.gameObject.SetActive(false);
                                shopItemCell.vipText.gameObject.SetActive(true);
                                shopItemCell.vipText.text = Language.Get("StoreWin101", shopInfo.VIPLV[nextVipIndex]);
                                shopItemCell.sellImage.gameObject.SetActive(false);
                                shopItemCell.itemNameText.color = UIHelper.GetUIColor(TextColType.Red, true);
                                shopItemCell.vipText.color = UIHelper.GetUIColor(TextColType.Red, true);
                                isShowBuyPrice = false;
                            }
                            shopItemCell.coinsIcon.gameObject.SetActive(false);
                            shopItemCell.vipText.gameObject.SetActive(true);
                            shopItemCell.vipText.text = Language.Get("StoreWin101", shopInfo.VIPLV[nextVipIndex]);
                            shopItemCell.sellImage.gameObject.SetActive(false);
                            shopItemCell.itemNameText.color = UIHelper.GetUIColor(TextColType.Red, true);
                            shopItemCell.vipText.color = UIHelper.GetUIColor(TextColType.Red, true);
                            isShowBuyPrice = false;
                        }
                        else if (PlayerDatas.Instance.baseData.LV < shopInfo.LV)
                        {