成长基金领取报错修改,签到报错修改,天赋提示文字

dev_chengFeng
JieLing 2020-09-28 15:41:17 +08:00
parent ee65632939
commit 0fdac5e7d3
3 changed files with 12 additions and 5 deletions

View File

@ -160,11 +160,16 @@ function CumulativeSignInPage:RefreshSignList()
for _, signInfo in ConfigPairs(signInConfigs) do
i = i + 1
local day = i
Util.AddOnceClick(Util.GetGameObject(self.signInList[i], "receiveBtn"), function()
Util.AddOnceClick(Util.GetGameObject(self.signInList[day], "receiveBtn"), function()
self:OnSignInClicked(signInfo.Id, day)
end)
self.signInRewardList[i]:OnOpen(false, signInfo.reward,1,false,false,false,sortingOrder)
self.signInList[i]:SetActive(true)
self.signInRewardList[day]:OnOpen(false, signInfo.reward,1,false,false,false,sortingOrder)
if isPlayShow then
self.signInList[day]:SetActive(false)
else
self.signInList[day]:SetActive(true)
end
table.insert(prefab,self.signInList[day])
end
local dayIndexEnd

View File

@ -43,7 +43,7 @@ function GrowthGiftTaskItem:OnSortingOrderChange(cursortingOrder)
end
function GrowthGiftTaskItem:SetValue()
local activityInfo = ActivityGiftManager.GetActivityInfo(GrowthRewardId, self.context.Id)--获取活动数据 self.context.Id
local goods = OperatingManager.GetGiftGoodsInfo(GoodsTypeDef.GrowthReward, GlobalActivity[GrowthRewardId].CanBuyRechargeId)--判断当前礼包是否已投资
local goods = OperatingManager.GetGiftGoodsInfo(GoodsTypeDef.GrowthReward, GlobalActivity[GrowthRewardId].CanBuyRechargeId[1])--判断当前礼包是否已投资
if activityInfo then
self.state = activityInfo.state
@ -81,7 +81,7 @@ end
function GrowthGiftTaskItem:OnBtnDealClicked()
local openStatus = ActivityGiftManager.GetActivityOpenStatus(ActivityTypeDef.GrowthReward)
local goods = OperatingManager.GetGiftGoodsInfo(GoodsTypeDef.GrowthReward, GlobalActivity[GrowthRewardId].CanBuyRechargeId)
local goods = OperatingManager.GetGiftGoodsInfo(GoodsTypeDef.GrowthReward, GlobalActivity[GrowthRewardId].CanBuyRechargeId[1])
if not openStatus or (goods and goods.buyTimes < 1) then
PopupTipPanel.ShowTip(Language[11474])
return

View File

@ -1096,6 +1096,7 @@ function RoleInfoPanel:OnClickBtnInfo()
--Log("情 报 情 报 情 报")
RoleInfoPanel.HideAllLayout()
this.roleInfoLayout:SetActive(true)
this.talentTipStrGo:SetActive(false)
RoleInfoPanel:SetSelectBtn(self.btnInfo, Language[11836])
end
--进阶按钮点击
@ -1106,6 +1107,7 @@ function RoleInfoPanel:OnClickBtnUpStar()
end
RoleInfoPanel.HideAllLayout()
this.roleUpStarLayout:SetActive(true)
this.talentTipStrGo:SetActive(true)
RoleInfoPanel:SetSelectBtn(self.btnUpStar, Language[11845])
end
--跳转直接到进阶界面