Light Beacon 4 лет назад
Родитель
Сommit
23560ffbbc
1 измененных файлов с 13 добавлено и 13 удалено
  1. 13 13
      News.xaml

+ 13 - 13
News.xaml

@@ -1160,29 +1160,29 @@
 			<EventTrigger RoutedEvent="Loaded">
 			<EventTrigger RoutedEvent="Loaded">
 				<BeginStoryboard>
 				<BeginStoryboard>
 					<Storyboard>
 					<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" />
+						<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>
 					</Storyboard>
 				</BeginStoryboard>
 				</BeginStoryboard>
 			</EventTrigger>
 			</EventTrigger>
 			<EventTrigger RoutedEvent="MouseEnter">
 			<EventTrigger RoutedEvent="MouseEnter">
 				<BeginStoryboard>
 				<BeginStoryboard>
 					<Storyboard>
 					<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" />
+						<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>
 					</Storyboard>
 				</BeginStoryboard>
 				</BeginStoryboard>
 			</EventTrigger>
 			</EventTrigger>
 			<EventTrigger RoutedEvent="MouseLeave">
 			<EventTrigger RoutedEvent="MouseLeave">
 				<BeginStoryboard>
 				<BeginStoryboard>
 					<Storyboard>
 					<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" />
+						<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>
 					</Storyboard>
 				</BeginStoryboard>
 				</BeginStoryboard>
 			</EventTrigger>
 			</EventTrigger>
@@ -1190,8 +1190,8 @@
 		</Grid.Triggers>
 		</Grid.Triggers>
 		
 		
 		<local:MyButton EventType="打开帮助" EventData="http://www.lightbeacon.top/pnh/archives/1.19.json">
 		<local:MyButton EventType="打开帮助" EventData="http://www.lightbeacon.top/pnh/archives/1.19.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.19 更新历史" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" Foreground="{StaticResource ColorBrush4}" FontWeight="Bold" />
+			<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>
 			</Border>
 		</local:MyButton>
 		</local:MyButton>
 	</Grid>
 	</Grid>