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