1.18.xaml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <StackPanel Margin="0,-10,0,0"
  2. xmlns:sys="clr-namespace:System;assembly=mscorlib"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:local="clr-namespace:PCL;assembly=Plain Craft Launcher 2">
  5. <StackPanel.Triggers>
  6. </StackPanel.Triggers>
  7. <StackPanel.Resources>
  8. <Style TargetType="ListItem"><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/><Setter Property="Margin" Value="0,4"/></Style>
  9. <Style TargetType="List"><Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/><Setter Property="Margin" Value="20,6,0,6"/><Setter Property="MarkerStyle" Value="1"/><Setter Property="Padding" Value="0"/></Style>
  10. <Style TargetType="Paragraph"><Setter Property="LineHeight" Value="12"/><Setter Property="TextIndent" Value="0"/><Setter Property="Margin" Value="0,8"/></Style>
  11. <Style TargetType="TextBlock"><Setter Property="TextWrapping" Value="Wrap"/><Setter Property="HorizontalAlignment" Value="Left"/><Setter Property="FontSize" Value="14"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/></Style>
  12. <Style TargetType="FlowDocument"><Setter Property="FontFamily" Value="Microsoft YaHei UI"/><Setter Property="FontSize" Value="14"/><Setter Property="TextAlignment" Value="Left"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/></Style>
  13. <Style TargetType="FlowDocumentScrollViewer"><Setter Property="IsSelectionEnabled" Value="False"/><Setter Property="VerticalScrollBarVisibility" Value="Hidden"/><Setter Property="Margin" Value="0"/></Style>
  14. <Style x:Key="Card" TargetType="local:MyCard"><Setter Property="Margin" Value="0,5"/></Style>
  15. <Style x:Key="ContentStack" TargetType="StackPanel"><Setter Property="Margin" Value="20,40,20,20"/></Style>
  16. </StackPanel.Resources>
  17. <local:MyCard Title="提示" CanSwap="False" IsSwapped="False" Style="{StaticResource Card}" >
  18. <StackPanel Style="{StaticResource ContentStack}">
  19. <FlowDocumentScrollViewer >
  20. <FlowDocument>
  21. <Paragraph>新闻主页古老版本(1.17、1.18)的页面由于年久失修不兼容新版构建器已放弃维护。这些版本的更新日志并不是单独存放的,而是作为整整一个页面呈现。打开这些页面有可能会使 PCL 出现卡顿等情况。如要继续访问请点击下方按钮。</Paragraph>
  22. </FlowDocument>
  23. </FlowDocumentScrollViewer>
  24. <!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  25. <TextBlock Text="最后更新: 2025-09-09" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
  26. </StackPanel> -->
  27. </StackPanel>
  28. </local:MyCard><local:MyCard Margin="0,10">
  29. <StackPanel Margin="15,10">
  30. <local:MyListItem Margin="0,1,0,1" ToolTip="继续浏览"
  31. Logo="pack://application:,,,/images/Blocks/GoldBlock.png" Title="确认" Info="继续浏览"
  32. EventType="打开帮助" EventData="" Type="Clickable" />
  33. </StackPanel>
  34. </local:MyCard>
  35. </StackPanel>