Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev

dev_chengFeng
jiaoyangna 2021-08-04 15:36:47 +08:00
commit 70ad440eb3
1 changed files with 10 additions and 3 deletions

View File

@ -153,9 +153,16 @@ function PracticeImprint:SetSingleImprint(_go,_imprintId)
Util.AddOnceClick(maskBtn,function ()
--未解锁的不可查看
if not serverData then
PopupTipPanel.ShowTip(string.format("%s解锁",configData.Unlock))
return
if configData.UnlockView then
if configData.UnlockView == 0 then
PopupTipPanel.ShowTip(string.format("暂未开放..."))
return
end
else
if not serverData then
PopupTipPanel.ShowTip(string.format("%s解锁",configData.Unlock))
return
end
end
if serverData then--如果没有解锁 点击查看不能影响后面红点
PlayerPrefs.SetInt(PlayerManager.uid.."Imprint"..configData.Id,1)