玲珑商市修改提交
parent
e1abfa42e5
commit
fb82580b37
|
@ -1298,6 +1298,7 @@ ActivityTypeDef = {
|
|||
FifteenDayGiftNotice = 80,--15日登陆预告
|
||||
DynamicActShop = 81,--主题活动商店
|
||||
QiJieTreasure = 83,--七界秘宝
|
||||
linglongshangshi = 20005,
|
||||
}
|
||||
--活动结束需要处理面板关闭类型
|
||||
ActivityTypePanel = {
|
||||
|
@ -2429,6 +2430,7 @@ DirectBuyType = {
|
|||
XIANSHISHANGSHI = 22, --限时商市
|
||||
ZHENQIBAOGE = 23, --珍奇宝阁
|
||||
XINRENSHANGCHENG = 30, --新人商城
|
||||
linglongShagnshi = 40,
|
||||
}
|
||||
--新月卡类型定义
|
||||
MONTH_CARD_TYPE = {
|
||||
|
|
|
@ -130,7 +130,7 @@ function EveryDayGift:OnShow(_sortingOrder)
|
|||
end
|
||||
end
|
||||
|
||||
if self.actType == ActivityTypeDef.DynamicAct_Treasure or self.actType == ActivityTypeDef.DynamicAct_TimeLimitShop then
|
||||
if self.actType == ActivityTypeDef.DynamicAct_Treasure or self.actType == ActivityTypeDef.DynamicAct_TimeLimitShop or self.actType == ActivityTypeDef.linglongshangshi then
|
||||
self.parent.tabbox.gameObject:SetActive(false)
|
||||
else
|
||||
self.parent.tabbox.gameObject:SetActive(true)
|
||||
|
|
|
@ -255,7 +255,7 @@ function GiftPre:SetContent1()
|
|||
|
||||
if self.data.DataType == DataType.Direct and self.data.buyType == DirectBuyType.DAILY_GIFT then--每日礼包
|
||||
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) 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.upLayout.gameObject:SetActive(false)
|
||||
elseif self.data.DataType == DataType.Shop and self.data.buyType == SHOP_TYPE.VIP_GIFT then--特权
|
||||
|
|
Loading…
Reference in New Issue