文字颜色修改提交
parent
ad38176660
commit
9d218ee512
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue