parent
beb5b9902a
commit
baee77bf14
|
|
@ -72,7 +72,7 @@ local _GuildBuildConfig = {
|
|||
end,
|
||||
},
|
||||
[GUILD_MAP_BUILD_TYPE.REDBAG] = { --联盟红包
|
||||
isOpen = true,
|
||||
isOpen = GetChannelConfig().Button_PlayerSet_Exchange,
|
||||
rpType = RedPointType.Guild_RedPacket,
|
||||
btnName = "btnRedBag",
|
||||
btnFunc = function()
|
||||
|
|
|
|||
|
|
@ -26,7 +26,8 @@ function LeadPanel:InitComponent()
|
|||
|
||||
this.normal = Util.GetGameObject(this.gameObject, "Research/normal")--普通
|
||||
this.privilege = Util.GetGameObject(this.gameObject, "Research/privilege")--特权
|
||||
|
||||
local channelConfig = GetChannelConfig()
|
||||
this.privilege:SetActive(channelConfig.Button_PlayerSet_Exchange)
|
||||
this.ordproText = Util.GetGameObject(this.gameObject, "ordproText")--普通
|
||||
this.prigeproText = Util.GetGameObject(this.gameObject, "prigeproText")--特权
|
||||
|
||||
|
|
|
|||
|
|
@ -787,20 +787,22 @@ function GiftView:TimeCountDown()
|
|||
|
||||
if RECHARGEABLE then--(是否开启充值)
|
||||
self.localTimerV2 = Timer.New(function()
|
||||
local t1,t2 = timerList[1].freshTime, timerList[2].freshTime
|
||||
t1 = t1-1
|
||||
t2 = t2-1
|
||||
if t1 < 0 then
|
||||
if timerList[1] and timerList[2] then
|
||||
local t1,t2 = timerList[1].freshTime, timerList[2].freshTime
|
||||
t1 = t1-1
|
||||
t2 = t2-1
|
||||
if t1 < 0 then
|
||||
-- body刷新
|
||||
-- self:RefreshGiftData()
|
||||
end
|
||||
if t2 < 0 then
|
||||
end
|
||||
if t2 < 0 then
|
||||
-- body刷新
|
||||
-- self:RefreshGiftData()
|
||||
end
|
||||
end
|
||||
|
||||
timerList[1].pre.text = GetLanguageStrById(10561) .. self:SpecialTime(t1-GetTimeStamp())
|
||||
timerList[2].pre.text = GetLanguageStrById(10561) .. self:SpecialTime(t2-GetTimeStamp())
|
||||
timerList[1].pre.text = GetLanguageStrById(10561) .. self:SpecialTime(t1-GetTimeStamp())
|
||||
timerList[2].pre.text = GetLanguageStrById(10561) .. self:SpecialTime(t2-GetTimeStamp())
|
||||
end
|
||||
end,1,-1,true)
|
||||
self.localTimerV2:Start()
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue