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