From b15603c7227be693e79f13bcb13409949fc68aeb Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Thu, 25 Feb 2021 10:17:24 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9C=AC=E5=9C=B0=E5=8C=96=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Expert/Expert.lua | 1 + .../ManagedResources/~Lua/Modules/Operating/UppperMonthCard.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/Expert/Expert.lua b/Assets/ManagedResources/~Lua/Modules/Expert/Expert.lua index b69b92967a..6b6527417a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Expert/Expert.lua +++ b/Assets/ManagedResources/~Lua/Modules/Expert/Expert.lua @@ -132,6 +132,7 @@ function Expert:OnShowData(index) this.titleImageExpert2:SetActive(true) this.titleTextExpert2Go:SetActive(true) this.titleTextExpert2:GetComponent("Text").text = ExpertDec[1] + this.titleTextExpert2:GetComponent("Text").fontSize = GetCurLanguage() ~= 2 and 33 or 25 elseif numExChange[activeIndext] == ActivityTypeDef.GoldExper then elseif numExChange[activeIndext] == ActivityTypeDef.FindTreasureExper then this.xunbaoTextImage:SetActive(true) diff --git a/Assets/ManagedResources/~Lua/Modules/Operating/UppperMonthCard.lua b/Assets/ManagedResources/~Lua/Modules/Operating/UppperMonthCard.lua index 6a8ba13864..41e47c416d 100644 --- a/Assets/ManagedResources/~Lua/Modules/Operating/UppperMonthCard.lua +++ b/Assets/ManagedResources/~Lua/Modules/Operating/UppperMonthCard.lua @@ -153,6 +153,7 @@ end --- 设置不同的显示界面 function UpperMonthCard:SetPanelType(type) self.chargeType.sprite = Util.LoadSprite(ImgType[type].moneyTag) + self.chargeType.gameObject:GetComponent("RectTransform").anchoredPosition = GetCurLanguage() ~= 2 and Vector2.New(-30.5,-272.9) or Vector2.New(-30.5,-347) self.valueIcon.sprite = SetIcon(16) self.valueMask = Util.LoadSprite(ImgType[type].valueMask) self.Bg.sprite = Util.LoadSprite(ImgType[type].bg)