寻宝激活按钮改为跳到刷冲特权界面
parent
a2d3393829
commit
f298816345
|
|
@ -78,8 +78,9 @@ function FindTreasureMainPanel:BindEvent()
|
||||||
self:ClosePanel()
|
self:ClosePanel()
|
||||||
end)
|
end)
|
||||||
Util.AddClick(self.goBtn, function()
|
Util.AddClick(self.goBtn, function()
|
||||||
DynamicActivityManager.SetSelectIndex(DataType.Shop,{20091,20092})
|
--DynamicActivityManager.SetSelectIndex(DataType.Shop,{20091,20092})
|
||||||
JumpManager.GoJump(MazeTreasureSetting[1].Jump)
|
--JumpManager.GoJump(MazeTreasureSetting[1].Jump)
|
||||||
|
UIManager.OpenPanel(UIName.GMShuaChongTeQuan)
|
||||||
end)
|
end)
|
||||||
Util.AddClick(self.materialImageBg, function()
|
Util.AddClick(self.materialImageBg, function()
|
||||||
UIManager.OpenPanel(UIName.RewardItemSingleShowPopup, FindTreasureManager.materialItemId)
|
UIManager.OpenPanel(UIName.RewardItemSingleShowPopup, FindTreasureManager.materialItemId)
|
||||||
|
|
@ -223,7 +224,7 @@ function FindTreasureMainPanel:OnShowPanelData(isSort,isTop,isAni)
|
||||||
if isSort then
|
if isSort then
|
||||||
self:MissionInfoSort(missionInfo)
|
self:MissionInfoSort(missionInfo)
|
||||||
end
|
end
|
||||||
local isActive =OperatingManager.IsBuyGift(2304)
|
local isActive =OperatingManager.IsBuyGift(2204)
|
||||||
--this.privilegeGo:SetActive(not isActive)
|
--this.privilegeGo:SetActive(not isActive)
|
||||||
if isActive then
|
if isActive then
|
||||||
self.goBtnTxt.text="已激活"
|
self.goBtnTxt.text="已激活"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue