修改页签

tcx_xiyou_solider
lichao 2024-02-28 10:12:46 +08:00
parent 52b6184e18
commit 08cff7d1bd
2 changed files with 18613 additions and 19033 deletions

View File

@ -25,7 +25,8 @@ local tabs = {
-- },
[5] = { --神兵
default = "r_hero_xuanze_002", lock = "r_hero_xuanze_002", select = "r_hero_xuanze_001",tabName = "神兵篇",
rpType = RedPointType.Weapon_Fetter,funcType = FUNCTION_OPEN_TYPE.POKEMON,bg = "t_tianshumijuan_shengjiangditu",zi = "GodWeaponAtlas_handbook_title_zh",
rpType = RedPointType.Weapon_Fetter,funcType = FUNCTION_OPEN_TYPE.POKEMON,bg = "t_tianshumijuan_lingshouditu"-- "t_tianshumijuan_shengjiangditu"
,zi = "GodWeaponAtlas_handbook_title_zh",
},
}
local status = {
@ -44,7 +45,8 @@ function TianShuMiJuanMainPanel:InitComponent()
self.tabbox = Util.GetGameObject(self.gameObject,"bg/tabbox")
self.bg = Util.GetGameObject(self.gameObject,"bg/Bg"):GetComponent("Image")
self.title = Util.GetGameObject(self.gameObject,"bg/title"):GetComponent("Image")
--self.title = Util.GetGameObject(self.gameObject,"bg/title"):GetComponent("Image") --TextTitle
self.title = Util.GetGameObject(self.gameObject,"bg/TextTitle"):GetComponent("Text")
self.btnBack = Util.GetGameObject(self.gameObject,"bg/btnBack")
self.shai = Util.GetGameObject(self.gameObject,"shai")
self.shaiText = Util.GetGameObject(self.shai,"Text"):GetComponent("Text")
@ -150,7 +152,7 @@ end
function TianShuMiJuanMainPanel:OnShow()
self.shaiText.text = status[curShai]
self.bg.sprite = this.spLoader:LoadSprite(tabs[curPage].bg)
self.title.sprite = this.spLoader:LoadSprite(tabs[curPage].zi)
self.title.text = tabs[curPage].tabName--this.spLoader:LoadSprite(tabs[curPage].zi)
data = TianShuMiJuanManger.GetFetterDataByFetterType(curPage)
curData = self:ShaiData()
self:RefreshData()