view all404问题
This commit is contained in:
parent
088ab9a2b8
commit
8a469c3a74
@ -207,7 +207,7 @@
|
|||||||
"Edit": "编辑",
|
"Edit": "编辑",
|
||||||
"Record": "骑行记录",
|
"Record": "骑行记录",
|
||||||
"More": "更多",
|
"More": "更多",
|
||||||
"Remaining Time": "比赛结束倒计时:",
|
"Remaining": "比赛结束倒计时:",
|
||||||
"Close Gate": "关门时间:",
|
"Close Gate": "关门时间:",
|
||||||
"Start Time": "比赛开始时间:",
|
"Start Time": "比赛开始时间:",
|
||||||
"Start for Registration": "报名开始时间",
|
"Start for Registration": "报名开始时间",
|
||||||
@ -504,7 +504,7 @@
|
|||||||
"Edit": "Edit",
|
"Edit": "Edit",
|
||||||
"Record": "Record",
|
"Record": "Record",
|
||||||
"More": "More",
|
"More": "More",
|
||||||
"Remaining Time": "Remaining Time",
|
"Remaining": "Remaining",
|
||||||
"Close Gate": "Close Gate",
|
"Close Gate": "Close Gate",
|
||||||
"Start Time": "Start Time",
|
"Start Time": "Start Time",
|
||||||
"Start for Registration": "Start for Registration",
|
"Start for Registration": "Start for Registration",
|
||||||
|
|||||||
@ -215,10 +215,15 @@ namespace Assets.Scenes.Ride.Scripts
|
|||||||
elevaction.text = Math.Round(route.TotalClimb.GetValueOrDefault(0), 2).ToString() + "M";
|
elevaction.text = Math.Round(route.TotalClimb.GetValueOrDefault(0), 2).ToString() + "M";
|
||||||
//平均破度
|
//平均破度
|
||||||
slope.text = Math.Round(route.AverageGrade, 2).ToString() + "%";
|
slope.text = Math.Round(route.AverageGrade, 2).ToString() + "%";
|
||||||
|
#if UNITY_IOS || UNITY_ANDROID
|
||||||
|
//比赛开始时间
|
||||||
|
StartTime.text = competition.StartTime.ToLocalTime().ToString("yyyy/MM/dd HH:mm:ss");//+" TO "+ competition.EndTime.ToLocalTime().ToString();
|
||||||
|
#else
|
||||||
//比赛开始时间
|
//比赛开始时间
|
||||||
StartTime.text = competition.StartTime.ToLocalTime().ToString();//+" TO "+ competition.EndTime.ToLocalTime().ToString();
|
StartTime.text = competition.StartTime.ToLocalTime().ToString();//+" TO "+ competition.EndTime.ToLocalTime().ToString();
|
||||||
|
#endif
|
||||||
//比赛结束时间
|
//比赛结束时间
|
||||||
// EndTime.text = competition.EndTime.ToLocalTime().ToString();
|
// EndTime.text = competition.EndTime.ToLocalTime().ToString();
|
||||||
//比赛状态
|
//比赛状态
|
||||||
CompetitionStatus.text = competition.StatusVlaue.ToString();
|
CompetitionStatus.text = competition.StatusVlaue.ToString();
|
||||||
//参赛选手
|
//参赛选手
|
||||||
|
|||||||
@ -63,7 +63,7 @@ namespace Assets.Scenes.Ride.Scripts
|
|||||||
{
|
{
|
||||||
//显示倒计时面板信息
|
//显示倒计时面板信息
|
||||||
//ShowCountDown(s.Item1, "remaining");
|
//ShowCountDown(s.Item1, "remaining");
|
||||||
ShowCountDown(s.Item1, App.GetLocalString("Remaining Time"));
|
ShowCountDown(s.Item1, App.GetLocalString("Remaining"));
|
||||||
}
|
}
|
||||||
//显示当前选手骑行时间
|
//显示当前选手骑行时间
|
||||||
//CountTimer.gameObject.SetActive(true);
|
//CountTimer.gameObject.SetActive(true);
|
||||||
|
|||||||
@ -147,7 +147,7 @@ namespace Assets.Scenes.Ride.Scripts
|
|||||||
ViewAll.SetActive(true);
|
ViewAll.SetActive(true);
|
||||||
UIManager.AddEvent(ViewAll, UnityEngine.EventSystems.EventTriggerType.PointerClick, b =>
|
UIManager.AddEvent(ViewAll, UnityEngine.EventSystems.EventTriggerType.PointerClick, b =>
|
||||||
{
|
{
|
||||||
Application.OpenURL($"{App.CurrentUser.WebHost}/Routes/{cyclingController.mapRoute.Id}?Token={App.CurrentUser.cookie}");
|
Application.OpenURL($"{App.CurrentUser.WebHost}Routes/{cyclingController.mapRoute.Id}?Token={App.CurrentUser.cookie}");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
CreateRankingList(list.data.list);
|
CreateRankingList(list.data.list);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user