diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RewardTalismanSingleShowPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RewardTalismanSingleShowPopup.lua index ac12db6eef..999043f3c7 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RewardTalismanSingleShowPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RewardTalismanSingleShowPopup.lua @@ -1,5 +1,6 @@ require("Base/BasePanel") RewardTalismanSingleShowPopup = Inherit(BasePanel) +local jewelConfig = ConfigManager.GetConfig(ConfigName.JewelConfig) local type local dId local sId @@ -24,10 +25,12 @@ function RewardTalismanSingleShowPopup:InitComponent() self.refineLv=Util.GetGameObject(self.transform, "Content/bg/armorInfo/refineLv"):GetComponent("Text") self.curMainProscroll=Util.GetGameObject(self.transform, "Content/mainProScroll") + self.curMainProText=Util.GetGameObject(self.transform, "Content/mainProScroll/Text"):GetComponent("Text") self.curMainProGrid=Util.GetGameObject(self.transform, "Content/mainProScroll/proGrid") self.curotherProscroll=Util.GetGameObject(self.transform, "Content/otherProScroll") self.otherProPre=Util.GetGameObject(self.transform, "Content/proPre") self.otherProGrid=Util.GetGameObject(self.transform, "Content/otherProScroll/proGrid") + self.otherProText=Util.GetGameObject(self.transform, "Content/otherProScroll/Text"):GetComponent("Text") self.curCastInfo=Util.GetGameObject(self.transform, "Content/skillObject/skillInfo"):GetComponent("Text") self.castInfoObject=Util.GetGameObject(self.transform, "Content/skillObject") self.castInfoObject:SetActive(false) @@ -219,6 +222,10 @@ function RewardTalismanSingleShowPopup:OnShowPanelData() if self.jumpViewList and #self.jumpViewList then self.getTuGrid:GetComponent("RectTransform").sizeDelta = Vector2.New(911.56,self.equipProGridCom.spacing*(#self.jumpViewList)) end + + local data = jewelConfig[sId] + self.curMainProText.text = string.format("基础属性 [强化等级:%s/%s]",lv,data.Max[1]) + self.otherProText.text = string.format("基础属性 [精炼等级:%s/%s]",refineLv,data.Max[2]) end --道具 和 装备分解 发送请求后 回调 function RewardTalismanSingleShowPopup:SendBackResolveReCallBack(drop)