diff --git a/lua/app/ui/dungeon_rune/cell/rank_cell.lua b/lua/app/ui/dungeon_rune/cell/rank_cell.lua index 7e45a355..fb17643f 100644 --- a/lua/app/ui/dungeon_rune/cell/rank_cell.lua +++ b/lua/app/ui/dungeon_rune/cell/rank_cell.lua @@ -16,9 +16,13 @@ local RANK_BG = { function RankCell:refresh(index, info) local uiMap = self:getUIMap() if not self.playerHeadCell then - self.playerHeadCell = CellManager:addCellComp(uiMap["act_rank_cell.player_head_cell"], GConst.TYPEOF_LUA_CLASS.PLAYER_HEAD_CELL) + self.playerHeadCell = CellManager:addCellComp(uiMap["rank_reward_cell.bg.player_head_cell"], GConst.TYPEOF_LUA_CLASS.PLAYER_HEAD_CELL) end - uiMap["act_rank_cell.tx_rank"]:setText(index) + local indexStr = index + if index > GConst.DungeonRuneConst.RANK_MAX_NUM then + indexStr = GConst.DungeonRuneConst.RANK_MAX_NUM .. "+" + end + uiMap["act_rank_cell.tx_rank"]:setText(indexStr) local imgRank = uiMap["act_rank_cell.img_rank"] if RANK_ICON[index] then imgRank:setVisible(true)