118 lines
8.5 KiB
XML
118 lines
8.5 KiB
XML
<UserControl x:Class="Views.JumpLong.StandingLeap"
|
|
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:Views.JumpLong"
|
|
mc:Ignorable="d"
|
|
xmlns:gif="http://wpfanimatedgif.codeplex.com" xmlns:hc="https://handyorg.github.io/handycontrol"
|
|
Height="1080" Width="1920" Loaded="UserControl_Loaded" Unloaded="UserControl_Unloaded">
|
|
<Grid>
|
|
<Grid.Background>
|
|
<ImageBrush ImageSource="/Resources/Img/test_img/test_home_bg.png" Stretch="UniformToFill"/>
|
|
</Grid.Background>
|
|
<Grid Height="1080" Width="1920" x:Name="userBox" >
|
|
<Image x:Name="videoImage" Stretch="Uniform" />
|
|
<Image x:Name="centerImg1" Source="/Resources/Img/test_img/jump_long/title.png" HorizontalAlignment="Center" VerticalAlignment="Top" Width="615" Margin="0,0,0,0"/>
|
|
<Image x:Name="centerImg2" Source="/Resources/Img/test_img/jump_long/mat.png" HorizontalAlignment="Center" VerticalAlignment="Top" Width="1337" Margin="0,556,0,0" Height="210"/>
|
|
<Image
|
|
x:Name="centerImg3"
|
|
gif:ImageBehavior.AnimatedSource="/Resources/Img/test_img/jump_long/right_hand.gif"
|
|
gif:ImageBehavior.RepeatBehavior="Forever"
|
|
gif:ImageBehavior.AnimateInDesignMode="True"
|
|
HorizontalAlignment="Left" VerticalAlignment="Top" Margin="1242,301,0,0" Height="438" Width="360"/>
|
|
<Image
|
|
x:Name="centerImg4"
|
|
Visibility="Hidden"
|
|
gif:ImageBehavior.AnimatedSource="/Resources/Img/test_img/jump_long/jumping.gif"
|
|
gif:ImageBehavior.RepeatBehavior="1x"
|
|
gif:ImageBehavior.AutoStart="False"
|
|
gif:ImageBehavior.AnimationSpeedRatio="1.5"
|
|
gif:ImageBehavior.AnimateInDesignMode="True"
|
|
HorizontalAlignment="Left" VerticalAlignment="Top" Margin="824,72,0,0" Width="824" Height="610"/>
|
|
<Grid Width="1920" Height="1080" Background="#80000000" x:Name="TipBox" Opacity="0">
|
|
<Image Source="/Resources/Img/test_img/jump_long/tip.png" HorizontalAlignment="Center" VerticalAlignment="Center" Width="1416" Margin="0,0,0,-700"/>
|
|
</Grid>
|
|
|
|
<!--成绩-->
|
|
<Grid x:Name="RankingGrid" Margin="0,0,0,0" Height="1080" Width="1920" Opacity="0">
|
|
<Image
|
|
Source="/Resources/Img/test_img/one_rope/finish_img/finish_bg.png"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Top"
|
|
Width="1920"
|
|
Height="1080"
|
|
/>
|
|
|
|
|
|
<Grid Width="1380" Height="697" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,180,0,0" x:Name="ScoreGrid">
|
|
<!--<Border Background="#FEDE50" CornerRadius="20"/>-->
|
|
<Image Source="/Resources/Img/test_img/jump_long/rotate_img.png" Width="1000" Height="1000" Margin="205,-454,175,151" RenderTransformOrigin="0.5,0.5">
|
|
<Image.RenderTransform>
|
|
<RotateTransform x:Name="rotateTransform" Angle="0"/>
|
|
</Image.RenderTransform>
|
|
<Image.Triggers>
|
|
<EventTrigger RoutedEvent="Loaded">
|
|
<BeginStoryboard>
|
|
<Storyboard>
|
|
<DoubleAnimation Storyboard.TargetName="rotateTransform"
|
|
Storyboard.TargetProperty="Angle"
|
|
From="0"
|
|
To="360"
|
|
Duration="0:0:6"
|
|
RepeatBehavior="Forever"/>
|
|
</Storyboard>
|
|
</BeginStoryboard>
|
|
</EventTrigger>
|
|
</Image.Triggers>
|
|
</Image>
|
|
|
|
<Image Source="/Resources/Img/test_img/jump_long/head_top.png" HorizontalAlignment="Center" VerticalAlignment="Top" Height="110" Margin="0,-104,0,0" />
|
|
<Image Source="/Resources/Img/test_img/jump_long/win_bg.png" HorizontalAlignment="Center" VerticalAlignment="Center" Width="1530" Height="770" />
|
|
<Border Background="#ff8600" CornerRadius="20" Width="300" Height="90" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,20,0,0" >
|
|
<Grid>
|
|
<TextBlock Text="跳远成绩" FontSize="22" TextAlignment="Center" Padding="0,10,0,0" FontWeight="Bold" Foreground="#80ffffff" />
|
|
<TextBlock x:Name="count" Text="165cm" FontSize="49" TextAlignment="Center" Padding="0,35,0,0" FontWeight="Bold" Foreground="#fff" FontStyle="Italic" />
|
|
</Grid>
|
|
</Border>
|
|
<StackPanel Margin="60,130,50,30" Orientation="Horizontal">
|
|
<Grid Width="600">
|
|
<Border Background="#fff" CornerRadius="20"></Border>
|
|
<Border Background="#e54229" CornerRadius="20 ,20,0,0" VerticalAlignment="Top" Padding="0,15,0,0" Width="600" Height="60">
|
|
<TextBlock TextAlignment="Center" Width="600" FontWeight="Bold" Text="违规记录" Foreground="#fff" FontSize="26"/>
|
|
</Border>
|
|
|
|
<Border Background="#fcece9" CornerRadius="10" VerticalAlignment="Top" Padding="0,12,0,0" Width="580" Height="50" Margin="0,70,0,0">
|
|
<TextBlock TextAlignment="Center" Width="600" FontWeight="Bold" Text="无" Foreground="#e54229" FontSize="22"/>
|
|
</Border>
|
|
<Border Background="#fcece9" CornerRadius="10" VerticalAlignment="Top" Padding="0,12,0,0" Width="580" Height="50" Margin="0,130,0,0">
|
|
<TextBlock TextAlignment="Center" Width="600" FontWeight="Bold" Text="无" Foreground="#e54229" FontSize="22"/>
|
|
</Border>
|
|
</Grid>
|
|
|
|
<Grid Width="640" Margin="50,0,0,0">
|
|
<Image Source="/Resources/Img/test_img/jump_long/top.png" VerticalAlignment="Top" Height="500"/>
|
|
<Image Source="/Resources/Img/test_img/jump_long/bottom.png" VerticalAlignment="Bottom" Height="500" />
|
|
<TextBlock Text="380°" FontSize="55" FontWeight="Bold" FontStyle="Italic" Margin="54,81,-54,-81" />
|
|
<TextBlock Text="2" FontSize="55" FontWeight="Bold" FontStyle="Italic" Margin="432,81,-432,-81" />
|
|
<TextBlock Text="105cm" FontSize="55" FontWeight="Bold" FontStyle="Italic" Margin="54,373,-54,-373" />
|
|
<TextBlock x:Name="time" Text="00:11" FontSize="55" FontWeight="Bold" FontStyle="Italic" Margin="397,373,-397,-373" />
|
|
</Grid>
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
|
|
<Grid Margin="0,0,700,50" VerticalAlignment="Bottom" Height="182" Width="340" >
|
|
<Image Source="/Resources/Img/Album/change_left.png" HorizontalAlignment="Left" VerticalAlignment="Top" Width="330" Margin="0,103,0,0" />
|
|
<Image gif:ImageBehavior.AnimatedSource="/Resources/Img/Album/3.gif" gif:ImageBehavior.RepeatBehavior="Forever" gif:ImageBehavior.AnimateInDesignMode="True" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="-20,10,30,20" />
|
|
</Grid>
|
|
<Grid Margin="700,0,0,50" VerticalAlignment="Bottom" Height="182" Width="340" >
|
|
<Image Source="/Resources/Img/Album/change_bg.png" HorizontalAlignment="Left" VerticalAlignment="Top" Width="330" Margin="0,103,0,0" />
|
|
<TextBlock Text="10s" x:Name="countDown" FontSize="28" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="65,127,0,0" Foreground="red"/>
|
|
<TextBlock Text="后继续挑战" FontSize="28" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="30,127,0,0" />
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl>
|