主界面图标
This commit is contained in:
parent
d55ed9669a
commit
0e3dd0c30b
@ -12,7 +12,7 @@ function SideBarActSprintCell:getHasPurchase()
|
||||
end
|
||||
|
||||
function SideBarActSprintCell:getSpineName()
|
||||
return "ui_main_btn_shop"
|
||||
return "ui_main_btn_act_gogogo"
|
||||
end
|
||||
|
||||
function SideBarActSprintCell:onClick()
|
||||
|
||||
@ -10,11 +10,10 @@ end
|
||||
|
||||
function SideBarFirstRechargeCell:getSpineName()
|
||||
-- if DataManager.ShopData:isNewFirstRechargeGift(GConst.ShopConst.FIRST_RECHARGE_GEARS.GEAR_1) then
|
||||
-- return "ui_mainbtn_first"
|
||||
return "ui_main_btn_act_first_recharge_1"
|
||||
-- else
|
||||
-- return "ui_mainbtn_first"
|
||||
-- return "ui_main_btn_act_first_recharge_2"
|
||||
-- end
|
||||
return "ui_main_btn_shop"
|
||||
end
|
||||
|
||||
function SideBarFirstRechargeCell:onClick()
|
||||
|
||||
@ -9,7 +9,7 @@ function SideBarPrivilegeCell:getIsOpen()
|
||||
end
|
||||
|
||||
function SideBarPrivilegeCell:getSpineName()
|
||||
return "ui_main_btn_shop"
|
||||
return "ui_main_btn_act_vip"
|
||||
end
|
||||
|
||||
function SideBarPrivilegeCell:onClick()
|
||||
|
||||
@ -9,8 +9,7 @@ function SideBarSignCell:getIsOpen()
|
||||
end
|
||||
|
||||
function SideBarSignCell:getSpineName()
|
||||
-- return "ui_mainbtn_signin"
|
||||
return "ui_main_btn_shop"
|
||||
return "ui_main_btn_act_bounty_signin"
|
||||
end
|
||||
|
||||
function SideBarSignCell:onClick()
|
||||
|
||||
@ -255,13 +255,13 @@ function MainComp:refreshRedPoint()
|
||||
local time = Time:getServerTime() - DataManager.IdleData:getLastDropTime()
|
||||
local idleMaxTime = DataManager.IdleData:getIdleMaxTime()
|
||||
if time >= idleMaxTime or DataManager.IdleData:getQuickIdleRemainTimes() > 0 then
|
||||
self.leftBtn:addRedPoint(70, 20, 1)
|
||||
self.leftBtn:addRedPoint(70, -36, 1)
|
||||
else
|
||||
self.leftBtn:removeRedPoint()
|
||||
end
|
||||
|
||||
if DataManager.SummonData:hasSummonCostRedPoint() then
|
||||
self.rightBtn:addRedPoint(-70, 20, 1)
|
||||
self.rightBtn:addRedPoint(-70, -36, 1)
|
||||
else
|
||||
self.rightBtn:removeRedPoint()
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user