文字颜色修改提交

dev_chengFeng
jiaoyangna 2021-12-10 16:09:28 +08:00
parent ad38176660
commit 9d218ee512
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,6 @@ function RecruitTreasurePanel:BindEvent()
this.PageTabCtrl:SetTabAdapter(this.PageTabAdapter)
this.PageTabCtrl:SetTabIsLockCheck(this.PageTabIsLockCheck)
this.PageTabCtrl:SetChangeTabCallBack(this.OnPageTabChange)
end
function this.PageTabAdapter(tab, index, status)
@ -65,10 +64,11 @@ function this.PageTabAdapter(tab, index, status)
local redpot = Util.GetGameObject(tab, "redpot")
if status == "select" then
select.gameObject:SetActive(true)
tip.text = string.format("<color=#%s>%s</color>","FDF4D6",configs[index].Icon[1])
else
select.gameObject:SetActive(false)
tip.text = string.format("<color=#%s>%s</color>","B5A481",configs[index].Icon[1])
end
tip.text = configs[index].Icon[1]
if redPointTypeList[configs[index].RpType] then
ClearRedPointObject(configs[index].RpType,redPointTypeList[configs[index].RpType])
redPointTypeList[configs[index].RpType] = nil