修改nav;增加消息弹窗
This commit is contained in:
1 parent
2d38b63c91
commit
f5385e31d6
24 files changed
+2061
-1505
No files matched your search
@@ -269,11 +269,16 @@ public class MainController : BaseScene
|
||||
{
|
||||
if (e.routeId > 0)
|
||||
{
|
||||
UIManager.ShowConfirm(App.GetLocalString("RIDE NOW"), App.GetLocalLanguage() == "zh"? $"<color=#fff>是否要加入</color><color=#f93086>{e.routeName}</color><color=#fff>骑行?</color>" :$"<color=#fff>Join</color> <color=#f93086>{e.routeName}</color><color=#fff>?</color>", () =>
|
||||
{
|
||||
App.RouteIdParam = e.routeId;
|
||||
SceneManager.LoadScene("Ride");
|
||||
});
|
||||
var res = ConfigHelper.mapApi.GetById(e.routeId);
|
||||
if (res.result)
|
||||
{
|
||||
UIManager.ShowStartRideModal(res.data);
|
||||
}
|
||||
//UIManager.ShowConfirm(App.GetLocalString("RIDE NOW"), App.GetLocalLanguage() == "zh"? $"<color=#fff>是否要加入</color><color=#f93086>{e.routeName}</color><color=#fff>骑行?</color>" :$"<color=#fff>Join</color> <color=#f93086>{e.routeName}</color><color=#fff>?</color>", () =>
|
||||
// {
|
||||
// App.RouteIdParam = e.routeId;
|
||||
// SceneManager.LoadScene("Ride");
|
||||
// });
|
||||
}
|
||||
//Debug.Log(e.routeId);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user