Minimal.xaml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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 TargetType="TextBox" x:Key="BlockCode">
  15. <Setter Property="Foreground" Value="{DynamicResource ColorBrush1}" />
  16. <Setter Property="FontSize" Value="14" />
  17. <Setter Property="IsReadOnly" Value="True" />
  18. <Setter Property="FontFamily" Value="Consolas" />
  19. <Setter Property="TextWrapping" Value="Wrap" />
  20. <Setter Property="Template">
  21. <Setter.Value>
  22. <ControlTemplate TargetType="TextBox">
  23. <Border Background="{DynamicResource ColorBrush7}" Opacity="0.8" BorderBrush="{DynamicResource ColorBrush4}" BorderThickness="0" CornerRadius="0,0,5,5" Padding="16,8,16,12">
  24. <ScrollViewer x:Name="PART_ContentHost" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" />
  25. </Border>
  26. </ControlTemplate>
  27. </Setter.Value>
  28. </Setter>
  29. </Style>
  30. <Style TargetType="TextBox" x:Key="InlineCode">
  31. <Setter Property="FontSize" Value="14" />
  32. <Setter Property="IsReadOnly" Value="True" />
  33. <Setter Property="Margin" Value="2,0,2,-4" />
  34. <Setter Property="FontFamily" Value="Consolas" />
  35. <Setter Property="Foreground" Value="{DynamicResource ColorBrush1}" />
  36. <Setter Property="Height" Value="18" />
  37. <Setter Property="Template">
  38. <Setter.Value>
  39. <ControlTemplate TargetType="TextBox">
  40. <Border Background="{DynamicResource ColorBrush6}" Opacity="0.9" BorderBrush="{DynamicResource ColorBrush4}" BorderThickness="0" CornerRadius="5" Padding="4,0.2">
  41. <ScrollViewer x:Name="PART_ContentHost" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" />
  42. </Border>
  43. <ControlTemplate.Triggers>
  44. </ControlTemplate.Triggers>
  45. </ControlTemplate>
  46. </Setter.Value>
  47. </Setter>
  48. </Style>
  49. <Style x:Key="H4" TargetType="Paragraph"><Setter Property="FontSize" Value="16"/><Setter Property="Margin" Value="0,10,0,1"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/></Style>
  50. <Style x:Key="Card" TargetType="local:MyCard"><Setter Property="Margin" Value="0,5"/></Style>
  51. <Style x:Key="ContentStack" TargetType="StackPanel"><Setter Property="Margin" Value="20,40,20,20"/></Style>
  52. <Style x:Key="H5" TargetType="Paragraph"><Setter Property="FontSize" Value="14"/><Setter Property="Margin" Value="0,8,0,1"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/></Style>
  53. <Style x:Key="H2" TargetType="Paragraph"><Setter Property="FontSize" Value="22"/><Setter Property="Margin" Value="0,10,0,5"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/></Style>
  54. <Style x:Key="BlockCodeBorder" TargetType="Border"><Setter Property="Background" Value="{DynamicResource ColorBrush4}"/><Setter Property="Opacity" Value="0.8"/><Setter Property="CornerRadius" Value="5"/><Setter Property="Margin" Value="2"/></Style>
  55. <Style x:Key="H3" TargetType="Paragraph"><Setter Property="FontSize" Value="18"/><Setter Property="Margin" Value="0,10,0,3"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/></Style>
  56. <Style x:Key="Lp" TargetType="Paragraph"><Setter Property="LineHeight" Value="16"/><Setter Property="TextIndent" Value="0"/></Style>
  57. </StackPanel.Resources>
  58. <local:MyCard Title="最新快照版 - 26.2-snapshot-3" CanSwap="True" IsSwaped="false" Style="{StaticResource Card}" >
  59. <StackPanel Style="{StaticResource ContentStack}">
  60. <FlowDocumentScrollViewer >
  61. <FlowDocument>
  62. <Paragraph Style="{StaticResource H2}">新特性</Paragraph><Paragraph Style="{StaticResource H3}">Sulfur Spike</Paragraph><List>
  63. <ListItem><Paragraph Style="{StaticResource Lp}">一个可以自然生成于硫黄洞穴生物群系内的硫黄上的新的方块</Paragraph></ListItem>
  64. <ListItem><Paragraph Style="{StaticResource Lp}">放置在天花板上时会形成钟乳石,放置在地面上时会形成石笋</Paragraph></ListItem>
  65. <ListItem><Paragraph Style="{StaticResource Lp}">可以相接,组合成更长的钟乳石和石笋</Paragraph></ListItem>
  66. <ListItem><Paragraph Style="{StaticResource Lp}">当尖端互相紧挨时,钟乳石和石笋会合并为一体,除非在放置时按 Shift</Paragraph></ListItem>
  67. <ListItem><Paragraph Style="{StaticResource Lp}">石笋下无方块支撑时会被破坏</Paragraph></ListItem>
  68. <ListItem><Paragraph Style="{StaticResource Lp}">钟乳石上无方块连接时会落下</Paragraph></ListItem>
  69. <ListItem><Paragraph Style="{StaticResource Lp}">被落下的钟乳石砸到会受伤,而且它们非常锋利!</Paragraph></ListItem>
  70. <ListItem><Paragraph Style="{StaticResource Lp}">向其投掷三叉戟可以破环</Paragraph></ListItem>
  71. </List><Paragraph Style="{StaticResource H2}">更改</Paragraph><List>
  72. <ListItem><Paragraph Style="{StaticResource Lp}">烈性硫黄方块不再能还原成硫黄方块</Paragraph></ListItem>
  73. <ListItem><Paragraph Style="{StaticResource Lp}">更新了纹理下列方块的纹理:</Paragraph></ListItem>
  74. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">Chiseled Cinnabar</TextBox></Paragraph></ListItem>
  75. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">Chiseled Sulfur</TextBox></Paragraph></ListItem>
  76. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">Cinnabar</TextBox></Paragraph></ListItem>
  77. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">Cinnabar Bricks</TextBox></Paragraph></ListItem>
  78. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">Polished Cinnabar</TextBox></Paragraph></ListItem>
  79. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">Polished Sulfur</TextBox></Paragraph></ListItem>
  80. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">Sulfur Bricks</TextBox></Paragraph></ListItem>
  81. </List><Paragraph Style="{StaticResource H3}">Sulfur Cube 生物</Paragraph><List>
  82. <ListItem><Paragraph Style="{StaticResource Lp}">不再能上船了</Paragraph></ListItem>
  83. </List><Paragraph Style="{StaticResource H3}">音效</Paragraph><List>
  84. <ListItem><Paragraph Style="{StaticResource Lp}">更新了鹦鹉螺喷进和恢复体力的音效</Paragraph></ListItem>
  85. </List><Paragraph Style="{StaticResource H2}">技术性更改</Paragraph><List>
  86. <ListItem><Paragraph Style="{StaticResource Lp}">数据包版本现在为 102.0</Paragraph></ListItem>
  87. <ListItem><Paragraph Style="{StaticResource Lp}">资源包版本现在为 86.0</Paragraph></ListItem>
  88. </List><Paragraph Style="{StaticResource H2}">数据包版本 102.0</Paragraph><Paragraph Style="{StaticResource H3}">方块实体数据</Paragraph><List>
  89. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">minecraft:bed</TextBox> 方块实体已被移除</Paragraph></ListItem>
  90. </List><Paragraph Style="{StaticResource H3}">谓词</Paragraph><Paragraph Style="{StaticResource H4}">实体谓词</Paragraph><Paragraph>实体谓词格式已从有着多个可选字段的结构改成一个与数据组件相似的映射。</Paragraph><Paragraph>例如,之前 <TextBox Style="{StaticResource InlineCode}">effects</TextBox> 是一个可选字段:</Paragraph><BlockUIContainer>
  91. <Border Style="{StaticResource BlockCodeBorder}" >
  92. <StackPanel Margin="0,2,0,0">
  93. <TextBlock Foreground="White" FontSize="14" Text="" Margin="10,4"/>
  94. <TextBox Style="{StaticResource BlockCode}" Text="{}{&#x000A; &quot;effects&quot;: {...}&#x000A;}"/>
  95. </StackPanel>
  96. </Border>
  97. </BlockUIContainer><Paragraph>
  98. 在本版本中,其变为类似组件的子谓词条目:</Paragraph><BlockUIContainer>
  99. <Border Style="{StaticResource BlockCodeBorder}" >
  100. <StackPanel Margin="0,2,0,0">
  101. <TextBlock Foreground="White" FontSize="14" Text="" Margin="10,4"/>
  102. <TextBox Style="{StaticResource BlockCode}" Text="{}{&#x000A; &quot;minecraft:effects&quot;: {...}&#x000A;}"/>
  103. </StackPanel>
  104. </Border>
  105. </BlockUIContainer><Paragraph>主要功能更改如下:</Paragraph><List>
  106. <ListItem><Paragraph Style="{StaticResource Lp}">所有在实体谓词里的键现在为 ID</Paragraph></ListItem>
  107. <ListItem><Paragraph Style="{StaticResource Lp}">因为 ID 可以不带命名空间(默认为 <TextBox Style="{StaticResource InlineCode}">minecraft</TextBox> 命名空间),现存的字段依旧生效</Paragraph></ListItem>
  108. <ListItem><Paragraph Style="{StaticResource Lp}">例外: 字段 <TextBox Style="{StaticResource InlineCode}">type</TextBox> 已被重命名为 <TextBox Style="{StaticResource InlineCode}">minecraft:entity_type</TextBox></Paragraph></ListItem>
  109. <ListItem><Paragraph Style="{StaticResource Lp}">无法识别的子谓词组件现在会被拒绝(此前未知的字段会被忽略)</Paragraph></ListItem>
  110. </List><Paragraph>现有的类型特定子谓词已被重命名并移动到顶层。</Paragraph><List>
  111. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">minecraft:lightning</TextBox> 重命名为 <TextBox Style="{StaticResource InlineCode}">minecraft:type_specific/lightning</TextBox></Paragraph></ListItem>
  112. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">minecraft:fishing_hook</TextBox> 重命名为 <TextBox Style="{StaticResource InlineCode}">minecraft:type_specific/fishing_hook</TextBox></Paragraph></ListItem>
  113. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">minecraft:player</TextBox> 重命名为 <TextBox Style="{StaticResource InlineCode}">minecraft:type_specific/player</TextBox></Paragraph></ListItem>
  114. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">minecraft:raider</TextBox> 重命名为 <TextBox Style="{StaticResource InlineCode}">minecraft:type_specific/raider</TextBox></Paragraph></ListItem>
  115. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">minecraft:sheep</TextBox> 重命名为 <TextBox Style="{StaticResource InlineCode}">minecraft:type_specific/sheep</TextBox></Paragraph></ListItem>
  116. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">minecraft:slime</TextBox> 重命名为 <TextBox Style="{StaticResource InlineCode}">minecraft:cube_mob</TextBox> 因为其包含史莱姆、岩浆怪和新的 Sulfur Cube</Paragraph></ListItem>
  117. </List><Paragraph>例如:</Paragraph><BlockUIContainer>
  118. <Border Style="{StaticResource BlockCodeBorder}" >
  119. <StackPanel Margin="0,2,0,0">
  120. <TextBlock Foreground="White" FontSize="14" Text="" Margin="10,4"/>
  121. <TextBox Style="{StaticResource BlockCode}" Text="{}{&#x000A; &quot;type_specific&quot;: {&#x000A; &quot;type&quot;: &quot;minecraft:player&quot;,&#x000A; &quot;looking_at&quot;: {&#x000A; &quot;type&quot;: &quot;minecraft:ender_dragon&quot;&#x000A; }&#x000A; }&#x000A;}"/>
  122. </StackPanel>
  123. </Border>
  124. </BlockUIContainer><Paragraph>
  125. 变为</Paragraph><BlockUIContainer>
  126. <Border Style="{StaticResource BlockCodeBorder}" >
  127. <StackPanel Margin="0,2,0,0">
  128. <TextBlock Foreground="White" FontSize="14" Text="" Margin="10,4"/>
  129. <TextBox Style="{StaticResource BlockCode}" Text="{}{&#x000A; &quot;minecraft:type_specific/player&quot;: {&#x000A; &quot;looking_at&quot;: {&#x000A; &quot;minecraft:type&quot;: &quot;minecraft:ender_dragon&quot;&#x000A; }&#x000A; }&#x000A;}"/>
  130. </StackPanel>
  131. </Border>
  132. </BlockUIContainer><Paragraph Style="{StaticResource H5}">增加了 <TextBox Style="{StaticResource InlineCode}">minecraft:entity_tags</TextBox> 实体子谓词</Paragraph><Paragraph>这个谓词匹配实体标签 (例如,在 <TextBox Style="{StaticResource InlineCode}">/tag</TextBox> 命令中设置的标签)。</Paragraph><Paragraph>字段:</Paragraph><List>
  133. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">any_of</TextBox> - 可选字符串列表, 选中的实体必须有列表中任一标签</Paragraph></ListItem>
  134. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">all_of</TextBox> - 可选字符串列表, 选中的实体必须有列表中全部标签</Paragraph></ListItem>
  135. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">none_of</TextBox> - 可选字符串列表, 选中的实体必须没有列表中的所有标签</Paragraph></ListItem>
  136. </List><Paragraph Style="{StaticResource H3}">世界生成</Paragraph><Paragraph Style="{StaticResource H4}">主世界地物</Paragraph><List>
  137. <ListItem><Paragraph Style="{StaticResource Lp}">调整了地物类型 <TextBox Style="{StaticResource InlineCode}">lake</TextBox></Paragraph></ListItem>
  138. <ListItem><Paragraph Style="{StaticResource Lp}">增加了字段 <TextBox Style="{StaticResource InlineCode}">can_place_feature</TextBox> - 方块谓词, 描述可以放置该地物的方块</Paragraph></ListItem>
  139. <ListItem><Paragraph Style="{StaticResource Lp}">增加了字段 <TextBox Style="{StaticResource InlineCode}">can_replace_with_air_or_fluid</TextBox> - 方块谓词, 描述地物可以替换成空气或在 <TextBox Style="{StaticResource InlineCode}">fluid</TextBox> 中提供的方块</Paragraph></ListItem>
  140. <ListItem><Paragraph Style="{StaticResource Lp}">增加了字段 <TextBox Style="{StaticResource InlineCode}">can_replace_with_barrier</TextBox> - 方块谓词, 描述该地物可以用提供的 <TextBox Style="{StaticResource InlineCode}">barrier</TextBox> 替换哪些方块</Paragraph></ListItem>
  141. </List><Paragraph Style="{StaticResource H3}">标签</Paragraph><Paragraph Style="{StaticResource H4}">方块标签</Paragraph><List>
  142. <ListItem><Paragraph Style="{StaticResource Lp}">增加了 <TextBox Style="{StaticResource InlineCode}">#speleothems</TextBox> ,包含类似于石锥的方块,如小型滴水石锥和 Sulfur Spike</Paragraph></ListItem>
  143. </List><Paragraph Style="{StaticResource H2}">资源包版本 86.0</Paragraph><Paragraph Style="{StaticResource H3}">方块精灵图</Paragraph><List>
  144. <ListItem><Paragraph Style="{StaticResource Lp}">增加了新的方块纹理:</Paragraph></ListItem>
  145. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/sulfur_spike_down_base.png</TextBox></Paragraph></ListItem>
  146. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/sulfur_spike_down_frustum.png</TextBox></Paragraph></ListItem>
  147. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/sulfur_spike_down_middle.png</TextBox></Paragraph></ListItem>
  148. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/sulfur_spike_down_tip.png</TextBox></Paragraph></ListItem>
  149. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/sulfur_spike_down_tip_merge.png</TextBox></Paragraph></ListItem>
  150. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/sulfur_spike_up_base.png</TextBox></Paragraph></ListItem>
  151. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/sulfur_spike_up_frustum.png</TextBox></Paragraph></ListItem>
  152. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/sulfur_spike_up_middle.png</TextBox></Paragraph></ListItem>
  153. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/sulfur_spike_up_tip.png</TextBox></Paragraph></ListItem>
  154. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/sulfur_spike_up_tip_merge.png</TextBox></Paragraph></ListItem>
  155. <ListItem><Paragraph Style="{StaticResource Lp}">床现在使用方块模型和纹理,<TextBox Style="{StaticResource InlineCode}">&lt;color&gt;</TextBox> 会替换为床的颜色名称</Paragraph></ListItem>
  156. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/bed_down.png</TextBox></Paragraph></ListItem>
  157. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/bed_head_north.png</TextBox></Paragraph></ListItem>
  158. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/&lt;color&gt;_bed_foot_east.png</TextBox></Paragraph></ListItem>
  159. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/&lt;color&gt;_bed_foot_south.png</TextBox></Paragraph></ListItem>
  160. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/&lt;color&gt;_bed_foot_up.png</TextBox></Paragraph></ListItem>
  161. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/&lt;color&gt;_bed_foot_west.png</TextBox></Paragraph></ListItem>
  162. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/&lt;color&gt;_bed_head_east.png</TextBox></Paragraph></ListItem>
  163. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/&lt;color&gt;_bed_head_up.png</TextBox></Paragraph></ListItem>
  164. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block/&lt;color&gt;_bed_head_west.png</TextBox></Paragraph></ListItem>
  165. </List><Paragraph Style="{StaticResource H3}">物品精灵图</Paragraph><List>
  166. <ListItem><Paragraph Style="{StaticResource Lp}">增加了新的物品精灵图:</Paragraph></ListItem>
  167. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">item/sulfur_spike.png</TextBox></Paragraph></ListItem>
  168. </List><Paragraph Style="{StaticResource H3}">物品模型</Paragraph><List>
  169. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">minecraft:bed</TextBox> 特殊模型类型已被移除</Paragraph></ListItem>
  170. </List>
  171. </FlowDocument>
  172. </FlowDocumentScrollViewer>
  173. </StackPanel>
  174. </local:MyCard><local:MyCard Title="最新正式版 - 26.1.2" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  175. <StackPanel Style="{StaticResource ContentStack}">
  176. <FlowDocumentScrollViewer >
  177. <FlowDocument>
  178. <List>
  179. <ListItem><Paragraph Style="{StaticResource Lp}">修复了一些关键漏洞</Paragraph></ListItem>
  180. </List>
  181. </FlowDocument>
  182. </FlowDocumentScrollViewer>
  183. </StackPanel>
  184. </local:MyCard><local:MyCard Margin="0,10,0,14">
  185. <Border BorderBrush="{DynamicResource ColorBrush3}" Margin="-0.6" CornerRadius="5" BorderThickness="0,0,0,4">
  186. <StackPanel>
  187. <Grid Margin="26,20,20,2">
  188. <StackPanel>
  189. <StackPanel VerticalAlignment="Center" Margin="0,0,0,4">
  190. <TextBlock FontSize="18" Foreground="{DynamicResource ColorBrush3}"><Bold>PCL2 新闻主页</Bold></TextBlock>
  191. <TextBlock FontSize="12" Foreground="{DynamicResource ColorBrush3}" Text="By:最亮的信标 | CC BY-NC-SA 4.0 | 最小版本"/>
  192. </StackPanel>
  193. <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="-8,4,0,10">
  194. <local:MyIconTextButton HorizontalAlignment="Left" Text="反馈" ToolTip="反馈新闻主页问题" EventType="打开网页"
  195. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new/choose"
  196. LogoScale="1" Logo="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0z M1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0z"/>
  197. <local:MyIconTextButton HorizontalAlignment="Left" Text="刷新" ToolTip="刷新新闻主页" EventType="刷新主页"
  198. LogoScale="0.9" Logo="M960 416V192l-73.056 73.056a447.712 447.712 0 0 0-373.6-201.088C265.92 63.968 65.312 264.544 65.312 512S265.92 960.032 513.344 960.032a448.064 448.064 0 0 0 415.232-279.488 38.368 38.368 0 1 0-71.136-28.896 371.36 371.36 0 0 1-344.096 231.584C308.32 883.232 142.112 717.024 142.112 512S308.32 140.768 513.344 140.768c132.448 0 251.936 70.08 318.016 179.84L736 416h224z"/>
  199. <local:MyIconTextButton HorizontalAlignment="Left" Text="GitHub" ToolTip="前往新闻主页 GitHub 页面" EventType="打开网页"
  200. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage"
  201. LogoScale="1" Logo="M512 42.666667A464.64 464.64 0 0 0 42.666667 502.186667 460.373333 460.373333 0 0 0 363.52 938.666667c23.466667 4.266667 32-9.813333 32-22.186667v-78.08c-130.56 27.733333-158.293333-61.44-158.293333-61.44a122.026667 122.026667 0 0 0-52.053334-67.413333c-42.666667-28.16 3.413333-27.733333 3.413334-27.733334a98.56 98.56 0 0 1 71.68 47.36 101.12 101.12 0 0 0 136.533333 37.973334 99.413333 99.413333 0 0 1 29.866667-61.44c-104.106667-11.52-213.333333-50.773333-213.333334-226.986667a177.066667 177.066667 0 0 1 47.36-124.16 161.28 161.28 0 0 1 4.693334-121.173333s39.68-12.373333 128 46.933333a455.68 455.68 0 0 1 234.666666 0c89.6-59.306667 128-46.933333 128-46.933333a161.28 161.28 0 0 1 4.693334 121.173333A177.066667 177.066667 0 0 1 810.666667 477.866667c0 176.64-110.08 215.466667-213.333334 226.986666a106.666667 106.666667 0 0 1 32 85.333334v125.866666c0 14.933333 8.533333 26.88 32 22.186667A460.8 460.8 0 0 0 981.333333 502.186667 464.64 464.64 0 0 0 512 42.666667"/>
  202. <local:MyIconTextButton HorizontalAlignment="Left" Text="支持主页" ToolTip="前往爱发电赞助新闻主页" EventType="打开网页"
  203. EventData="https://ifdian.net/a/Nattiden"
  204. LogoScale="1.2" Logo="M495.899049 634.906371c-17.304811 0-31.251971 13.947161-31.251971 31.251971S478.594238 697.410314 495.899049 697.410314c17.304811 0 31.251971-13.947161 31.251971-31.251972 0-17.304811-13.947161-31.251971-31.251971-31.251971zM790.855671 728.662285c-17.304811 0-31.251971 13.947161-31.251972 31.251971s13.947161 31.251971 31.251972 31.251972 31.251971-13.947161 31.251971-31.251972c0-17.04653-13.947161-30.993691-31.251971-31.251971z M1262.99289 719.622459c-13.430599-8.264984-28.927445-13.430599-44.68257-14.980284 34.867902-84.974368 57.080047-196.293374-18.596215-306.837537-115.193217-168.657333-280.75118-256.73107-491.766556-260.863562-60.179416-1.291404-130.948343 1.549685-205.849762 4.649054-87.040614 3.35765-203.008673 8.006703-281.526023 1.549684 15.755126-8.523265 32.543375-16.788249 47.007098-23.761829 55.530362-27.119479 98.921529-48.04022 84.457807-85.232649-7.748423-21.695583-30.218848-33.059937-67.411277-34.09306C206.624604-1.755689 37.967271 43.443443 7.748423 119.636265c-17.04653 42.874605-19.887618 125.524447 152.902206 198.876182 71.027208 30.218848 271.969635 66.894715 349.453861 74.643138 17.563091 1.549685 34.867902 5.165615 51.397871 11.364353-17.821372 11.622634-35.901025 24.02011-54.238959 36.417586-31.768533-18.079653-83.941245-39.516955-122.683358-13.172318-14.463722 9.298107-23.503549 25.053233-24.02011 42.358044-0.516562 21.179022 12.397476 42.099763 26.861198 58.629731-57.080047 45.715694-103.312302 89.881703-119.84227 123.974762-18.337934 41.841482-25.828075 110.544163 8.523265 177.438879 43.391167 84.974368 138.955046 144.120661 284.625391 176.147474 190.352916 41.583202 354.619476 4.132492 463.355674-53.205835 60.437697-32.026814 103.570583-69.994085 124.233043-103.828864 6.457019 2.066246 12.914038 4.132492 19.629338 6.198738 9.298107 2.841088 18.596214 5.682177 27.37776 8.781546 28.669164 10.072949 60.695977 8.523265 85.232649-3.61593l1.291403-0.774843c17.821372-9.039826 31.510252-25.053233 37.708991-44.166009 15.238565-51.139589-29.444006-79.033911-56.563486-96.08044z m-811.776412-239.684541l-17.30481 12.655757c-5.165615-5.165615-9.814669-11.106072-13.430599-17.563091 6.7153-2.066246 18.337934 0.258281 30.735409 4.907334zM1262.99289 798.139808c-1.291404 3.874211-4.132492 6.97358-9.298107 9.814669-10.33123 5.165615-25.569795 5.423896-39.258675 0.774842-9.298107-3.35765-19.371057-6.457019-29.444006-9.556388-18.596214-5.682177-49.848186-15.238565-55.788643-22.470426-9.814669-12.914038-28.152602-15.755126-41.32492-5.940457s-15.755126 28.152602-5.940458 41.324921c3.615931 4.390773 7.490142 8.264984 12.139196 11.622634-44.940851 62.245662-242.267348 186.220424-521.468844 125.007885-125.782728-27.636041-210.498815-77.742507-244.850155-145.412065-24.794952-48.815063-19.112776-98.921529-7.231861-126.299289 34.09306-71.027208 280.75118-234.518925 438.30244-327.241716 13.947161-8.264984 18.596214-26.344637 10.33123-40.291798s-27.119479-19.629337-40.291797-10.33123c-12.655757 7.490142-55.788643 33.059937-111.060725 68.186119-18.596214-12.655757-50.881309-27.894322-102.537459-33.059936-81.874999-8.264984-270.936512-44.42429-332.149051-70.252366C139.471608 245.418993 40.033517 196.34565 61.987381 141.073568c5.165615-12.914038 29.185725-33.576498 81.100157-53.464116 35.384463-13.430599 72.318611-22.470426 109.769321-27.119479l-11.622634 5.682176c-35.384463 17.304811-73.868296 36.417586-99.954652 59.146293-1.807965-1.033123-3.615931-2.324527-5.165615-3.874211-10.847792-11.622634-29.185725-12.397476-41.06664-1.291404l-0.516562 0.516561c-11.880915 11.106072-12.139195 29.702287-1.033123 41.583202 10.589511 11.106072 26.086356 19.371057 45.715694 25.569795 0.774842 0.258281 1.291404 0.516562 2.066246 0.774842 68.702681 21.179022 190.611197 18.596214 362.367899 11.622634 74.126577-2.841088 144.120661-5.682177 202.492111-4.649054 193.710566 3.874211 339.122631 80.841876 444.75946 235.552049 64.828469 95.047318 41.583202 188.544951 4.390773 269.903388-4.649054-3.615931-9.039826-7.748423-12.655757-12.139195-10.33123-12.397476-28.669164-14.463722-41.324921-4.649054-12.655757 10.072949-14.722003 28.669164-4.649054 41.324921 5.940457 7.490142 36.675867 42.874605 74.643138 39.775236h2.066246c1.291404-0.258281 2.324527 0 3.615931-0.258281 25.828075-4.649054 42.358044-3.615931 57.596608 6.198738 20.40418 12.914038 30.218848 20.40418 28.410883 26.861199z"/>
  205. </StackPanel>
  206. </StackPanel>
  207. </Grid>
  208. </StackPanel>
  209. </Border>
  210. </local:MyCard>
  211. </StackPanel>