修改页签
parent
52b6184e18
commit
08cff7d1bd
File diff suppressed because it is too large
Load Diff
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue