英文文案调整

This commit is contained in:
lishuo committed 2021-07-28 21:11:46 +08:00
1 parent 7d0a4fbd97
commit 09f72d10bd
4 files changed
+15 -9

No files matched your search

@@ -39,10 +39,13 @@ namespace Assets.Scenes.Ride.Scripts
CompetitionDesc = panel.transform.Find("CompetitionDesc").GetComponent<RawImage>();
SponsorLogoImage = panel.transform.Find("SponsorTitle/Sponsor").GetComponent<RawImage>();
cyclingController.SetUIManager(mainPanel, modelPanel);
}
protected override void Start()
{
base.Start();
Watch.GetComponent<Button>().enabled = false;
Watch.GetComponent<Button>().interactable = false;
}
MapCompetition competition { get; set; }
protected override void Update()
@@ -87,6 +90,9 @@ namespace Assets.Scenes.Ride.Scripts
{
CompetitionStatus.text = competition.StatusVlaue.ToString();
}
Watch.GetComponent<Button>().enabled = process>=100;
Watch.GetComponent<Button>().interactable = process >= 100;
}
#endregion
}
@@ -161,7 +167,7 @@ namespace Assets.Scenes.Ride.Scripts
//路书描述
mapDescText.text = competition.Dec;
ReadMore.SetActive(!string.IsNullOrEmpty(competition.Dec));
ReadMore.SetActive(!string.IsNullOrEmpty(competition.CompetitionPreviewUrl));
//主办方logo
if (!string.IsNullOrEmpty(competition.SponsorCoverage))
{
@@ -265,7 +271,7 @@ namespace Assets.Scenes.Ride.Scripts
}
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;
var rrr = s.ApplyMapCompetition(cyclingController.competitionId);
@@ -291,7 +297,7 @@ namespace Assets.Scenes.Ride.Scripts
{
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;
var data = api.CancelMapCompetition(cyclingController.competition.Id);