Merge branch 'master_xma_local' of http://60.1.1.230/gaoxin/JL_Client into master_xma_local

dev_chengFeng
ZhangBiao 2020-11-09 15:29:42 +08:00
commit dca4f2511a
2 changed files with 10 additions and 2 deletions

View File

@ -104,7 +104,11 @@ function ShengYiTianJiang:OnShowData()
end
rechargeData = OperatingManager.GetGiftGoodsInfo(GoodsTypeDef.DirectPurchaseGift, rechargeConfigId)
this.buytimes.text = "剩余次数:"..(rechargeData.dynamicBuyTimes - rechargeData.buyTimes)
if rechargeData then
this.buytimes.text = "剩余次数:"..(rechargeData.dynamicBuyTimes - rechargeData.buyTimes)
else
LogGreen("找不到数据了:"..rechargeConfigId)
end
end
function ShengYiTianJiang:SetTime()

View File

@ -14,7 +14,11 @@ this.luckyluckyTurnTableRemainTime = 0
--打开逍遥游地图列表界面
function this.OpenMapList()
this.GetOpenMapData(function(_data)
this.GetOpenMapData(function(_data)
local XiaoYaoMapPanel = UIManager.GetOpenPanel(UIName.XiaoYaoMapPanel)
if XiaoYaoMapPanel then
XiaoYaoMapPanel:ClosePanel()
end
UIManager.OpenPanel(UIName.XiaoYaoYouPanel,_data)
end)
end