| | |
| | | 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)
|
| | | {
|