0107修改

This commit is contained in:
Caiyanpeng committed 2022-01-07 22:46:35 +08:00
1 parent e5067228b2
commit 7431228d2f
10 files changed
+367 -63

No files matched your search

@@ -91,6 +91,15 @@ public class MapListController : PFUIPanel
{
CloseFilter();
});
UIManager.AddEvent(transform.Find("Upload").gameObject, EventTriggerType.PointerClick, b =>
{
UIManager.ShowConfirm(App.GetLocalLanguage()=="zh"?"上传线路":"Upload Route",
App.GetLocalLanguage() == "zh"? @"复制www.powerfun.com至电脑端登录后点击""上传活动""按钮上传你的.fit或者.gpx文件": @"Copy www.powerfun.com to the computer and log in and click the ""Upload Activity"" button to upload your .fit or .gpx file", () =>
{
UnityEngine.GUIUtility.systemCopyBuffer = "http://www.powerfun.com";
UIManager.CloseConfirm();
});
});
map = Resources.Load<GameObject>("UI/Prefab/MapList/MapItem-Mobile");
Debug.Log(98);
var nav = transform.Find("Tmp/MainNav-mobile").GetComponent<NewMainNav>();
@@ -499,6 +508,8 @@ public class MapListController : PFUIPanel
}
#if UNITY_STANDALONE_WIN
btnMapMode.SetActive(App.CurrentRouteType == "My Upload");
#else
transform.Find("Upload").gameObject.SetActive(App.CurrentRouteType == "My Upload");
#endif
topContainer.Find("FavContainer").gameObject.SetActive(App.CurrentRouteType != "My Collection");
}