diff --git a/Assets/ManagedResources/Prefabs/UI/UpGradePackage/UpGradePackagePanel.prefab b/Assets/ManagedResources/Prefabs/UI/UpGradePackage/UpGradePackagePanel.prefab index e2b17714c8..d95d5e3042 100644 --- a/Assets/ManagedResources/Prefabs/UI/UpGradePackage/UpGradePackagePanel.prefab +++ b/Assets/ManagedResources/Prefabs/UI/UpGradePackage/UpGradePackagePanel.prefab @@ -9868,7 +9868,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!224 &2034880781698674022 RectTransform: m_ObjectHideFlags: 0 diff --git a/Assets/ManagedResources/~Lua/Modules/UpGradePackage/UpGradePackagePanel.lua b/Assets/ManagedResources/~Lua/Modules/UpGradePackage/UpGradePackagePanel.lua index 12a653fb29..2cdba8849a 100644 --- a/Assets/ManagedResources/~Lua/Modules/UpGradePackage/UpGradePackagePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/UpGradePackage/UpGradePackagePanel.lua @@ -24,7 +24,8 @@ function this:InitComponent() this.btnBuy = Util.GetGameObject(self.gameObject,"show/Button") this.grid = Util.GetGameObject(self.gameObject,"show/rewards/Grid") this.endTime = Util.GetGameObject(self.gameObject,"show/endTime"):GetComponent("Text") - this.price = Util.GetGameObject(self.gameObject,"show/price/Text1"):GetComponent("Text") + this.price = Util.GetGameObject(self.gameObject,"show/Button/Text"):GetComponent("Text") + this.oriPrice = Util.GetGameObject(self.gameObject,"show/price/Text1"):GetComponent("Text") this.arrowsLeft = Util.GetGameObject(self.gameObject,"show/arrows/left") this.arrowsRight = Util.GetGameObject(self.gameObject,"show/arrows/right") this.UI_effect_DailyRechargePanel_particle = Util.GetGameObject(self.gameObject, "bg1/UI_effect_DailyRechargePanel_particle") @@ -195,8 +196,8 @@ function this:SetGfitShow(rechargeData) _ItemViewList[i].gameObject:SetActive(true) end this.times.text = Language[10535]..rechargeData.dynamicBuyTimes..Language[10054] - this.price.gameObject:SetActive(activityType[curType].price) this.price.text = RechargeConfig[curGiftId].Price..Language[10538] + this.oriPrice.gameObject:SetActive(activityType[curType].price) end --设置剩余时间,取剩余时间最短的礼包