|
|
@@ -227,10 +227,107 @@
|
|
|
📰 新闻主页由 Light Beacon (最亮的信标)制作与维护,空辰KC帮助维护。
|
|
|
</TextBlock>
|
|
|
<TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#00000000">
|
|
|
- 🎇 新年快乐!
|
|
|
+ 🎇 往下翻查看新闻。动画默认播放两遍,想重看可以点刷新。新年快乐!
|
|
|
</TextBlock>
|
|
|
</Grid>
|
|
|
</Border>
|
|
|
+ <local:MyCard Margin="0,0,0,15" Title="新闻主页祝您新年快乐(已摆烂)" CanSwap="True">
|
|
|
+ <StackPanel Margin="30,120,30,40" MaxWidth="500" Height="150">
|
|
|
+ <StackPanel.Resources>
|
|
|
+ <Style TargetType="TextBlock">
|
|
|
+ <Setter Property="HorizontalAlignment" Value="Center" />
|
|
|
+ <Setter Property="VerticalAlignment" Value="Center" />
|
|
|
+ <Setter Property="FontSize" Value="56" />
|
|
|
+ <Setter Property="Foreground" Value="#EF321B" />
|
|
|
+ <Setter Property="FontWeight" Value="Bold" />
|
|
|
+ </Style>
|
|
|
+ </StackPanel.Resources>
|
|
|
+ <StackPanel.Triggers>
|
|
|
+ <EventTrigger RoutedEvent="StackPanel.Loaded">
|
|
|
+ <BeginStoryboard>
|
|
|
+ <Storyboard RepeatBehavior="2x" FillBehavior="Stop">
|
|
|
+ <DoubleAnimation Storyboard.TargetName="T1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.0001" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="T2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.0001" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="T3" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.0001" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.1" BeginTime="0:0:0.5" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.1" BeginTime="0:0:1.3" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.1" BeginTime="0:0:2.1" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:2.8" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:2.8" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="Fu1S" Storyboard.TargetProperty="ScaleX" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuS" Storyboard.TargetProperty="ScaleX" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="Fu2S" Storyboard.TargetProperty="ScaleX" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="Fu1S" Storyboard.TargetProperty="ScaleY" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuS" Storyboard.TargetProperty="ScaleY" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="Fu2S" Storyboard.TargetProperty="ScaleY" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:3.4" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:3.4" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:3.4" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:3.8" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:3.8" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:3.8" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuAngle" Storyboard.TargetProperty="Angle" From="45" To="225" Duration="0:0:0.001" BeginTime="0:0:4.2" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuAngle" Storyboard.TargetProperty="Angle" From="45" To="8400" Duration="0:0:6" BeginTime="0:0:4.8" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="Fu1Angle" Storyboard.TargetProperty="Angle" From="45" To="8400" Duration="0:0:6" BeginTime="0:0:4.8" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="Fu2Angle" Storyboard.TargetProperty="Angle" From="45" To="8800" Duration="0:0:6" BeginTime="0:0:4.8" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:6" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:6" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:6" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:7.6" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:7.6" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="T1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.001" BeginTime="0:0:7.6" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="T2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.001" BeginTime="0:0:8" />
|
|
|
+ <DoubleAnimation Storyboard.TargetName="T3" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.001" BeginTime="0:0:8.4" />
|
|
|
+ </Storyboard>
|
|
|
+ </BeginStoryboard>
|
|
|
+ </EventTrigger>
|
|
|
+ </StackPanel.Triggers>
|
|
|
+ <Grid>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition />
|
|
|
+ <ColumnDefinition />
|
|
|
+ <ColumnDefinition />
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Image Source="https://www.lightbeacon.top/fu.png" MaxHeight="80" RenderTransformOrigin="0.5,0.5" Grid.Column="0" x:Name="FuImg1" Opacity="0" HorizontalAlignment="Right">
|
|
|
+ <Image.RenderTransform>
|
|
|
+ <TransformGroup>
|
|
|
+ <ScaleTransform x:Name="Fu1S" />
|
|
|
+ <SkewTransform />
|
|
|
+ <RotateTransform Angle="45" x:Name="Fu1Angle" />
|
|
|
+ <TranslateTransform />
|
|
|
+ </TransformGroup>
|
|
|
+ </Image.RenderTransform>
|
|
|
+ </Image>
|
|
|
+ <TextBlock Text="过" Grid.Column="0" x:Name="T1" />
|
|
|
+ <Image Source="https://www.lightbeacon.top/fu.png" MaxHeight="80" RenderTransformOrigin="0.5,0.5" Grid.Column="1" x:Name="FuImg" Opacity="0">
|
|
|
+ <Image.RenderTransform>
|
|
|
+ <TransformGroup>
|
|
|
+ <ScaleTransform x:Name="FuS" />
|
|
|
+ <SkewTransform />
|
|
|
+ <RotateTransform Angle="45" x:Name="FuAngle" />
|
|
|
+ <TranslateTransform x:Name="FuPos" />
|
|
|
+ </TransformGroup>
|
|
|
+ </Image.RenderTransform>
|
|
|
+ </Image>
|
|
|
+ <TextBlock Text="年" Grid.Column="1" x:Name="T2" />
|
|
|
+ <Image Source="https://www.lightbeacon.top/fu.png" MaxHeight="80" RenderTransformOrigin="0.5,0.5" Grid.Column="2" x:Name="FuImg2" Opacity="0" HorizontalAlignment="Left">
|
|
|
+ <Image.RenderTransform>
|
|
|
+ <TransformGroup>
|
|
|
+ <ScaleTransform x:Name="Fu2S" />
|
|
|
+ <SkewTransform />
|
|
|
+ <RotateTransform Angle="45" x:Name="Fu2Angle" />
|
|
|
+ <TranslateTransform />
|
|
|
+ </TransformGroup>
|
|
|
+ </Image.RenderTransform>
|
|
|
+ </Image>
|
|
|
+ <TextBlock Text="啦" Grid.Column="2" x:Name="T3" />
|
|
|
+ </Grid>
|
|
|
+ </StackPanel>
|
|
|
+ </local:MyCard>
|
|
|
+ <StackPanel Margin="0,10,0,20" HorizontalAlignment="Center" Orientation="Horizontal">
|
|
|
+ <local:MyButton Width="300" Height="35" Padding="13,0,13,0" Text="刷新" EventType="刷新主页" Margin="0,0,10,0" ToolTip="点击刷新新闻主页" />
|
|
|
+ <local:MyButton Width="100" Height="35" Padding="13,0,13,0" Text="反馈" EventType="打开网页" EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new" ToolTip="点击前往 Github 提交反馈" />
|
|
|
+ </StackPanel>
|
|
|
<Grid Margin="0,0,0,15">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="1*">
|
|
|
@@ -311,13 +408,13 @@
|
|
|
<TextBlock Style="{StaticResource ListItem}" Text=" clone 命令现在支持指定源维度和目标" />
|
|
|
<StackPanel Style="{StaticResource ListStyle}">
|
|
|
<Ellipse />
|
|
|
- <TextBlock Style="{StaticResource ListItem}" Text=" clone [from <源维度>] <开始> <结束> [to <目标维度>] <目标> ..." />
|
|
|
+ <TextBlock Style="{StaticResource ListItem}" Text=" clone [from &lt;源维度&gt;] &lt;开始&gt; &lt;结束&gt; [to &lt;目标维度&gt;] &lt;目标&gt; ..." />
|
|
|
</StackPanel>
|
|
|
</StackPanel>
|
|
|
<TextBlock Text="data" Style="{StaticResource h4}" />
|
|
|
<StackPanel Style="{StaticResource ListStyle}">
|
|
|
<Ellipse />
|
|
|
- <TextBlock Style="{StaticResource ListItem}" Text=" 新的来源:string <entity|block|storage> [path] [start] [end] - 返回字符串" />
|
|
|
+ <TextBlock Style="{StaticResource ListItem}" Text=" 新的来源:string &lt;entity|block|storage&gt; [path] [start] [end] - 返回字符串" />
|
|
|
<StackPanel Style="{StaticResource ListStyle}">
|
|
|
<Ellipse />
|
|
|
<TextBlock Style="{StaticResource ListItem}" Text=" start:字符串的第一个字符的索引值" />
|
|
|
@@ -328,9 +425,9 @@
|
|
|
<TextBlock Text="execute if|unless" Style="{StaticResource h4}" />
|
|
|
<StackPanel Style="{StaticResource ListStyle}">
|
|
|
<Ellipse />
|
|
|
- <TextBlock Style="{StaticResource ListItem}" Text=" execute if|unless loaded <pos> - 检查指定的位置是否完全加载(包含实体和方块)" />
|
|
|
+ <TextBlock Style="{StaticResource ListItem}" Text=" execute if|unless loaded &lt;pos&gt; - 检查指定的位置是否完全加载(包含实体和方块)" />
|
|
|
<Ellipse />
|
|
|
- <TextBlock Style="{StaticResource ListItem}" Text=" execute if|unless dimension <dimension> - 检查命令运行位置是否在特定维度" />
|
|
|
+ <TextBlock Style="{StaticResource ListItem}" Text=" execute if|unless dimension &lt;dimension&gt; - 检查命令运行位置是否在特定维度" />
|
|
|
</StackPanel>
|
|
|
<TextBlock Text="execute on" Style="{StaticResource h4}" />
|
|
|
<StackPanel Style="{StaticResource ListStyle}">
|
|
|
@@ -338,7 +435,7 @@
|
|
|
<TextBlock Style="{StaticResource ListItem}" Text=" execute 的新的子命令,用来基于当前执行实体的位置来选定实体" />
|
|
|
<StackPanel Style="{StaticResource ListStyle}">
|
|
|
<Ellipse />
|
|
|
- <TextBlock Style="{StaticResource ListItem}" Text=" execute on <relation>" />
|
|
|
+ <TextBlock Style="{StaticResource ListItem}" Text=" execute on &lt;relation&gt;" />
|
|
|
</StackPanel>
|
|
|
<Ellipse />
|
|
|
<TextBlock Style="{StaticResource ListItem}" Text=" 关系:" />
|
|
|
@@ -381,9 +478,9 @@
|
|
|
<TextBlock Style="{StaticResource ListItem}" Text=" 语法:" />
|
|
|
<StackPanel Style="{StaticResource ListStyle}">
|
|
|
<Ellipse />
|
|
|
- <TextBlock Style="{StaticResource ListItem}" Text=" ride <target> mount <vehicle> - 让单个目标骑乘单个载具" />
|
|
|
+ <TextBlock Style="{StaticResource ListItem}" Text=" ride &lt;target&gt; mount &lt;vehicle&gt; - 让单个目标骑乘单个载具" />
|
|
|
<Ellipse />
|
|
|
- <TextBlock Style="{StaticResource ListItem}" Text=" ride <target> dismount - 让 target 从任何它正在骑乘的载具上下来" />
|
|
|
+ <TextBlock Style="{StaticResource ListItem}" Text=" ride &lt;target&gt; dismount - 让 target 从任何它正在骑乘的载具上下来" />
|
|
|
</StackPanel>
|
|
|
</StackPanel>
|
|
|
<TextBlock Text="游戏规则" Style="{StaticResource h3}" />
|
|
|
@@ -1233,10 +1330,6 @@
|
|
|
</Border>
|
|
|
</StackPanel>
|
|
|
</local:MyCard>
|
|
|
- <StackPanel Margin="0,10,0,20" HorizontalAlignment="Center" Orientation="Horizontal">
|
|
|
- <local:MyButton Width="300" Height="35" Padding="13,0,13,0" Text="刷新" EventType="刷新主页" Margin="0,0,10,0" ToolTip="点击刷新新闻主页" />
|
|
|
- <local:MyButton Width="100" Height="35" Padding="13,0,13,0" Text="反馈" EventType="打开网页" EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new" ToolTip="点击前往 Github 提交反馈" />
|
|
|
- </StackPanel>
|
|
|
<Border Background="#A0FFFFFF" Height="20720" Margin="-25,10,-25,-20500" BorderThickness="0,2,0,0" BorderBrush="#AAAAAAAA">
|
|
|
<StackPanel Margin="40,15,0,10">
|
|
|
<TextBlock Text="PCL2新闻主页" FontSize="16" Margin="0,5,5,5" />
|
|
|
@@ -1281,4 +1374,4 @@
|
|
|
</Border>
|
|
|
</StackPanel>
|
|
|
</StackPanel>
|
|
|
-<!-- 由 新闻主页构建器 生成,生成时间:2023/1/19 0:32:18 -->
|
|
|
+<!-- 由 新闻主页构建器 生成,生成时间:2023/1/21 16:39:44 -->
|