diff --git a/lua/app/ui/dungeon_armor/cell/armor_fund_reward_cell.lua b/lua/app/ui/dungeon_armor/cell/armor_fund_reward_cell.lua index 45a50267..49a6c155 100644 --- a/lua/app/ui/dungeon_armor/cell/armor_fund_reward_cell.lua +++ b/lua/app/ui/dungeon_armor/cell/armor_fund_reward_cell.lua @@ -62,7 +62,11 @@ function ArmorFundRewardCell:refresh(id) if not self.armorEntity:isMeetFundReward(self.rewardId) or self.armorEntity:isGotFundReward(self.rewardId) then -- 不满足条件 or 已领取 self.txBtn:setActive(true) - self.txBtn:setText(I18N:getGlobalText(I18N.GlobalConst.BTN_CLAIM)) + if self.armorEntity:isGotFundReward(self.rewardId) then + self.txBtn:setText(I18N:getGlobalText(I18N.GlobalConst.BTN_DONE)) + else + self.txBtn:setText(I18N:getGlobalText(I18N.GlobalConst.BTN_CLAIM)) + end self.btnGet:setTouchEnable(false) self.btnGet:setSprite(GConst.ATLAS_PATH.COMMON, "common_btn_grey_2") self.baseObject:setSprite(GConst.ATLAS_PATH.UI_DUGEON_ARMOR, "dungeon_armor_bg_1")