修改细节
This commit is contained in:
1 parent
d8adb8a5b8
commit
3c540dece4
9 files changed
+1028
-990
No files matched your search
@@ -540,26 +540,27 @@ public class LoginController : BaseScene
|
||||
#elif UNITY_IOS
|
||||
var info = rr.data.Value<JObject>("UnityIos");
|
||||
#endif
|
||||
if (info.Value<string>("Version") != App.AppVersion) return;
|
||||
if (Utils.isUpdate(App.AppVersion,info.Value<string>("Version"))) return;
|
||||
}
|
||||
Debug.Log(545);
|
||||
Debug.Log(notifyId);
|
||||
var ver = r.data.Value<JObject>("Version").ToObject<UpdateModel>();
|
||||
if (ver.UpdateLog.Count != notifyId) //ver.UpdateLog.Count != notifyId
|
||||
if (ver.UpdateLog.Count + 1 != notifyId) //ver.UpdateLog.Count != notifyId
|
||||
{
|
||||
var log = ver.UpdateLog.FirstOrDefault();
|
||||
if (log != null)
|
||||
{
|
||||
App.notifyContent = log.Desc;
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
App.notifyContent = r.data.Value<string>("Content");
|
||||
}
|
||||
PlayerPrefs.SetInt("notifyId", ver.UpdateLog.Count);
|
||||
PlayerPrefs.SetInt("notifyId", ver.UpdateLog.Count + 1);
|
||||
UIManager.ShowNewsModal();
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
}
|
||||
GetRotateImage();
|
||||
}
|
||||
|
||||
@@ -1117,7 +1118,9 @@ public class LoginController : BaseScene
|
||||
//wxLogin2.gameObject.SetActive(false);
|
||||
signPage1.Find("next").gameObject.SetActive(false);
|
||||
signPage1.Find("BtnModiPass").gameObject.SetActive(false);
|
||||
#if !(UNITY_ANDROID || UNITY_IOS)
|
||||
signPage1.Find("previousThird").gameObject.SetActive(true);
|
||||
#endif
|
||||
signPage1.Find("signThird").gameObject.SetActive(true);
|
||||
ShowPassword();
|
||||
this.StartScrollPanel(3);
|
||||
|
||||
Reference in new issue
Block a user