TCX_dev_zeroFive_online
parent
875d62c4dc
commit
8ec1fd986d
|
@ -1155,7 +1155,9 @@ function this.SetRightBarSize()
|
||||||
end
|
end
|
||||||
|
|
||||||
function this:TabBtnAction(id,actType,data)
|
function this:TabBtnAction(id,actType,data)
|
||||||
|
LogError("======================"..actType)
|
||||||
if actType == 1 then
|
if actType == 1 then
|
||||||
|
LogError("======================"..id)
|
||||||
if id == ActivityTypeDef.FirstRecharge then
|
if id == ActivityTypeDef.FirstRecharge then
|
||||||
UIManager.OpenPanel(UIName.FirstRechargePanel)
|
UIManager.OpenPanel(UIName.FirstRechargePanel)
|
||||||
elseif id == ActivityTypeDef.SevenDayCarnival then
|
elseif id == ActivityTypeDef.SevenDayCarnival then
|
||||||
|
@ -1260,6 +1262,7 @@ function this:TabBtnAction(id,actType,data)
|
||||||
|
|
||||||
end
|
end
|
||||||
elseif actType == 2 then
|
elseif actType == 2 then
|
||||||
|
LogError("======================"..id)
|
||||||
if id == FUNCTION_OPEN_TYPE.SERVER_START_GIFT then
|
if id == FUNCTION_OPEN_TYPE.SERVER_START_GIFT then
|
||||||
UIManager.OpenPanel(UIName.CourtesyDressPanel)
|
UIManager.OpenPanel(UIName.CourtesyDressPanel)
|
||||||
elseif id == 36 then
|
elseif id == 36 then
|
||||||
|
@ -1267,6 +1270,7 @@ function this:TabBtnAction(id,actType,data)
|
||||||
elseif id == FUNCTION_OPEN_TYPE.EXPERT then
|
elseif id == FUNCTION_OPEN_TYPE.EXPERT then
|
||||||
-- UIManager.OpenPanel(UIName.ExpertPanel)
|
-- UIManager.OpenPanel(UIName.ExpertPanel)
|
||||||
UIManager.OpenPanel(UIName.ActivityMainPanel,id)
|
UIManager.OpenPanel(UIName.ActivityMainPanel,id)
|
||||||
|
|
||||||
elseif id == 40 then
|
elseif id == 40 then
|
||||||
UIManager.OpenPanel(UIName.ActivityMainPanel,id)
|
UIManager.OpenPanel(UIName.ActivityMainPanel,id)
|
||||||
elseif id == FUNCTION_OPEN_TYPE.LUCKYTURN then
|
elseif id == FUNCTION_OPEN_TYPE.LUCKYTURN then
|
||||||
|
@ -1286,7 +1290,9 @@ function this:TabBtnAction(id,actType,data)
|
||||||
elseif id==92 then --每日礼包
|
elseif id==92 then --每日礼包
|
||||||
JumpManager.GoJump(36001)
|
JumpManager.GoJump(36001)
|
||||||
end
|
end
|
||||||
else
|
elseif id == ActivityTypeDef.Maiduan then
|
||||||
|
JumpManager.GoJump(40083)
|
||||||
|
--this.ScenceBtnClick(FUNCTION_OPEN_TYPE.SHOP)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1568,7 +1574,7 @@ function this.TimeFormat()
|
||||||
activityTabs[k].timeText.text = TimeToHMS(time)
|
activityTabs[k].timeText.text = TimeToHMS(time)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
showTab = false
|
showTab = false
|
||||||
end
|
end
|
||||||
elseif v.ActId == 667 then
|
elseif v.ActId == 667 then
|
||||||
local limitSkinGift = OperatingManager.GetTimeLimitSkinInfoList()
|
local limitSkinGift = OperatingManager.GetTimeLimitSkinInfoList()
|
||||||
|
@ -1602,6 +1608,8 @@ function this.TimeFormat()
|
||||||
else
|
else
|
||||||
showTab = false
|
showTab = false
|
||||||
end
|
end
|
||||||
|
elseif v.ActId == ActivityTypeDef.Maiduan then
|
||||||
|
showTab = true
|
||||||
elseif v.ActId == 9701 then
|
elseif v.ActId == 9701 then
|
||||||
local ActData = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.PowerRice)
|
local ActData = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.PowerRice)
|
||||||
if ActData then
|
if ActData then
|
||||||
|
|
|
@ -36,6 +36,9 @@ local _ShopPage = {
|
||||||
[SHOP_PAGE.YUANSHEN] = { -- 元神
|
[SHOP_PAGE.YUANSHEN] = { -- 元神
|
||||||
default = "r_shop_yuanshen_01_zh", lock = "r_shop_yuanshen_01_zh", select = "r_shop_yuanshen_02_zh",
|
default = "r_shop_yuanshen_01_zh", lock = "r_shop_yuanshen_01_zh", select = "r_shop_yuanshen_02_zh",
|
||||||
},
|
},
|
||||||
|
[SHOP_PAGE.MAIDUAN] = { -- 元神
|
||||||
|
default = "md_anniu_01_zh", lock = "md_anniu_01_zh", select = "md_anniu_02_zh",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
this._MainShopPageList = {}
|
this._MainShopPageList = {}
|
||||||
|
|
Loading…
Reference in New Issue