Merge branch 'tcx_xiyou_dev' of http://192.168.1.21:3000/root/miduo_client into tcx_xiyou_dev
commit
0549b33717
|
@ -230,7 +230,7 @@ function this.RefreshReward(Data)
|
||||||
Util.SetGray(this.btnGet, false)
|
Util.SetGray(this.btnGet, false)
|
||||||
--LogError("rechargenum=="..rechargeNum.." neednum=="..needNum)
|
--LogError("rechargenum=="..rechargeNum.." neednum=="..needNum)
|
||||||
if rechargeNum >= needNum then
|
if rechargeNum >= needNum then
|
||||||
this.btnGet:GetComponent("Image").sprite = this.spLoader:LoadSprite("s_slbz_1anniuongse")
|
--this.btnGet:GetComponent("Image").sprite = this.spLoader:LoadSprite("s_slbz_1anniuongse")
|
||||||
if BagManager.GetTotalItemNum(Data.data.costId) >= Data.data.price then
|
if BagManager.GetTotalItemNum(Data.data.costId) >= Data.data.price then
|
||||||
this.btnRed:SetActive(true)
|
this.btnRed:SetActive(true)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue