竞技场宝箱tips
This commit is contained in:
parent
34282dc81b
commit
03ed69d44a
@ -1115,7 +1115,7 @@ local hero = {
|
||||
},
|
||||
["model_id"]="p0027",
|
||||
["icon"]="28",
|
||||
["item_id"]=34002,
|
||||
["item_id"]=34003,
|
||||
["unlock_arena"]=4,
|
||||
["is_show"]=1,
|
||||
["collection_point"]=5,
|
||||
|
||||
@ -446,6 +446,8 @@ local LocalizationGlobalConst =
|
||||
ACT_DESC_10 = "ACT_DESC_10",
|
||||
ACT_DESC_11 = "ACT_DESC_11",
|
||||
ACT_DESC_12 = "ACT_DESC_12",
|
||||
ARENA_DESC_35 = "ARENA_DESC_35",
|
||||
ARENA_DESC_36 = "ARENA_DESC_36",
|
||||
}
|
||||
|
||||
return LocalizationGlobalConst
|
||||
@ -446,6 +446,8 @@ local localization_global =
|
||||
["ACT_DESC_10"] = "完成活动任务获得奖励积分,积分达到一定数量可提升奖励等级领取奖励。付费可解锁更多奖励哦!",
|
||||
["ACT_DESC_11"] = "解锁后提升奖励等级,可额外获得以下奖励:",
|
||||
["ACT_DESC_12"] = "LV",
|
||||
["ARENA_DESC_35"] = "可能出<color=#a014f0>史诗</color>哦~",
|
||||
["ARENA_DESC_36"] = "试试手气",
|
||||
}
|
||||
|
||||
return localization_global
|
||||
@ -48,6 +48,9 @@ function BoxHeroUI:onLoadRootComplete()
|
||||
self.adBtn = self.uiMap["box_hero_ui.bg.ad_btn"]
|
||||
self.adBtnTx = self.uiMap["box_hero_ui.bg.ad_btn.tx_ad"]
|
||||
self.adBtnIcon = self.uiMap["box_hero_ui.bg.ad_btn.img_ad"]
|
||||
-- tag提示
|
||||
self.tag = self.uiMap["box_hero_ui.bg.item_node.item_4.tag"]
|
||||
self.txTag = self.uiMap["box_hero_ui.bg.item_node.item_4.tag.tx_tag"]
|
||||
|
||||
self.itemNodeLayout = self.uiMap["box_hero_ui.bg.item_node"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_HORIZONTAL_OR_VERTICAL_LAYOUT)
|
||||
self.itemNodeList = {}
|
||||
@ -61,7 +64,7 @@ function BoxHeroUI:onLoadRootComplete()
|
||||
table.insert(self.itemHelpList, self.uiMap["box_hero_ui.bg.item_" .. i .. ".help"])
|
||||
end
|
||||
|
||||
self.adBtnTx:setText(I18N:getGlobalText(I18N.GlobalConst.STR_FREE))
|
||||
self.adBtnTx:setText(I18N:getGlobalText(I18N.GlobalConst.ARENA_DESC_36))
|
||||
GFunc.centerImgAndTx(self.adBtnIcon, self.adBtnTx, 5)
|
||||
|
||||
-- 奖励界面打开时 关闭此界面
|
||||
@ -77,6 +80,7 @@ end
|
||||
function BoxHeroUI:onRefresh()
|
||||
self.buyBtn:setActive(false)
|
||||
self.adBtn:setActive(false)
|
||||
self.tag:setActive(false)
|
||||
|
||||
if self.summonType then
|
||||
self:refreshCummonBox()
|
||||
@ -117,6 +121,9 @@ function BoxHeroUI:refreshArenaAdBox()
|
||||
end)
|
||||
end)
|
||||
|
||||
self.tag:setActive(true)
|
||||
self.txTag:setText(I18N:getGlobalText(I18N.GlobalConst.ARENA_DESC_35))
|
||||
|
||||
if self.arenaBoxInfo.isWin then
|
||||
self.titleTx:setText(I18N:getGlobalText(I18N.GlobalConst.ARENA_DESC_33))
|
||||
self.boxImg:setSprite(GConst.ATLAS_PATH.SHOP, "shop_chest_5")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user