加链接,文件位置
This commit is contained in:
1 parent
ae3f9d2101
commit
b93fbd2f2e
14 files changed
+7
-1
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -151,6 +151,7 @@ public class ResultListController : MonoBehaviour
|
|||||||
{
|
{
|
||||||
var index = sindex ?? scrollIndex;
|
var index = sindex ?? scrollIndex;
|
||||||
if (isEnd[index]) return;
|
if (isEnd[index]) return;
|
||||||
|
Debug.Log(sindex);
|
||||||
var r = await ConfigHelper.mapInterruptRecordApi.GetMapInterruptRecord(name, pageIndex[index], 20,filterOptionDict[index]);
|
var r = await ConfigHelper.mapInterruptRecordApi.GetMapInterruptRecord(name, pageIndex[index], 20,filterOptionDict[index]);
|
||||||
|
|
||||||
if (r.result)
|
if (r.result)
|
||||||
|
|||||||
@@ -93,7 +93,12 @@ public class RouteItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandle
|
|||||||
right.gameObject.SetActive(true);
|
right.gameObject.SetActive(true);
|
||||||
gameObject.GetComponent<Button>().onClick.AddListener(() =>
|
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;
|
this.index = index;
|
||||||
|
|||||||
Reference in new issue
Block a user