2025-10-18 15:14:10 +08:00

81 lines
3.8 KiB
XML

<UserControl x:Class="Wpf_AiSportsMicrospace.Views.JumpRope.MusicJumpRope"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Wpf_AiSportsMicrospace.MyUserControl"
mc:Ignorable="d"
Height="1080" Width="1920" Loaded="UserControl_Loaded" Unloaded="UserControl_Unloaded">
<Grid>
<Grid.Background>
<ImageBrush ImageSource="/Resources/Img/play_img/music_rope/play_bg.png" Stretch="UniformToFill"/>
</Grid.Background>
<Image
Source="/Resources/Img/play_img/music_rope/title.png"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Width="905"
Margin="0,70,0,0"
/>
<Grid Height="1080" Width="1920" x:Name="userBox">
<Canvas x:Name="beatCanvas" />
</Grid>
<Grid Width="220" Height="130" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="00,40,60,0" Visibility="Hidden" x:Name="countdownGrid">
<Border Background="#005fff" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" CornerRadius="30" />
<TextBlock x:Name="countdownText"
Text="60"
FontSize="120"
FontWeight="Bold"
Foreground="#fff"
FontStyle="Italic"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="0,10,0,0"
TextAlignment="Center"
/>
</Grid>
<Grid x:Name="BottomBeatPanel" VerticalAlignment="Bottom" Height="200" Panel.ZIndex="100">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="600"/>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<!-- 左边滚动条 -->
<ScrollViewer x:Name="BeatScrollLeft" Width="660" Height="80"
HorizontalScrollBarVisibility="Hidden"
VerticalScrollBarVisibility="Disabled"
Grid.Column="0">
<Canvas x:Name="beatCanvasLeft" Height="100"/>
</ScrollViewer>
<!-- 右边滚动条 -->
<ScrollViewer x:Name="BeatScrollRight" Width="660" Height="80"
HorizontalScrollBarVisibility="Hidden"
VerticalScrollBarVisibility="Disabled"
Grid.Column="2">
<Canvas x:Name="beatCanvasRight" Height="100"/>
</ScrollViewer>
</Grid>
<!--<Grid Width="3" Height="140" Margin="00,600,580,0" Background="#fedd40" ClipToBounds="False"></Grid>
<Grid Width="580" Height="87" Margin="00,600,0,0" Background="#25ffffff" ClipToBounds="False">
<Grid Width="564" Height="72" >
<Border BorderThickness="3" BorderBrush="#25ffffff">
</Border>
--><!--动画区域--><!--
<StackPanel x:Name="ani" VerticalAlignment="Center" Orientation="Horizontal">
<StackPanel Orientation="Horizontal">
<Image Source="/Resources/Img/play_img/music_rope/point.png" Width="50" Height="50" HorizontalAlignment="Left" Margin="0,0,0,0"/>
<Grid Width="60" Height="5" Background="#000"></Grid>
</StackPanel>
</StackPanel>
</Grid>
</Grid>-->
<local:PopSilder x:Name="popSilder" HorizontalAlignment="Left" VerticalAlignment="Top"/>
</Grid>
</UserControl>