挂机界面
This commit is contained in:
parent
f42fec5e4d
commit
25b8aa4bcf
@ -281,7 +281,7 @@ function IdleDropUI:addGetBtnRedPoint()
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
self.getBtnRedPoint = true
|
self.getBtnRedPoint = true
|
||||||
self.getBtn:addRedPoint(94, 42, 0.8)
|
self.getBtn:addRedPoint(121, 42, 0.8)
|
||||||
end
|
end
|
||||||
|
|
||||||
function IdleDropUI:removeGetBtnRedPoint()
|
function IdleDropUI:removeGetBtnRedPoint()
|
||||||
@ -297,7 +297,7 @@ function IdleDropUI:addQuickBtnRedPoint()
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
self.quickBtnRedPoint = true
|
self.quickBtnRedPoint = true
|
||||||
self.quickBtn:addRedPoint(94, 42, 0.8)
|
self.quickBtn:addRedPoint(121, 42, 0.8)
|
||||||
end
|
end
|
||||||
|
|
||||||
function IdleDropUI:removeQuickBtnRedPoint()
|
function IdleDropUI:removeQuickBtnRedPoint()
|
||||||
|
|||||||
@ -121,7 +121,7 @@ function IdleQuickDropUI:onRefresh()
|
|||||||
else
|
else
|
||||||
self.adBtn:setTouchEnable(true)
|
self.adBtn:setTouchEnable(true)
|
||||||
self.adBtn:setSprite(GConst.ATLAS_PATH.COMMON, "common_btn_blue_2")
|
self.adBtn:setSprite(GConst.ATLAS_PATH.COMMON, "common_btn_blue_2")
|
||||||
self.adBtn:addRedPoint(94, 42, 0.8)
|
self.adBtn:addRedPoint(121, 42, 0.8)
|
||||||
end
|
end
|
||||||
self.descTx2:setText(I18N:getGlobalText(I18N.GlobalConst.TODAY_REMAIN_TIMES, adRemainTimes))
|
self.descTx2:setText(I18N:getGlobalText(I18N.GlobalConst.TODAY_REMAIN_TIMES, adRemainTimes))
|
||||||
local vitRemainTimes = DataManager.IdleData:getQuickIdleVitRemainTimes()
|
local vitRemainTimes = DataManager.IdleData:getQuickIdleVitRemainTimes()
|
||||||
@ -137,7 +137,7 @@ function IdleQuickDropUI:onRefresh()
|
|||||||
local costId = GFunc.getRewardId(cost)
|
local costId = GFunc.getRewardId(cost)
|
||||||
local costNum = GFunc.getRewardNum(cost)
|
local costNum = GFunc.getRewardNum(cost)
|
||||||
if GFunc.checkCost(costId, costNum) then
|
if GFunc.checkCost(costId, costNum) then
|
||||||
self.itemBtn:addRedPoint(94, 42, 0.8)
|
self.itemBtn:addRedPoint(121, 42, 0.8)
|
||||||
else
|
else
|
||||||
self.itemBtn:removeRedPoint()
|
self.itemBtn:removeRedPoint()
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user