【至尊豪礼】提交
parent
c686791e73
commit
c8cd41670b
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
File diff suppressed because it is too large
Load Diff
|
|
@ -1139,6 +1139,8 @@ ActivityTypeDef = {
|
|||
NiuQi = 62,--牛气冲天
|
||||
FuXingGaoZhao = 63,--福星高照
|
||||
FifteenDayGift = 64,--十五日登陆
|
||||
ZhiZunHaoLi6 = 65, --至尊豪礼6元档
|
||||
ZhiZunHaoLi30 = 66, --至尊豪礼30元档
|
||||
|
||||
--主题活动
|
||||
ShengXingYouLi=50,--升星有礼(指定猎妖师进阶)
|
||||
|
|
|
|||
|
|
@ -640,7 +640,7 @@ function this:OnOpen()
|
|||
end
|
||||
|
||||
function this.CreatActivity()
|
||||
for k,v in ipairs(activitys) do
|
||||
for k,v in ipairs(activitys) do
|
||||
if not activityTabs[k] then
|
||||
activityTabs[k] = {}
|
||||
activityTabs[k].go = newObjToParent(this.activityTabPrefab,this.RightUp)
|
||||
|
|
@ -726,6 +726,8 @@ function this:TabBtnAction(id,actType,data)
|
|||
UIManager.OpenPanel(UIName.NiuQiChongTianPanel)
|
||||
elseif id == ActivityTypeDef.FuXingGaoZhao then
|
||||
UIManager.OpenPanel(UIName.FuXingGaoZhaoPanel)
|
||||
elseif id == ActivityTypeDef.ZhiZunHaoLi6 then
|
||||
UIManager.OpenPanel(UIName.ZhiZunHaoLiPanel)
|
||||
end
|
||||
elseif actType == 2 then
|
||||
if id == FUNCTION_OPEN_TYPE.SERVER_START_GIFT then
|
||||
|
|
|
|||
|
|
@ -5,10 +5,18 @@ local sortingOrder = 0
|
|||
|
||||
--初始化组件(用于子类重写)
|
||||
function ZhiZunHaoLiPanel:InitComponent()
|
||||
self.mask = Util.GetGameObject(self.gameObject,"Mask")
|
||||
self.panel = Util.GetGameObject(self.gameObject,"Panel")
|
||||
self.Btns = Util.GetGameObject(self.panel,"BackBtns")
|
||||
sortingOrder = 0
|
||||
end
|
||||
--绑定事件(用于子类重写)
|
||||
function ZhiZunHaoLiPanel:BindEvent()
|
||||
for i = 1, self.Btns.transform.childCount do
|
||||
Util.AddClick(self.Btns.transform:GetChild(i-1).gameObject,function ()
|
||||
self:ClosePanel()
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
--添加事件监听(用于子类重写)
|
||||
|
|
|
|||
Loading…
Reference in New Issue