Nattiden 3 лет назад
Родитель
Сommit
80c566db24
1 измененных файлов с 66 добавлено и 7 удалено
  1. 66 7
      News.xaml

+ 66 - 7
News.xaml

@@ -145,7 +145,7 @@
         <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}" />
         <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}" />
         <Setter Property="Width" Value="180" />
         <Setter Property="Width" Value="180" />
         <Setter Property="TextWrapping" Value="Wrap" />
         <Setter Property="TextWrapping" Value="Wrap" />
-        <Setter Property="FontSize" Value="24" />
+        <Setter Property="FontSize" Value="20" />
       </Style>
       </Style>
       <Style x:Key="imgTitle" TargetType="TextBlock">
       <Style x:Key="imgTitle" TargetType="TextBlock">
         <Setter Property="FontSize" Value="14" />
         <Setter Property="FontSize" Value="14" />
@@ -154,15 +154,17 @@
         <Setter Property="Margin" Value="0,0,0,15" />
         <Setter Property="Margin" Value="0,0,0,15" />
       </Style>
       </Style>
       <Style x:Key="verTxtBdr" TargetType="Border">
       <Style x:Key="verTxtBdr" TargetType="Border">
-        <Setter Property="Margin" Value="0,-22,-1,10" />
+        <Setter Property="Margin" Value="0,-20,-1,10" />
         <Setter Property="Background" Value="{DynamicResource ColorBrush3}" />
         <Setter Property="Background" Value="{DynamicResource ColorBrush3}" />
         <Setter Property="Width" Value="190" />
         <Setter Property="Width" Value="190" />
-        <Setter Property="Height" Value="40" />
-        <Setter Property="CornerRadius" Value="5" />
+        <Setter Property="Height" Value="36" />
+        <Setter Property="CornerRadius" Value="2" />
+        <Setter Property="BorderThickness" Value="0,0,0,3" />
+        <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush2}" />
       </Style>
       </Style>
       <!--h2-->
       <!--h2-->
       <Style x:Key="h2" TargetType="TextBlock">
       <Style x:Key="h2" TargetType="TextBlock">
-        <Setter Property="FontSize" Value="28" />
+        <Setter Property="FontSize" Value="24" />
         <Setter Property="Padding" Value="15,5" />
         <Setter Property="Padding" Value="15,5" />
         <Setter Property="Margin" Value="5,15,5,10" />
         <Setter Property="Margin" Value="5,15,5,10" />
         <Setter Property="FontWeight" Value="Bold" />
         <Setter Property="FontWeight" Value="Bold" />
@@ -170,7 +172,7 @@
       </Style>
       </Style>
       <!--h3-->
       <!--h3-->
       <Style x:Key="h3" TargetType="TextBlock">
       <Style x:Key="h3" TargetType="TextBlock">
-        <Setter Property="FontSize" Value="22" />
+        <Setter Property="FontSize" Value="20" />
         <Setter Property="Padding" Value="30,0" />
         <Setter Property="Padding" Value="30,0" />
         <Setter Property="Margin" Value="-10,0,10,17" />
         <Setter Property="Margin" Value="-10,0,10,17" />
         <Setter Property="FontWeight" Value="Bold" />
         <Setter Property="FontWeight" Value="Bold" />
@@ -244,6 +246,63 @@
       <TextBlock Text="最  新  新  闻" HorizontalAlignment="Center" FontSize="14" Foreground="{DynamicResource ColorBrush5}" Grid.Column="1" VerticalAlignment="Center" />
       <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" />
       <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush5}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
     </Grid>
     </Grid>
+    <local:MyCard Margin="0,0,0,15" Title="Minecraft Legend 现已发售" CanSwap="True">
+      <StackPanel Margin="0,38,0,20">
+        <StackPanel Width="1000" HorizontalAlignment="Center">
+          <Line X1="0" X2="1" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="3" HorizontalAlignment="Center" Stretch="Fill"/>
+          <Image MaxHeight="170" MinWidth="800" Stretch="UniformToFill" Source="https://attachment.mcbbs.net/data/myattachment/forum/202206/14/173407j668q1hvhp3iyqnn.jpg"/>
+          <Line X1="0" X2="1" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="3" HorizontalAlignment="Center" Stretch="Fill"/>
+        </StackPanel>
+        <Border Style="{StaticResource verTxtBdr}">
+          <TextBlock Style="{StaticResource verTxtBlk}" Text="团结主世界!" />
+        </Border>
+        <StackPanel Margin="40,10">
+          <TextBlock Text="    Minecraft Legends 是 Mojang 与 Blackbird Interactive 联合研发的一款 Minecraft IP 下的全新动作策略游戏。"/>
+          <TextBlock Text="    在这里,你将扮演一位名叫“英雄”的神秘角色,在主世界里联合各式各样的原住民,和它们一同击败残酷的猪灵侵略者们。下界传送门在主世界各处拔地而起,带来了成群的猪灵和扩散着的下界岩,现在只有你能够带领伙伴们摧毁这些传送门和猪灵,阻止四处扩散的腐化!"/>
+          <TextBlock Text="    在这里,即使是原本在 Minecraft 世界里敌对的生物们,也都成为你的朋友,能在战斗中出一份力。Minecraft Legends 设定是是 Minecraft 主世界内居民们代代相传的故事,所以谁能肯定,这个是事实或者是传说呢?没有人能够有十足的把握,所以你完全可以谱写属于自己的篇章!"/>
+          <StackPanel Margin="0,10">
+          <Border Margin="4" Height="70" CornerRadius="6">
+            <Border.Background>
+              <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,1">
+                <GradientStop Color="#FF2D3D4A"/>
+                <GradientStop Color="#FF576574" Offset="1"/>
+              </LinearGradientBrush>
+            </Border.Background>
+            <TextBlock Margin="20,10" Text="Steam 上的 Minecraft Legend" Foreground="White" VerticalAlignment="Center" FontSize="16"/>
+          </Border>
+          <Border Margin="0,-25,20,0" Background="Black" HorizontalAlignment="Right" Height="40" CornerRadius="2">
+          <WrapPanel>
+            <TextBlock Margin="20,10" Text="¥ 119.00" Foreground="#C6D4Df" VerticalAlignment="Center"/>
+            <Border Margin="2" CornerRadius="2" VerticalAlignment="Center" Height="34" Cursor="Hand">
+              <Border.Background>
+                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,1" >
+                  <GradientStop Color="#8ED629"/>
+                  <GradientStop Color="#6aa621" Offset="1"/>
+                </LinearGradientBrush>
+              </Border.Background>
+              <local:MyButton EventType="打开网页" EventData="https://store.steampowered.com/app/1928870/Minecraft_Legends/" Margin="6,2" VerticalAlignment="Center">
+                <TextBlock Text="访问商店页面" Foreground="White" Margin="6,2"/>
+              </local:MyButton>
+            </Border>
+          </WrapPanel>
+          </Border>
+          </StackPanel>
+          <GroupBox Header="阅读完整博文" BorderBrush="{DynamicResource ColorBrush3}">
+          <Grid UseLayoutRounding="True" Margin="10,10,10,10">
+            <Grid.ColumnDefinitions>
+              <ColumnDefinition Width="20*"/>
+              <ColumnDefinition Width="10*"/>
+              <ColumnDefinition Width="10*"/>
+            </Grid.ColumnDefinitions>
+            <local:MyButton Style="{StaticResource Read0}" EventData="https://minecraft.fandom.com/zh/wiki/Minecraft_Legends" ColorType="Highlight" />
+            <local:MyButton Style="{StaticResource Read1}" EventData="https://www.mcbbs.net/thread-1440249-1-1.html" />
+            <local:MyButton Style="{StaticResource Read2}" EventData="https://minecraft.net/zh-hans/article/minecraft-legends-here" />
+          </Grid>
+        </GroupBox>
+        <TextBlock Text="本文使用了 Don_Trueno 在 MCBBS 上发表的译文" Style="{StaticResource footnote}" />
+        </StackPanel>
+      </StackPanel>
+    </local:MyCard>
     <local:MyCard Margin="0,0,0,15" Title="疑似 Minecraft 官网国区购买入口关闭" CanSwap="True" IsSwaped="False">
     <local:MyCard Margin="0,0,0,15" Title="疑似 Minecraft 官网国区购买入口关闭" CanSwap="True" IsSwaped="False">
       <StackPanel Margin="30,40,30,20">
       <StackPanel Margin="30,40,30,20">
         <TextBlock Text="Minecraft 官网疑似关闭国区购买入口,在原来的中文购买界面购买时显示”此产品目前无法在该地区购买,通过’选择地区‘菜单更改你的地区“。" Margin="20,5,0,5" />
         <TextBlock Text="Minecraft 官网疑似关闭国区购买入口,在原来的中文购买界面购买时显示”此产品目前无法在该地区购买,通过’选择地区‘菜单更改你的地区“。" Margin="20,5,0,5" />
@@ -1307,4 +1366,4 @@
     </Border>
     </Border>
   </StackPanel>
   </StackPanel>
 </StackPanel>
 </StackPanel>
-<!-- 由 新闻主页构建器 生成,生成时间:2023/4/19 21:11:58 -->
+<!-- 由 手动 生成,生成时间:2023/4/19 23:55:50 -->