|
|
@@ -0,0 +1,133 @@
|
|
|
+<Grid Margin="0,0,0,15">
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="1*"></ColumnDefinition>
|
|
|
+ <ColumnDefinition Width="100"></ColumnDefinition>
|
|
|
+ <ColumnDefinition Width="1*"></ColumnDefinition>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush5}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
|
|
|
+ <TextBlock Text="更 新 历 史" HorizontalAlignment="Center" FontSize="14" Foreground="{DynamicResource ColorBrush5}" Grid.Column="1" VerticalAlignment="Center" />
|
|
|
+ <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush5}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
|
|
|
+</Grid>
|
|
|
+
|
|
|
+<Grid Margin="10,10,10,10" Height="40" Width="300">
|
|
|
+ <Grid.Triggers>
|
|
|
+ <EventTrigger RoutedEvent="Loaded">
|
|
|
+ <BeginStoryboard>
|
|
|
+ <Storyboard>
|
|
|
+ <ColorAnimation Storyboard.TargetName="view3" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.0" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr3" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#BBFFFFFF" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr3" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#777777" />
|
|
|
+ </Storyboard>
|
|
|
+ </BeginStoryboard>
|
|
|
+ </EventTrigger>
|
|
|
+ <EventTrigger RoutedEvent="MouseEnter">
|
|
|
+ <BeginStoryboard>
|
|
|
+ <Storyboard>
|
|
|
+ <ColorAnimation Storyboard.TargetName="view3" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr3" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="viewBdr3" Storyboard.TargetProperty="Width" To="260" Duration="0:0:0.1" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr3" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
|
|
|
+ </Storyboard>
|
|
|
+ </BeginStoryboard>
|
|
|
+ </EventTrigger>
|
|
|
+ <EventTrigger RoutedEvent="MouseLeave">
|
|
|
+ <BeginStoryboard>
|
|
|
+ <Storyboard>
|
|
|
+ <ColorAnimation Storyboard.TargetName="view3" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.75" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr3" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#BBFFFFFF" Duration="0:0:0.5" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="viewBdr3" Storyboard.TargetProperty="Width" To="240" Duration="0:0:0.1" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr3" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.75" />
|
|
|
+ </Storyboard>
|
|
|
+ </BeginStoryboard>
|
|
|
+ </EventTrigger>
|
|
|
+
|
|
|
+ </Grid.Triggers>
|
|
|
+
|
|
|
+ <local:MyButton EventType="打开帮助" EventData="http://www.lightbeacon.top/pnh/archives/1.19.json">
|
|
|
+ <Border x:Name="viewBdr3" Height="40" Width="240" Background="{StaticResource ColorBrush6}" Opacity="1" CornerRadius="4" BorderThickness="1.5" BorderBrush="{StaticResource ColorBrush4}">
|
|
|
+ <TextBlock x:Name="view3" Text="浏览 1.19 更新历史" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" Foreground="{StaticResource ColorBrush4}" FontWeight="Bold" />
|
|
|
+ </Border>
|
|
|
+ </local:MyButton>
|
|
|
+</Grid>
|
|
|
+
|
|
|
+<Grid Margin="10,10,10,10" Height="40" Width="300">
|
|
|
+ <Grid.Triggers>
|
|
|
+ <EventTrigger RoutedEvent="Loaded">
|
|
|
+ <BeginStoryboard>
|
|
|
+ <Storyboard>
|
|
|
+ <ColorAnimation Storyboard.TargetName="view" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.0" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#BBFFFFFF" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#777777" />
|
|
|
+ </Storyboard>
|
|
|
+ </BeginStoryboard>
|
|
|
+ </EventTrigger>
|
|
|
+ <EventTrigger RoutedEvent="MouseEnter">
|
|
|
+ <BeginStoryboard>
|
|
|
+ <Storyboard>
|
|
|
+ <ColorAnimation Storyboard.TargetName="view" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="Width" To="260" Duration="0:0:0.1" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
|
|
|
+ </Storyboard>
|
|
|
+ </BeginStoryboard>
|
|
|
+ </EventTrigger>
|
|
|
+ <EventTrigger RoutedEvent="MouseLeave">
|
|
|
+ <BeginStoryboard>
|
|
|
+ <Storyboard>
|
|
|
+ <ColorAnimation Storyboard.TargetName="view" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.75" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#BBFFFFFF" Duration="0:0:0.5" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="Width" To="240" Duration="0:0:0.1" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.75" />
|
|
|
+ </Storyboard>
|
|
|
+ </BeginStoryboard>
|
|
|
+ </EventTrigger>
|
|
|
+
|
|
|
+ </Grid.Triggers>
|
|
|
+
|
|
|
+ <local:MyButton EventType="打开帮助" EventData="http://www.lightbeacon.top/pnh/archives/1.18.json">
|
|
|
+ <Border x:Name="viewBdr" Height="40" Width="240" Background="{StaticResource ColorBrush6}" Opacity="1" CornerRadius="4" BorderThickness="1.5" BorderBrush="{StaticResource ColorBrush4}">
|
|
|
+ <TextBlock x:Name="view" Text="浏览 1.18 更新历史" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" Foreground="{StaticResource ColorBrush4}" FontWeight="Bold" />
|
|
|
+ </Border>
|
|
|
+ </local:MyButton>
|
|
|
+</Grid>
|
|
|
+
|
|
|
+<Grid Margin="10,10,10,40" Height="40" Width="300">
|
|
|
+ <Grid.Triggers>
|
|
|
+ <EventTrigger RoutedEvent="Loaded">
|
|
|
+ <BeginStoryboard>
|
|
|
+ <Storyboard>
|
|
|
+ <ColorAnimation Storyboard.TargetName="view2" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.0" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#BBFFFFFF" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#777777" />
|
|
|
+ </Storyboard>
|
|
|
+ </BeginStoryboard>
|
|
|
+ </EventTrigger>
|
|
|
+ <EventTrigger RoutedEvent="MouseEnter">
|
|
|
+ <BeginStoryboard>
|
|
|
+ <Storyboard>
|
|
|
+ <ColorAnimation Storyboard.TargetName="view2" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="Width" To="260" Duration="0:0:0.1" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
|
|
|
+ </Storyboard>
|
|
|
+ </BeginStoryboard>
|
|
|
+ </EventTrigger>
|
|
|
+ <EventTrigger RoutedEvent="MouseLeave">
|
|
|
+ <BeginStoryboard>
|
|
|
+ <Storyboard>
|
|
|
+ <ColorAnimation Storyboard.TargetName="view2" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.75" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#BBFFFFFF" Duration="0:0:0.5" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="Width" To="240" Duration="0:0:0.1" />
|
|
|
+ <ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.75" />
|
|
|
+ </Storyboard>
|
|
|
+ </BeginStoryboard>
|
|
|
+ </EventTrigger>
|
|
|
+
|
|
|
+ </Grid.Triggers>
|
|
|
+
|
|
|
+ <local:MyButton EventType="打开帮助" EventData="http://www.lightbeacon.top/pnh/archives/1.17.json">
|
|
|
+ <Border x:Name="viewBdr2" Height="40" Width="240" Background="{StaticResource ColorBrush6}" Opacity="1" CornerRadius="4" BorderThickness="1.5" BorderBrush="{StaticResource ColorBrush4}">
|
|
|
+ <TextBlock x:Name="view2" Text="浏览 1.17 更新历史" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" Foreground="{StaticResource ColorBrush4}" FontWeight="Bold" />
|
|
|
+ </Border>
|
|
|
+ </local:MyButton>
|
|
|
+</Grid>
|