Nattiden 2 лет назад
Родитель
Сommit
56a5bf4df8
2 измененных файлов с 4 добавлено и 2 удалено
  1. 1 1
      Libraries/Homepage/animated_noticebar.xaml
  2. 3 1
      Libraries/Homepage/archive_noticebar.xaml

+ 1 - 1
Libraries/Homepage/animated_noticebar.xaml

@@ -5,7 +5,7 @@
                 📰 欢迎使用新闻主页
                 📰 欢迎使用新闻主页
     </TextBlock>
     </TextBlock>
         <TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#00000000">
         <TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#00000000">
-                🕳️ {cave}
+                📰 欢迎使用新闻主页
     </TextBlock>
     </TextBlock>
     </Grid>
     </Grid>
 </Border>
 </Border>

+ 3 - 1
Libraries/Homepage/archive_noticebar.xaml

@@ -1,4 +1,5 @@
-<Border Margin="0,0,0,10" Padding="2,8" BorderThickness="1" Background="{DynamicResource ColorBrush5}" CornerRadius="5" VerticalAlignment="Top" BorderBrush="{DynamicResource ColorBrush3}" Opacity="0.7">
+<local:MyCard CanSwap="False" IsSwaped="false" Margin="0,-2,0,6">
+<Border Margin="0,0,0,0" Padding="2,8" BorderThickness="1" Background="{DynamicResource ColorBrush5}" CornerRadius="5" VerticalAlignment="Top" BorderBrush="{DynamicResource ColorBrush3}" Opacity="0.7">
     <Grid Margin="10,0,0,0">
     <Grid Margin="10,0,0,0">
         <TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#FF000000">
         <TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#FF000000">
                 📰 此页是新闻主页中历史 MC 版本的存档。
                 📰 此页是新闻主页中历史 MC 版本的存档。
@@ -8,3 +9,4 @@
     </TextBlock>
     </TextBlock>
     </Grid>
     </Grid>
 </Border>
 </Border>
+</local:MyCard>