From 852121b5e31a544590e061a1fe8fd4fd2a24f51b Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Thu, 28 Jan 2021 14:00:35 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=8A=BD=E5=8D=A1=E5=8A=A8=E7=94=BB?= =?UTF-8?q?=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Recruit/SingleRecruitPanel.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua b/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua index cad1e5010b..5e7e2fb70c 100644 --- a/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua @@ -184,6 +184,7 @@ function SingleRecruitPanel:OnOpen(...) this.UI_Effect_choukaR:SetActive(false) this.UI_Effect_appear:SetActive(false) this.rolePanel:SetActive(false) + this.jumpBtnGo:SetActive(false) local data={...} heroData=data[1] type=data[2] @@ -194,7 +195,11 @@ function SingleRecruitPanel:OnShow() isFirst=true maxTimesId=lotterySetting[type].MaxTimes --特权上限ID index=0 - this.jumpBtnGo:SetActive(true) + if recruitType[1] == RecruitType.XiangYaoSingle or recruitType[1] == RecruitType.XiangYaoTen then + this.jumpBtnGo:SetActive(false) + else + this.jumpBtnGo:SetActive(true) + end if state==1 then --单抽 if lotterySetting[type].LotteryType == 11 then isFirst=false