【礼包】每日礼包 每周礼包 增加礼包名称展示
parent
b99b633f2a
commit
456501e15a
|
@ -265,7 +265,7 @@ function GiftPre:SetContent1()
|
||||||
self:SetType2()
|
self:SetType2()
|
||||||
elseif self.data.DataType == DataType.Direct and (self.data.buyType == DirectBuyType.WEEK_GIFT or self.data.buyType == DirectBuyType.MONTH_GIFT or self.data.buyType == DirectBuyType.XIANSHISHANGSHI or self.data.buyType == DirectBuyType.ZHENQIBAOGE or self.data.buyType == DirectBuyType.linglongShagnshi) then--周月礼包
|
elseif self.data.DataType == DataType.Direct and (self.data.buyType == DirectBuyType.WEEK_GIFT or self.data.buyType == DirectBuyType.MONTH_GIFT or self.data.buyType == DirectBuyType.XIANSHISHANGSHI or self.data.buyType == DirectBuyType.ZHENQIBAOGE or self.data.buyType == DirectBuyType.linglongShagnshi) then--周月礼包
|
||||||
self.grid:GetComponent("RectTransform").anchoredPosition = offSetX[1].scroll
|
self.grid:GetComponent("RectTransform").anchoredPosition = offSetX[1].scroll
|
||||||
self.upLayout.gameObject:SetActive(false)
|
-- self.upLayout.gameObject:SetActive(false)
|
||||||
elseif self.data.DataType == DataType.Shop and self.data.buyType == SHOP_TYPE.VIP_GIFT then--特权
|
elseif self.data.DataType == DataType.Shop and self.data.buyType == SHOP_TYPE.VIP_GIFT then--特权
|
||||||
local str = "("..rechargeNum.."/"..self.data.data.shopItemData.BuyRule[2]..Language[11698]
|
local str = "("..rechargeNum.."/"..self.data.data.shopItemData.BuyRule[2]..Language[11698]
|
||||||
self:SetType1(Language[11377],self.data.data.shopItemData.BuyRule[2],str)
|
self:SetType1(Language[11377],self.data.data.shopItemData.BuyRule[2],str)
|
||||||
|
|
Loading…
Reference in New Issue