bug修复
parent
de441aa61d
commit
c2024a15cb
|
@ -7,11 +7,11 @@ this._CurPageIndex =1
|
|||
local _PageInfo = {--后期可以做成tableInsert,icon名字都去读表
|
||||
[1] = { --限时召唤
|
||||
default = "x_xianshizaohuan_02", lock = "x_xianshizaohuan_02", select = "x_xianshizaohuan_01",
|
||||
rpType = RedPointType.TimeLimited,
|
||||
rpType = RedPointType.TimeLimited,panelType = PanelType.TimelimitCall,
|
||||
},
|
||||
[2] = { --乾坤宝盒
|
||||
default = "q_qiankun_baoheanniu_02", lock = "q_qiankun_baoheanniu_02", select = "q_qiankun_baoheanniu_01",
|
||||
rpType = RedPointType.QianKunBox,
|
||||
rpType = RedPointType.QianKunBox,panelType = PanelType.QianKunBox,
|
||||
},
|
||||
}
|
||||
local TimeLimitedCall = require("Modules/Operating/TimeLimitedCall")
|
||||
|
@ -104,6 +104,7 @@ function this.OnPageTabChange(index, lastIndex)
|
|||
end
|
||||
this.PageList[index]:OnShow(this.sortingOrder, _PageInfo[index].params and unpack(_PageInfo[index].params) or nil)
|
||||
this.PageList[index].gameObject:SetActive(true)
|
||||
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = _PageInfo[index].panelType })
|
||||
end
|
||||
|
||||
-- 绑定数据
|
||||
|
|
|
@ -36,6 +36,7 @@ function TimeLimitedCall:InitComponent(gameObject)
|
|||
self.helpPosition=self.helpBtn:GetComponent("RectTransform").localPosition
|
||||
self.activityBtn = Util.GetGameObject(self.gameObject,"btngroup/activity")
|
||||
self.rewardBtn = Util.GetGameObject(self.gameObject,"btngroup/reward")
|
||||
self.rewardBtn:SetActive(false)--(暂时关闭)
|
||||
self.timeupdate=Util.GetGameObject(self.gameObject,"timeupdate"):GetComponent("Text") --剩余时间
|
||||
self.upper=Util.GetGameObject(self.gameObject,"maxtimes/times"):GetComponent("Text") ---召唤上限
|
||||
self.slider = Util.GetGameObject(self.gameObject, "nextlevel/Slider"):GetComponent("Slider")
|
||||
|
|
Loading…
Reference in New Issue