From a49fbd2183878d72e6091ebe6fb281e3e4911d0b Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Thu, 8 Apr 2021 14:53:36 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=87=AA=E9=80=89=E5=AE=9D=E7=AE=B1?= =?UTF-8?q?=E3=80=91=E6=96=87=E5=AD=97=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit cb5c940e251972835ed3b5d53b6c904dd6902d31) --- .../~Lua/Modules/RewardBox/RewardBoxPanel.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua b/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua index 3ea998ae10..b6f1cddf8f 100644 --- a/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua @@ -27,7 +27,7 @@ function RewardBoxPanel:InitComponent() this.scroll = Util.GetGameObject(this.gameObject,"bg/scroll") this.itemPre = Util.GetGameObject(this.gameObject,"bg/scroll/itemPre2") this.name = Util.GetGameObject(this.gameObject,"bg/bg/name"):GetComponent("Text") - this.tip = Util.GetGameObject(this.gameObject,"bg/topBar/tip") + this.tip = Util.GetGameObject(this.gameObject,"bg/topBar/tip"):GetComponent("Text") this.selectBar = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar") this.selectBtn = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar/di/selectBtn") this.di = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar/di") @@ -130,7 +130,7 @@ end function RewardBoxPanel:RefreshData() this.selectBar:SetActive(#this.rewardGroup ~= 1)--设置顶部属性条 - this.tip:SetActive(BagManager.isBagPanel) + this.tip.text = BagManager.isBagPanel and "请在以下道具中选择一种" or "以下道具中可选择一种" RewardBoxPanel:SetGiftData() RewardBoxPanel:SetBottom() end