推荐api&骑行结果日期格式已经跳转到记录
This commit is contained in:
1 parent
14e9e8e23b
commit
16a89b07b8
6 files changed
+431
-374
No files matched your search
@@ -342,6 +342,9 @@ public class MainController : BaseScene
|
||||
if (App.MainSceneParam["Name"] == "UserInfoPanel")
|
||||
{
|
||||
UIManager.ShowUserInfoPanel();
|
||||
#if UNITY_ANDROID || UNITY_IOS
|
||||
UIManager.ShowResultListPanel();
|
||||
#endif
|
||||
}
|
||||
|
||||
if (App.MainSceneParam["Name"] == "RaceHomePanel")
|
||||
|
||||
@@ -133,8 +133,12 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
public void SetDataSource(RecorderDataModel record)
|
||||
{
|
||||
var route = record.CurrentRoute.RouteInstance;
|
||||
#if UNITY_ANDROID || UNITY_IOS
|
||||
//绑定路书信息
|
||||
date.text = record.StartTime.ToShortDateString();
|
||||
date.text = record.StartTime.ToString("yyyy-MM-dd");
|
||||
#else
|
||||
date.text = record.StartTime.ToShortDateString("yyyy-MM-dd");
|
||||
#endif
|
||||
time.text = record.StartTime.ToShortTimeString();
|
||||
level.text = route.Hard;
|
||||
mapName.text = route.Name;
|
||||
|
||||
Reference in new issue
Block a user