【超值基金】提交
parent
8e85780697
commit
e7b9c54c45
|
@ -88,7 +88,7 @@ function UpperMonthCard:BindEvent()
|
|||
UIManager.OpenPanel(UIName.HelpPopup,self.actConfig.HelpId,self.helpPosition.x,self.helpPosition.y)
|
||||
end)
|
||||
Util.AddOnceClick(self.btnBuy, function()
|
||||
if self.actInfo.value < 1 then
|
||||
if self.actInfo.value < 2 then
|
||||
PayManager.Pay(self.baseType, function(id)
|
||||
self:RechargeSuccessFunc(id)
|
||||
end)
|
||||
|
@ -197,7 +197,8 @@ end
|
|||
|
||||
--- 根据是否购买了显示信息
|
||||
function UpperMonthCard:SetBuyState()
|
||||
if self.actInfo.value < 1 then
|
||||
LogRed("value:"..tostring(self.actInfo.value))
|
||||
if self.actInfo.value < 2 then
|
||||
self.btnBuy.gameObject:SetActive(true)
|
||||
self.btnBuyImage.sprite = self.spLoader:LoadSprite(state[0].bg)
|
||||
self.textBuy.text = MoneyUtil.GetMoneyUnitNameWithMoney(chargeConfig[self.baseType].Price)
|
||||
|
|
Loading…
Reference in New Issue