礼包bug修改
parent
1395bb93ea
commit
5bc0fb8e0f
|
|
@ -227,13 +227,12 @@ public class UI_GiftShopPurchaseController : UIWindow
|
|||
{
|
||||
StartCountdown();
|
||||
}
|
||||
|
||||
|
||||
// 滚动文字
|
||||
RefreshScrollText();
|
||||
|
||||
ImageTimeBg.gameObject.IsScaleShow(openData.ShopItem.IsLimitedTimeGoods());
|
||||
|
||||
|
||||
// 商品名称
|
||||
Text_ItemName.text = openData.ShopItem.Name;
|
||||
|
||||
|
|
@ -247,7 +246,10 @@ public class UI_GiftShopPurchaseController : UIWindow
|
|||
}
|
||||
|
||||
// 礼包价格
|
||||
Text_Price.text = openData.ShopItem.GetPriceCount().ToString();
|
||||
var price = openData.ShopItem.GetPriceCount();
|
||||
Text_Price.text = IsMoneyEnough()
|
||||
? price.ToString()
|
||||
: $" <color=#FF0000>{price}</color>";
|
||||
|
||||
// 礼包价格图标
|
||||
var priceIconPath = priceItem.CoinIconPath;
|
||||
|
|
|
|||
Loading…
Reference in New Issue