diff --git a/lua/app/config/localization/localization_global_const.lua b/lua/app/config/localization/localization_global_const.lua index bd7ca331..0f2280b3 100644 --- a/lua/app/config/localization/localization_global_const.lua +++ b/lua/app/config/localization/localization_global_const.lua @@ -936,6 +936,7 @@ local LocalizationGlobalConst = FUNC_OPEN_LEVEL_SEVER = "FUNC_OPEN_LEVEL_SEVER", FUNC_OPEN_STAGE_OR_SEVER = "FUNC_OPEN_STAGE_OR_SEVER", ACT_TURNTABLE_DESC_5 = "ACT_TURNTABLE_DESC_5", + VALUE_DESC = "VALUE_DESC", } return LocalizationGlobalConst \ No newline at end of file diff --git a/lua/app/config/strings/cn/global.lua b/lua/app/config/strings/cn/global.lua index 59c3f956..27216f6c 100644 --- a/lua/app/config/strings/cn/global.lua +++ b/lua/app/config/strings/cn/global.lua @@ -936,6 +936,7 @@ local localization_global = ["FUNC_OPEN_LEVEL_SEVER"] = "等级达到{0}且{1}/{2}天后解锁", ["FUNC_OPEN_STAGE_OR_SEVER"] = "通关章节{0}或{1}/{2}天后解锁", ["ACT_TURNTABLE_DESC_5"] = "跳过动画", + ["VALUE_DESC"] = "超值", } return localization_global \ No newline at end of file diff --git a/lua/app/ui/common/cell/reward_cell.lua b/lua/app/ui/common/cell/reward_cell.lua index 8e36559f..f452e87b 100644 --- a/lua/app/ui/common/cell/reward_cell.lua +++ b/lua/app/ui/common/cell/reward_cell.lua @@ -264,12 +264,4 @@ function RewardCell:showSelect(show) self.select:setActive(show == true) end -function RewardCell:setShowFirstTag(show) - if self.firstNode == nil or self.txfirst == nil then - return - end - self.firstNode:setVisible(show) - self.txfirst:setText(I18N:getGlobalText(I18N.GlobalConst.CHALLENGE_TEAM_7)) -end - return RewardCell \ No newline at end of file diff --git a/lua/app/ui/dungeon/cell/dungeon_gold_cell.lua b/lua/app/ui/dungeon/cell/dungeon_gold_cell.lua index 4ceb9407..1bb215f6 100644 --- a/lua/app/ui/dungeon/cell/dungeon_gold_cell.lua +++ b/lua/app/ui/dungeon/cell/dungeon_gold_cell.lua @@ -123,7 +123,7 @@ function DungeonGoldCell:refresh(index) end) self.scrollRectComp:addRefreshCallback(function(cellIndex, cell) cell:refreshByConfig(self.rewardList[cellIndex], false, false) - cell:setShowFirstTag(cellIndex <= self.firstCount) + cell:showFirstPass(cellIndex <= self.firstCount) end) end diff --git a/lua/app/ui/dungeon/cell/dungeon_material_cell.lua b/lua/app/ui/dungeon/cell/dungeon_material_cell.lua index dd7aa740..725a4ef2 100644 --- a/lua/app/ui/dungeon/cell/dungeon_material_cell.lua +++ b/lua/app/ui/dungeon/cell/dungeon_material_cell.lua @@ -124,7 +124,7 @@ function DungeonMaterialCell:refresh(index) end) self.scrollRectComp:addRefreshCallback(function(cellIndex, cell) cell:refreshByConfig(self.rewardList[cellIndex], false, false) - cell:setShowFirstTag(cellIndex <= self.firstCount) + cell:showFirstPass(cellIndex <= self.firstCount) end) end diff --git a/lua/app/ui/privilege/comp/free_daily_rewards_comp.lua b/lua/app/ui/privilege/comp/free_daily_rewards_comp.lua index 477a5d88..9d8e20f1 100644 --- a/lua/app/ui/privilege/comp/free_daily_rewards_comp.lua +++ b/lua/app/ui/privilege/comp/free_daily_rewards_comp.lua @@ -37,7 +37,7 @@ function FreeDailyRewardsComp:refresh() self.getBtn:setActive(not isClaimed) if not isClaimed then - self.getBtn:addRedPoint(86, 36, 1) + self.getBtn:addRedPoint(70, 30, 1) else self.getBtn:removeRedPoint() end diff --git a/lua/app/ui/privilege/comp/monthly_card_comp.lua b/lua/app/ui/privilege/comp/monthly_card_comp.lua index a203ae34..c7da295a 100644 --- a/lua/app/ui/privilege/comp/monthly_card_comp.lua +++ b/lua/app/ui/privilege/comp/monthly_card_comp.lua @@ -108,7 +108,7 @@ function MonthlyCardComp:refresh() self.rewadCell12:addClickListener(function() ModuleManager.PrivilegeCardManager:getPurchaseCardDailyReward(GConst.ShopConst.PRIVILEGE_CARD_ID.MONTHLY_CARD) end) - self.payBtn:addRedPoint(86, 36, 1) + self.payBtn:addRedPoint(70, 30, 1) end else self.descTx5:setText(I18N:getGlobalText(I18N.GlobalConst.MONTHLY_CARD_13)) diff --git a/lua/app/ui/privilege/privilege_main_ui.lua b/lua/app/ui/privilege/privilege_main_ui.lua index 67427980..7422e0f3 100644 --- a/lua/app/ui/privilege/privilege_main_ui.lua +++ b/lua/app/ui/privilege/privilege_main_ui.lua @@ -8,7 +8,7 @@ function PrivilegeMainUI:onPressBackspace() self:closeUI() end -function PrivilegeMainUI:currencyParams() +function PrivilegeMainUI:getCurrencyParams() local params = {} params.showType = GConst.CURRENCY_TYPE.HORIZONTAL params.itemIds = { @@ -144,7 +144,7 @@ function PrivilegeMainUI:updateFreeDailyRewards(offsetY) end self.freeDailyRewards:setAnchoredPositionY(offsetY) - offsetY = offsetY - 204 + offsetY = offsetY - 250 local cell = self.freeDailyRewards:addLuaComponent(GConst.ShopConst.PRIVILEGE_COMP.FREE_DAILY_REWARDS) cell:refresh() @@ -163,7 +163,7 @@ function PrivilegeMainUI:updateAdCard(offsetY) end self.adCard:setAnchoredPositionY(offsetY) - offsetY = offsetY - 386 + offsetY = offsetY - 440 local cell = self.adCard:addLuaComponent(GConst.ShopConst.PRIVILEGE_COMP.AD_CARD) cell:refresh() @@ -182,7 +182,7 @@ function PrivilegeMainUI:updateMonthlyCard(offsetY) end self.monthlyCard:setAnchoredPositionY(offsetY) - offsetY = offsetY - 456 + offsetY = offsetY - 450 self.monthlyCardComp = self.monthlyCard:addLuaComponent(GConst.ShopConst.PRIVILEGE_COMP.MONTHLY_CARD) self.monthlyCardComp:refresh()