..
This commit is contained in:
parent
1e89701644
commit
faa94296f7
@ -21,7 +21,8 @@ end
|
||||
|
||||
-- icon图标资源路径,为空时不显示
|
||||
function SideBarBaseCellComp:getIconRes()
|
||||
return nil
|
||||
-- return nil
|
||||
return "maincity_gm"
|
||||
end
|
||||
|
||||
-- 图标动画资源路径,为空时不显示
|
||||
@ -83,7 +84,8 @@ function SideBarBaseCellComp:refreshIcon()
|
||||
end
|
||||
|
||||
function SideBarBaseCellComp:refreshSpine()
|
||||
if not self:getSpineName() then
|
||||
-- if not self:getSpineName() then
|
||||
if true then
|
||||
self.spine:getSkeletonGraphic().enabled = false
|
||||
return
|
||||
end
|
||||
|
||||
@ -315,11 +315,11 @@ function MainCityUI:initBottomUI()
|
||||
BIReport:postHomeBtnCilck(BIReport.CLICK_BTN_TYPE[MainCityUI.CLICK_BTN_TYPE[i]])
|
||||
end
|
||||
|
||||
self.bottomBtnSpines[i]:playAnimComplete("born1", false, false, function()
|
||||
self.bottomBtnSpines[i]:playAnimComplete("born2", false, false, function()
|
||||
self.bottomBtnSpines[i]:playAnim("idle", false, false)
|
||||
end)
|
||||
end)
|
||||
-- self.bottomBtnSpines[i]:playAnimComplete("born1", false, false, function()
|
||||
-- self.bottomBtnSpines[i]:playAnimComplete("born2", false, false, function()
|
||||
-- self.bottomBtnSpines[i]:playAnim("idle", false, false)
|
||||
-- end)
|
||||
-- end)
|
||||
self:refreshBottom(i, true)
|
||||
end)
|
||||
table.insert(self.bottomBtnCells, cellCom)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user