主题活动图标修改
parent
b260d2d583
commit
fd08211e30
|
@ -649,7 +649,7 @@ function this.CreatActivity()
|
|||
if v.ActiveType > 0 then
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
|
||||
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) and v.ActiveType ~= 42 then
|
||||
local tempConfig = ConfigManager.TryGetConfigDataByThreeKey(ConfigName.ActivityGroups,"ActId",GlobalActConfig[activityId].ShowArt,"PageType",0,"ActiveType:"..v.ActiveType)
|
||||
local tempConfig = ConfigManager.TryGetConfigDataByThreeKey(ConfigName.ActivityGroups,"ActId",GlobalActConfig[activityId].ShowArt,"PageType",0,"ActiveType:",v.ActiveType)
|
||||
if not tempConfig then
|
||||
tempConfig = ConfigManager.TryGetConfigDataByDoubleKey(ConfigName.ActivityGroups,"ActId",activityId,"PageType",0)
|
||||
end
|
||||
|
@ -1147,7 +1147,14 @@ function this.RefreshActivityBtn(context)
|
|||
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) then
|
||||
if v.FunType and v.FunType == 41 then
|
||||
activityTabs[k].go.gameObject:SetActive(DailyRechargeManager.GetDailyRechargeExist())
|
||||
else
|
||||
elseif v.ActiveType == 20000 then
|
||||
local tempConfig = ConfigManager.TryGetConfigDataByThreeKey(ConfigName.ActivityGroups,"ActId",GlobalActConfig[activityId].ShowArt,"PageType",0,"ActiveType:",v.ActiveType)
|
||||
if not tempConfig then
|
||||
tempConfig = ConfigManager.TryGetConfigDataByDoubleKey(ConfigName.ActivityGroups,"ActId",activityId,"PageType",0)
|
||||
end
|
||||
if tempConfig then
|
||||
activityTabs[k].img.sprite = Util.LoadSprite(tempConfig.Icon[1])
|
||||
end
|
||||
activityTabs[k].go.gameObject:SetActive(context.status == 1)
|
||||
end
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue