diff --git a/Assets/Resources/UI/Prefab/Panel/Mobile/RaceAlertBandPanel.prefab b/Assets/Resources/UI/Prefab/Panel/Mobile/RaceAlertBandPanel.prefab index 640a5a9d..a019baef 100644 --- a/Assets/Resources/UI/Prefab/Panel/Mobile/RaceAlertBandPanel.prefab +++ b/Assets/Resources/UI/Prefab/Panel/Mobile/RaceAlertBandPanel.prefab @@ -566,7 +566,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -65.95, y: -22} + m_AnchoredPosition: {x: -55.95, y: -22} m_SizeDelta: {x: 28.092041, y: 16} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &8555668976453305956 diff --git a/Assets/Scripts/Scenes/Ride/Competiton/CompetitionLoadingController.cs b/Assets/Scripts/Scenes/Ride/Competiton/CompetitionLoadingController.cs index 39283b0d..20461c5e 100644 --- a/Assets/Scripts/Scenes/Ride/Competiton/CompetitionLoadingController.cs +++ b/Assets/Scripts/Scenes/Ride/Competiton/CompetitionLoadingController.cs @@ -85,7 +85,7 @@ namespace Assets.Scenes.Ride.Scripts //3.开始按钮 rideNow.gameObject.SetActive(_canEnter); //4.详情按钮 - Detail.SetActive(!_canEnter); + Detail.SetActive(!_canEnter && !_canWatch); //5.取消报名按钮 (比赛开始前可以取消报名) CancelJoin.SetActive(_canCancelApply); @@ -98,7 +98,7 @@ namespace Assets.Scenes.Ride.Scripts CompetitionStatus.text = competition.StatusVlaue.ToString(); } - Watch.GetComponent