Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev
commit
70ad440eb3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue