【礼包】每日礼包 每周礼包 增加礼包名称展示

dev_chengFeng
ZhangBiao 2022-01-06 17:10:50 +08:00
parent b99b633f2a
commit 456501e15a
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ function GiftPre:SetContent1()
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--周月礼包
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--特权
local str = ""..rechargeNum.."/"..self.data.data.shopItemData.BuyRule[2]..Language[11698]
self:SetType1(Language[11377],self.data.data.shopItemData.BuyRule[2],str)