加链接,文件位置
This commit is contained in:
parent
ae3f9d2101
commit
b93fbd2f2e
@ -151,6 +151,7 @@ public class ResultListController : MonoBehaviour
|
||||
{
|
||||
var index = sindex ?? scrollIndex;
|
||||
if (isEnd[index]) return;
|
||||
Debug.Log(sindex);
|
||||
var r = await ConfigHelper.mapInterruptRecordApi.GetMapInterruptRecord(name, pageIndex[index], 20,filterOptionDict[index]);
|
||||
|
||||
if (r.result)
|
||||
|
||||
@ -93,7 +93,12 @@ public class RouteItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandle
|
||||
right.gameObject.SetActive(true);
|
||||
gameObject.GetComponent<Button>().onClick.AddListener(() =>
|
||||
{
|
||||
Application.OpenURL(result.ViewUrl + "?Token=" + App.CurrentUser.cookie);
|
||||
var url = result.ViewUrl + "?Token=" + App.CurrentUser.cookie;
|
||||
if (index == 1)
|
||||
{
|
||||
url += "&raceId="+result.MapCompetitionId;
|
||||
}
|
||||
Application.OpenURL(url);
|
||||
});
|
||||
|
||||
this.index = index;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user