From ad182335d9809ecdaeb0dab96ddaf86cb21ed774 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Fri, 10 Sep 2021 19:51:53 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=8E=A8=E9=80=81=E7=A4=BC=E5=8C=85?= =?UTF-8?q?=E3=80=91=E5=90=8D=E7=A7=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/UpGradePackage/UpGradePackagePanel.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/UpGradePackage/UpGradePackagePanel.lua b/Assets/ManagedResources/~Lua/Modules/UpGradePackage/UpGradePackagePanel.lua index 9084829bad..9c14394a20 100644 --- a/Assets/ManagedResources/~Lua/Modules/UpGradePackage/UpGradePackagePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/UpGradePackage/UpGradePackagePanel.lua @@ -23,9 +23,9 @@ local activityType = { [5] = {name = "灵兽推送礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 31,Text = "恭喜您获得极品灵兽,这是为您准备的灵兽成长礼包,助您实力飞升"}, [6] = {name = "惊喜礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 33,Text = "购买惊喜礼盒成功激活限时豪礼,祝您战力飞升,一路通关"}, [7] = {name = "轩辕宝境推送礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 36,Text = "恭喜您挑战了轩辕宝境,这是为您准备的宝物礼包,助您实力飞升"}, -[8] = {name = "神树养成礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 37,Text = "恭喜您完成了宝物精炼,这是为您准备的宝物进阶礼包,助您实力飞升"}, -[9] = {name = "轩辕宝境推送礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 38,Text = "恭喜您挑战了四灵试炼,这是为您准备的神树养成礼包,助您实力飞升"}, -[10] = {name = "神树养成礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 39,Text = "恭喜您获得了红色品质宝物,这是为您准备的红色宝物礼包,助您实力飞升"}, +[8] = {name = "宝物精炼礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 37,Text = "恭喜您完成了宝物精炼,这是为您准备的宝物进阶礼包,助您实力飞升"}, +[9] = {name = "四灵试炼推送礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 38,Text = "恭喜您挑战了四灵试炼,这是为您准备的神树养成礼包,助您实力飞升"}, +[10] = {name = "红色宝物礼包",timePos = Vector3.New(0,-255.6,0),comp = "bg1",showType = 39,Text = "恭喜您获得了红色品质宝物,这是为您准备的红色宝物礼包,助您实力飞升"}, } --初始化组件(用于子类重写) function this:InitComponent() @@ -183,7 +183,7 @@ function this:Refresh() for k,v in pairs(activityType) do Util.GetGameObject(self.gameObject,v.comp):SetActive(false) end - Util.GetGameObject(self.gameObject,activityType[curType].comp):SetActive(true) + Util.GetGameObject(self.gameObject, activityType[curType].comp):SetActive(true) rechargeNum= VipManager.GetChargedNum() curGiftId = rechargeData.goodsId