From 905cce09469ad4fe244a7c8858d6436b04f40528 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1545929779@qq.com> Date: Wed, 10 Apr 2024 17:43:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E8=A7=A3=E7=A5=9E=E5=85=B5=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/Popup/View/GeneralPopup_PokemonRestore.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_PokemonRestore.lua b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_PokemonRestore.lua index 816357501f..0ac9965254 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_PokemonRestore.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_PokemonRestore.lua @@ -19,8 +19,7 @@ function this:InitComponent(gameObject) this.cancelBtn=Util.GetGameObject(gameObject,"cancelBtn") this.confirmBtn=Util.GetGameObject(gameObject,"resetBtn") this.getInfoTxt=Util.GetGameObject(gameObject,"Body/Text"):GetComponent("Text") - this.getInfoTxt.text=Language[11574] - Util.GetGameObject(gameObject,"resetBtn/Text"):GetComponent("Text").text=Language[11575] + this.btnInfo=Util.GetGameObject(gameObject,"resetBtn/Text"):GetComponent("Text") --滚动条根节点 this.root = Util.GetGameObject(gameObject, "Root") end @@ -54,9 +53,13 @@ function this:OnShow(_parent,...) if type==1 then this.infoTxt.text=Language[11576] this.titleText.text=Language[11573] + this.btnInfo.text=Language[11575] + this.getInfoTxt.text=Language[11574] else this.infoTxt.text="确认要分解所选的神兵或神兵碎片?" this.titleText.text="确认分解" + this.btnInfo.text="分解" + this.getInfoTxt.text="分解后可获得" end LogError("#args[1]====="..#args[1]) ResetItemView(this.root,this.root.transform,itemList,10,1,sortingOrder,false,args[1])