英文文案调整
This commit is contained in:
parent
7d0a4fbd97
commit
09f72d10bd
@ -951,7 +951,7 @@ MonoBehaviour:
|
|||||||
m_HorizontalOverflow: 0
|
m_HorizontalOverflow: 0
|
||||||
m_VerticalOverflow: 0
|
m_VerticalOverflow: 0
|
||||||
m_LineSpacing: 1
|
m_LineSpacing: 1
|
||||||
m_Text: Cancel Reserve
|
m_Text: Cancel Reservation
|
||||||
--- !u!1 &3158444263648747324
|
--- !u!1 &3158444263648747324
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -1830,7 +1830,7 @@ MonoBehaviour:
|
|||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
mType: 0
|
mType: 0
|
||||||
Tooltips: Cancel Apply
|
Tooltips: Cancel Reservation
|
||||||
--- !u!1 &4760618918347444675
|
--- !u!1 &4760618918347444675
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
@ -39,10 +39,13 @@ namespace Assets.Scenes.Ride.Scripts
|
|||||||
CompetitionDesc = panel.transform.Find("CompetitionDesc").GetComponent<RawImage>();
|
CompetitionDesc = panel.transform.Find("CompetitionDesc").GetComponent<RawImage>();
|
||||||
SponsorLogoImage = panel.transform.Find("SponsorTitle/Sponsor").GetComponent<RawImage>();
|
SponsorLogoImage = panel.transform.Find("SponsorTitle/Sponsor").GetComponent<RawImage>();
|
||||||
cyclingController.SetUIManager(mainPanel, modelPanel);
|
cyclingController.SetUIManager(mainPanel, modelPanel);
|
||||||
|
|
||||||
}
|
}
|
||||||
protected override void Start()
|
protected override void Start()
|
||||||
{
|
{
|
||||||
base.Start();
|
base.Start();
|
||||||
|
Watch.GetComponent<Button>().enabled = false;
|
||||||
|
Watch.GetComponent<Button>().interactable = false;
|
||||||
}
|
}
|
||||||
MapCompetition competition { get; set; }
|
MapCompetition competition { get; set; }
|
||||||
protected override void Update()
|
protected override void Update()
|
||||||
@ -87,6 +90,9 @@ namespace Assets.Scenes.Ride.Scripts
|
|||||||
{
|
{
|
||||||
CompetitionStatus.text = competition.StatusVlaue.ToString();
|
CompetitionStatus.text = competition.StatusVlaue.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Watch.GetComponent<Button>().enabled = process>=100;
|
||||||
|
Watch.GetComponent<Button>().interactable = process >= 100;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
@ -161,7 +167,7 @@ namespace Assets.Scenes.Ride.Scripts
|
|||||||
//路书描述
|
//路书描述
|
||||||
mapDescText.text = competition.Dec;
|
mapDescText.text = competition.Dec;
|
||||||
|
|
||||||
ReadMore.SetActive(!string.IsNullOrEmpty(competition.Dec));
|
ReadMore.SetActive(!string.IsNullOrEmpty(competition.CompetitionPreviewUrl));
|
||||||
//主办方logo
|
//主办方logo
|
||||||
if (!string.IsNullOrEmpty(competition.SponsorCoverage))
|
if (!string.IsNullOrEmpty(competition.SponsorCoverage))
|
||||||
{
|
{
|
||||||
@ -265,7 +271,7 @@ namespace Assets.Scenes.Ride.Scripts
|
|||||||
}
|
}
|
||||||
protected void ApplyRace(BaseEventData baseEvent)
|
protected void ApplyRace(BaseEventData baseEvent)
|
||||||
{
|
{
|
||||||
UIManager.ShowConfirm("Apply", "Are your want to Apply this race?", async () =>
|
UIManager.ShowConfirm("Join", "you want to join?", async () =>
|
||||||
{
|
{
|
||||||
MapCompetitionApi s = ConfigHelper.mapCompetitionApi;
|
MapCompetitionApi s = ConfigHelper.mapCompetitionApi;
|
||||||
var rrr = s.ApplyMapCompetition(cyclingController.competitionId);
|
var rrr = s.ApplyMapCompetition(cyclingController.competitionId);
|
||||||
@ -291,7 +297,7 @@ namespace Assets.Scenes.Ride.Scripts
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
UIManager.ShowConfirm("Canel Application", "Are you want to cancel this application?", async () =>
|
UIManager.ShowConfirm("Canel Reservation", "you want to cancel reservation?", async () =>
|
||||||
{
|
{
|
||||||
MapCompetitionApi api = ConfigHelper.mapCompetitionApi;
|
MapCompetitionApi api = ConfigHelper.mapCompetitionApi;
|
||||||
var data = api.CancelMapCompetition(cyclingController.competition.Id);
|
var data = api.CancelMapCompetition(cyclingController.competition.Id);
|
||||||
|
|||||||
@ -35,7 +35,7 @@ public class RaceButtonGroupScript : MonoBehaviour
|
|||||||
}
|
}
|
||||||
void GoJoin()
|
void GoJoin()
|
||||||
{
|
{
|
||||||
UIManager.ShowConfirm("Apply", "Are you wanting to apply?", () =>
|
UIManager.ShowConfirm("Join", "you want to join?", () =>
|
||||||
{
|
{
|
||||||
if (!map.HasJoin)
|
if (!map.HasJoin)
|
||||||
{
|
{
|
||||||
@ -54,7 +54,7 @@ public class RaceButtonGroupScript : MonoBehaviour
|
|||||||
}
|
}
|
||||||
void GoCancel()
|
void GoCancel()
|
||||||
{
|
{
|
||||||
UIManager.ShowConfirm("Cancel application", "Are you wanting to cancel the application?", () =>
|
UIManager.ShowConfirm("Cancel Reservation", "you want to cancel reservation?", () =>
|
||||||
{
|
{
|
||||||
if (map.HasJoin)
|
if (map.HasJoin)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -241,7 +241,7 @@ public class RaceItemScript : MonoBehaviour, IPointerExitHandler, IPointerEnterH
|
|||||||
{
|
{
|
||||||
Initial(res1.data, null);
|
Initial(res1.data, null);
|
||||||
}
|
}
|
||||||
Utils.showToast(null, "Successful application!", type: 1);
|
Utils.showToast(null, "success", type: 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -264,7 +264,7 @@ public class RaceItemScript : MonoBehaviour, IPointerExitHandler, IPointerEnterH
|
|||||||
{
|
{
|
||||||
Initial(res1.data, null);
|
Initial(res1.data, null);
|
||||||
}
|
}
|
||||||
Utils.showToast(null, "Successful cancellation application!", type: 1);
|
Utils.showToast(null, "success", type: 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user