颜色修改提交
parent
bce0b9b9ff
commit
2e3fdd5e56
|
@ -160,9 +160,9 @@ function TailsmanSoulChipLottery:refreshMagicNum()
|
||||||
self.btnGift:SetActive(isActive)
|
self.btnGift:SetActive(isActive)
|
||||||
|
|
||||||
local d = ConfigManager.GetAllConfigsDataByKey(ConfigName.LotterySpecialConfig,"Type",self.singleRecruit.MergePool)
|
local d = ConfigManager.GetAllConfigsDataByKey(ConfigName.LotterySpecialConfig,"Type",self.singleRecruit.MergePool)
|
||||||
self.updateTimesTip.text = string.format("召唤<color=#%s>%s</color>次必得红色碎片","A55A13",d[1].Count - self.actData.value)
|
self.updateTimesTip.text = string.format("<color=#cbb981>召唤<color=#%s>%s</color>次必得红色碎片</color>","ff850c",d[1].Count - self.actData.value)
|
||||||
local endTime = ActivityGiftManager.GetTaskEndTime(self.actType) - PlayerManager.serverTime
|
local endTime = ActivityGiftManager.GetTaskEndTime(self.actType) - PlayerManager.serverTime
|
||||||
self.updateTimesTip1.text = string.format("活动剩余时间:"..self:TimeToDHMS(endTime))
|
self.updateTimesTip1.text = string.format("<color=#cbb981>活动剩余时间:%s</color>",self:TimeToDHMS(endTime))
|
||||||
local timeDown=CalculateSecondsNowTo_N_OClock(0)
|
local timeDown=CalculateSecondsNowTo_N_OClock(0)
|
||||||
self.timer = Timer.New(function()
|
self.timer = Timer.New(function()
|
||||||
if timeDown < 1 then
|
if timeDown < 1 then
|
||||||
|
@ -177,7 +177,7 @@ function TailsmanSoulChipLottery:refreshMagicNum()
|
||||||
self:OnShow(sortingOrder)
|
self:OnShow(sortingOrder)
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
self.updateTimesTip1.text = string.format("活动剩余时间:"..self:TimeToDHMS(endTime))
|
self.updateTimesTip1.text = string.format("<color=#cbb981>活动剩余时间:%s</color>",self:TimeToDHMS(endTime))
|
||||||
end
|
end
|
||||||
endTime = endTime - 1
|
endTime = endTime - 1
|
||||||
timeDown = timeDown - 1
|
timeDown = timeDown - 1
|
||||||
|
|
Loading…
Reference in New Issue