This commit is contained in:
puxuan 2025-10-20 21:20:31 +08:00
parent 4c0e0c1921
commit a887f8d4c7
5 changed files with 78 additions and 78 deletions

View File

@ -326,7 +326,7 @@ function BattleBaseUI:initSpeedBtn()
params.boxType = GConst.MESSAGE_BOX_TYPE.MB_OK_CANCEL
params.okText = I18N:getGlobalText(I18N.GlobalConst.EQUIP_DESC_21)
params.okFunc = function()
ModuleManager.MonthlyCardManager:showMainUI()
ModuleManager.PrivilegeCardManager:showPrivilegeUI()
end
GFunc.showMessageBox(params)
return

View File

@ -21,7 +21,7 @@ end
function FundChapterCell:refresh(id, isLast)
-- 刷新进度
local helf = self:getBaseObject():getSizeDeltaY() / 2 + 10
local helf = self:getBaseObject():getSizeDeltaY() / 2
if self:getIndex() == 1 then
self.progNode:setAnchoredPositionY(-helf / 2)
self.progNode:setSizeDeltaY(helf)

View File

@ -15,8 +15,8 @@ function FundLevelCell:init()
table.insert(self.proRewardCells, uiMap["fund_level_cell.rewards_pro.reward_cell_" .. i]:addLuaComponent(GConst.TYPEOF_LUA_CLASS.REWARD_CELL))
end
self.colorLight = BF.Color(0.6235294, 0.3137255, 0.1764706, 1)
self.colorGray = BF.Color(0.3568628, 0.3568628, 0.3568628, 1)
-- self.colorLight = BF.Color(0.6235294, 0.3137255, 0.1764706, 1)
-- self.colorGray = BF.Color(0.3568628, 0.3568628, 0.3568628, 1)
end
function FundLevelCell:refresh(id, isLast)
@ -39,11 +39,11 @@ function FundLevelCell:refresh(id, isLast)
self.imgProg.value = value
self.txLv:setText(needLevel)
if value == 1 then
self.txLv:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO).color = self.colorLight
else
self.txLv:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO).color = self.colorGray
end
-- if value == 1 then
-- self.txLv:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO).color = self.colorLight
-- else
-- self.txLv:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO).color = self.colorGray
-- end
local freeRewards = DataManager.FundLevelData:getFreeRewards(id)
local freeReceived = DataManager.FundLevelData:getFreeGot(id)

View File

@ -173,7 +173,7 @@ function FundChapterComp:refreshStageTags()
if stage then
tag:setActive(true)
local isSelect = self.curStage == stage
self.tagImgs[i]:setSprite(GConst.ATLAS_PATH.COMMON, isSelect and "common_menu_4" or "common_menu_5")
self.tagImgs[i]:setSprite(GConst.ATLAS_PATH.COMMON, isSelect and "common_menu_3" or "common_menu_4")
self.tagImgs[i]:setAnchoredPositionY(isSelect and 5 or 0)
self.tagDescs[i]:setText(I18N:getGlobalText(I18N.GlobalConst["FUND_CHAPTER_TAG_DESC_" .. stage]))

View File

@ -194,7 +194,7 @@ function FundLevelComp:refreshStageTags()
if stage then
tag:setActive(true)
local isSelect = self.curStage == stage
self.tagImgs[i]:setSprite(GConst.ATLAS_PATH.COMMON, isSelect and "common_menu_4" or "common_menu_5")
self.tagImgs[i]:setSprite(GConst.ATLAS_PATH.COMMON, isSelect and "common_menu_3" or "common_menu_4")
self.tagImgs[i]:setAnchoredPositionY(isSelect and 5 or 0)
self.tagDescs[i]:setText(I18N:getGlobalText(I18N.GlobalConst["FUND_TAG_DESC_" .. stage]))