diff --git a/Wpf_AiSportsMicrospace/Dto/GroupJumpRopeContext.cs b/Wpf_AiSportsMicrospace/Dto/GroupJumpRopeContext.cs index 98dbf52..4c7b8df 100644 --- a/Wpf_AiSportsMicrospace/Dto/GroupJumpRopeContext.cs +++ b/Wpf_AiSportsMicrospace/Dto/GroupJumpRopeContext.cs @@ -20,18 +20,18 @@ namespace Dto public List Sports { get; private set; } public List UseNameList { get; private set; } = new() { - "一号位", "四号位", "二号位", "五号位", "三号位", "六号位" + "游客-A", "游客-B", "游客-C", "游客-D", "游客-E", "游客-F" }; public GroupJumpRopeContext() { CirclePositions = new List<(double XNorm, double YNorm)> { (0.21, 0.88 ), - (0.36, 0.68 ), + (0.36, 0.58 ), (0.50, 0.88), - (0.64, 0.68 ), + (0.64, 0.58 ), (0.78, 0.88), - (0.92, 0.68 ) + (0.92, 0.58 ) }; UserList = new List(); diff --git a/Wpf_AiSportsMicrospace/Dto/MusicJumpRopeContext.cs b/Wpf_AiSportsMicrospace/Dto/MusicJumpRopeContext.cs index 3750c5c..4848e99 100644 --- a/Wpf_AiSportsMicrospace/Dto/MusicJumpRopeContext.cs +++ b/Wpf_AiSportsMicrospace/Dto/MusicJumpRopeContext.cs @@ -18,7 +18,7 @@ namespace Dto public List UserNumberList { get; private set; } public List UserScoreList { get; private set; } public List Sports { get; private set; } - public List UseNameList { get; private set; } = new() { "一号位", "二号位" }; + public List UseNameList { get; private set; } = new() { "蓝方选手", "红方选手" }; public List UserBeatSyncList = new List(); public Dictionary> MusicBeats { get; private set; } = new() @@ -56,7 +56,7 @@ namespace Dto { CirclePositions = new List<(double XNorm, double YNorm)> { - (0.21, 0.88), + (0.78, 0.88), (0.50, 0.88), }; diff --git a/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs b/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs index d054b6c..5d0aec9 100644 --- a/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs +++ b/Wpf_AiSportsMicrospace/Views/JumpRope/MusicJumpRope.xaml.cs @@ -617,7 +617,7 @@ namespace Wpf_AiSportsMicrospace.Views.JumpRope userItem.VerticalAlignment = VerticalAlignment.Top; userItem.HorizontalAlignment = HorizontalAlignment.Left; userItem.ImageState = "1"; - userItem.Margin = new Thickness(centerX + 120, centerY - 700, 0, 0); + userItem.Margin = new Thickness(centerX = index == 0 ? centerX - 1095 : centerX + 290, centerY - 700, 0, 0); // ----------- 创建上方 TextBlock ------------ var textBlock = new TextBlock