parent
6ad174946f
commit
84951b0048
|
|
@ -29,6 +29,7 @@ function RechargeViewNew:InitComponent()
|
|||
-- 显示特权信息
|
||||
--===================成长礼包================
|
||||
self.grow = Util.GetGameObject(self.gameObject,"growPack/Content")
|
||||
self.infoTxt = Util.GetGameObject(self.gameObject,"Text"):GetComponent("Text")
|
||||
self.tip = Util.GetGameObject(self.grow,"Tip"):GetComponent("Text")
|
||||
self.icon = Util.GetGameObject(self.grow,"Icon"):GetComponent("Image")
|
||||
self.name = Util.GetGameObject(self.grow,"Name"):GetComponent("Image")
|
||||
|
|
@ -71,6 +72,13 @@ function RechargeViewNew:OnShow(_sortingOrder)
|
|||
if self.actConfig.ShopData and #self.actConfig.ShopData>0 then
|
||||
showType=self.actConfig.ShopData[1][3]
|
||||
end
|
||||
self.infoTxt.gameObject.transform.localPosition=Vector3.New(0,440,0)
|
||||
if showType==63 then
|
||||
self.infoTxt.gameObject:SetActive(true)
|
||||
self.infoTxt.text="<size=30>购买代金券仅可激活线下返利活动额度,\n使用代金券仅可激活线上返利活动额度</size>"
|
||||
else
|
||||
self.infoTxt.gameObject:SetActive(false)
|
||||
end
|
||||
self.shopView:ShowShop(SHOP_TYPE.SOUL_STONE_SHOP, self.sortingOrder,showType)
|
||||
self:SetGrowGift()
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue