碎片界面标题修改

This commit is contained in:
Fang 2023-07-06 17:06:49 +08:00
parent a53dc6d688
commit eedd7bd918

View File

@ -69,7 +69,7 @@ function HeroFragmentTips:onLoadRootComplete()
end)
uiMap["hero_fragment_tips.title_bg_img.card"]:setSprite(GConst.ATLAS_PATH.ICON_ITEM, cfg.icon)
uiMap["hero_fragment_tips.title_bg_img.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.HERO_CARD_TIPS_DESC))
uiMap["hero_fragment_tips.title_bg_img.title_text"]:setText(I18N:getGlobalText(I18N.GlobalConst["HERO_CARD_DESC_QLT_" .. cfg.qlt]))
uiMap["hero_fragment_tips.title_bg_img.title_text"]:setText(I18N:getText("item", cfg.id, "name"))
uiMap["hero_fragment_tips.title_bg_img.close_btn"]:addClickListener(function()
self:closeUI()
end)