Special_archive_page.xaml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  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. <!--Animations Starts-->
  6. <StackPanel.Triggers>
  7. </StackPanel.Triggers>
  8. <StackPanel.Resources>
  9. <!--Styles Starts-->
  10. <Style TargetType="FlowDocumentScrollViewer" >
  11. <Setter Property="IsSelectionEnabled" Value="False"/>
  12. <Setter Property="VerticalScrollBarVisibility" Value="Hidden"/>
  13. <Setter Property="Margin" Value="0"/>
  14. </Style><Style TargetType="FlowDocument" >
  15. <Setter Property="FontFamily" Value="Microsoft YaHei UI"/>
  16. <Setter Property="FontSize" Value="14"/>
  17. <Setter Property="TextAlignment" Value="Left"/>
  18. </Style><Style TargetType="StackPanel" x:Key="ContentStack" >
  19. <Setter Property="Margin" Value="20,40,20,20"/>
  20. </Style><Style TargetType="local:MyCard" x:Key="Card" >
  21. <Setter Property="Margin" Value="0,5"/>
  22. </Style><Style TargetType="TextBox" x:Key="InlineCode">
  23. <Setter Property="FontSize" Value="14" />
  24. <Setter Property="IsReadOnly" Value="True" />
  25. <Setter Property="Margin" Value="2,0,2,-4" />
  26. <Setter Property="FontFamily" Value="Consolas"/>
  27. <Setter Property="Height" Value="18"/>
  28. <Setter Property="Template">
  29. <Setter.Value>
  30. <ControlTemplate TargetType="TextBox">
  31. <Border Background="{DynamicResource ColorBrush6}" Opacity="0.9"
  32. BorderBrush="{DynamicResource ColorBrush4}" BorderThickness="0"
  33. CornerRadius="5" Padding="4,0.2">
  34. <ScrollViewer x:Name="PART_ContentHost" Focusable="false"
  35. HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" />
  36. </Border>
  37. <ControlTemplate.Triggers>
  38. </ControlTemplate.Triggers>
  39. </ControlTemplate>
  40. </Setter.Value>
  41. </Setter>
  42. </Style><Style TargetType="Image" x:Key="InnerImage" >
  43. <Setter Property="MaxHeight" Value="500"/>
  44. <Setter Property="HorizontalAlignment" Value="Center"/>
  45. </Style><Style TargetType="TextBlock" >
  46. <Setter Property="TextWrapping" Value="Wrap"/>
  47. <Setter Property="HorizontalAlignment" Value="Left"/>
  48. <Setter Property="FontSize" Value="14"/>
  49. <Setter Property="Foreground" Value="Black"/>
  50. </Style><Style TargetType="List" >
  51. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  52. <Setter Property="Margin" Value="20,0,0,0"/>
  53. <Setter Property="MarkerStyle" Value="1"/>
  54. <Setter Property="Padding" Value="0"/>
  55. </Style><Style TargetType="ListItem" >
  56. <Setter Property="Foreground" Value="Black"/>
  57. <Setter Property="LineHeight" Value="22"/>
  58. </Style><Style TargetType="Paragraph" x:Key="H1" >
  59. <Setter Property="FontSize" Value="24"/>
  60. <Setter Property="Margin" Value="0,10,0,10"/>
  61. <Setter Property="FontWeight" Value="Bold"/>
  62. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  63. </Style><Style TargetType="Paragraph" x:Key="H2" >
  64. <Setter Property="FontSize" Value="22"/>
  65. <Setter Property="Margin" Value="0,10,0,5"/>
  66. <Setter Property="FontWeight" Value="Bold"/>
  67. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  68. </Style><Style TargetType="Paragraph" x:Key="H3" >
  69. <Setter Property="FontSize" Value="18"/>
  70. <Setter Property="Margin" Value="0,5,0,5"/>
  71. <Setter Property="FontWeight" Value="Bold"/>
  72. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  73. </Style><Style TargetType="Paragraph" x:Key="H4" >
  74. <Setter Property="FontSize" Value="16"/>
  75. <Setter Property="Margin" Value="0,3,0,5"/>
  76. <Setter Property="FontWeight" Value="Bold"/>
  77. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  78. </Style><Style TargetType="Paragraph" x:Key="H5" >
  79. <Setter Property="FontSize" Value="15"/>
  80. <Setter Property="Margin" Value="0,3,0,5"/>
  81. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  82. </Style><Style TargetType="Border" x:Key="Quote" >
  83. <Setter Property="BorderThickness" Value="5,0,0,0"/>
  84. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush4}"/>
  85. <Setter Property="Padding" Value="10,5"/>
  86. <Setter Property="Margin" Value="0,5"/>
  87. </Style><Style x:Key="imgTitle" TargetType="TextBlock">
  88. <Setter Property="FontSize" Value="14" />
  89. <Setter Property="Foreground" Value="#FF777777" />
  90. <Setter Property="HorizontalAlignment" Value="Center" />
  91. <Setter Property="Margin" Value="0,0,0,15" />
  92. </Style><sys:String x:Key="DownloadIcon">
  93. M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
  94. 0-14-6.3-14-14V664c0-5.5-4.5-10-10-10h-50c-5.5
  95. 0-10 4.5-10 10v170c0 33.1 26.9 60 60 60h600c33.1
  96. 0 60-26.9 60-60V664c0-5.5-4.5-10-10-10h-50c-5.5
  97. 0-10 4.5-10 10z M547 163v449.5l173.6-173.6c13.7-13.7
  98. 35.8-13.7 49.5 0 13.7 13.7 13.7 35.8 0 49.5L536.8
  99. 721.7c-0.4 0.4-0.8 0.8-1.3 1.2-0.2 0.2-0.4 0.4-0.6
  100. 0.5-0.2 0.2-0.4 0.4-0.7 0.6-0.3 0.2-0.5 0.4-0.8 0.6-0.2
  101. 0.1-0.4 0.3-0.5 0.4l-0.9 0.6c-0.2 0.1-0.3 0.2-0.5 0.3-0.3
  102. 0.2-0.6 0.4-1 0.6-0.2 0.1-0.3 0.2-0.5 0.3-0.3 0.2-0.6
  103. 0.4-1 0.5-0.2 0.1-0.4 0.2-0.5 0.3-0.3 0.2-0.6 0.3-0.9
  104. 0.5l-0.6 0.3c-0.3 0.1-0.6 0.3-0.8 0.4-0.2 0.1-0.5 0.2-0.7
  105. 0.3-0.3 0.1-0.5 0.2-0.8 0.3l-0.9 0.3c-0.2 0.1-0.4 0.2-0.7
  106. 0.2-0.3 0.1-0.6 0.2-1 0.3-0.2 0.1-0.4 0.1-0.6 0.2-0.4 0.1-0.7
  107. 0.2-1.1 0.3-0.2 0-0.4 0.1-0.6 0.1-0.4 0.1-0.7 0.2-1.1 0.2-0.2
  108. 0-0.4 0.1-0.6 0.1-0.4 0.1-0.7 0.1-1.1 0.2-0.2 0-0.4 0.1-0.7
  109. 0.1-0.3 0-0.7 0.1-1 0.1-0.3 0-0.6 0-0.9 0.1-0.3 0-0.5 0-0.8
  110. 0.1-1.2 0.1-2.3 0.1-3.5 0-0.3 0-0.5 0-0.8-0.1-0.3 0-0.6
  111. 0-0.9-0.1-0.3 0-0.7-0.1-1-0.1-0.2 0-0.4-0.1-0.7-0.1-0.4-0.1-0.7-0.1-1.1-0.2-0.2
  112. 0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.2-0.2
  113. 0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.3-0.2-0.1-0.4-0.1-0.6-0.2-0.3-0.1-0.6-0.2-1-0.3-0.2-0.1-0.5-0.1-0.7-0.2l-0.9-0.3c-0.3-0.1-0.5-0.2-0.8-0.3-0.2-0.1-0.5-0.2-0.7-0.3-0.3-0.1-0.6-0.3-0.8-0.4l-0.6-0.3c-0.3-0.2-0.6-0.3-0.9-0.5-0.2-0.1-0.4-0.2-0.5-0.3-0.3-0.2-0.6-0.4-1-0.6-0.2-0.1-0.3-0.2-0.5-0.3-0.3-0.2-0.6-0.4-1-0.6-0.2-0.1-0.3-0.2-0.5-0.3-0.3-0.2-0.6-0.4-0.9-0.7-0.2-0.1-0.3-0.3-0.5-0.4-0.3-0.2-0.5-0.4-0.8-0.6-0.2-0.2-0.4-0.4-0.7-0.6-0.2-0.2-0.4-0.4-0.6-0.5l-1.2-1.2-233.1-233.1c-13.7-13.7-13.7-35.8 0-49.5 13.7-13.7
  114. 35.8-13.7 49.5 0L477 612.5V163c0-19.3 15.7-35 35-35s35 15.7 35 35z</sys:String>
  115. <sys:String x:Key="LaunchIcon">
  116. M512 97C282.8 97 97 282.8 97 512s185.8 415 415 415 415-185.8
  117. 415-415S741.2 97 512 97z m-1 759c-190.5 0-345-154.5-345-345s154.5-345
  118. 345-345 345 154.5 345 345-154.5 345-345 345z M442.1 408.2L621.9 512
  119. 442.1 615.8V408.2m-59.9-113.9c-5.2 0-10 4.2-10 10v415.4c0 5.8 4.8 10
  120. 10 10 1.7 0 3.4-0.4 5-1.4l359.7-207.7c6.7-3.8 6.7-13.5 0-17.3L387.1
  121. 295.7c-1.6-1-3.3-1.4-4.9-1.4z</sys:String>
  122. <sys:String x:Key="CloudIcon">
  123. M480 224c43 0 84.7 11.6 120.6 33.5 34.6 21.1 62.5 50.9 80.6 86 10.4
  124. 20.1 30.6 33.3 53.2 34.6C796 381.6 853 407 895.2 449.7c41.7 42.1 64.6
  125. 97.2 64.6 155 0 30.8-5.9 60.6-17.7 88.7-11.3 27.1-27.5 51.4-48.2 72.3-42.3
  126. 42.8-98.4 66.3-158 66.3h-478c-53.3-3.1-102.6-24-139-58.8-35.3-33.6-54.7-77.2-54.7-122.5
  127. 0-38.5 13.7-75.3 39.7-106.4 12.9-15.5 28.5-29.1 46.3-40.3 18.3-11.6
  128. 38.4-20.4 59.9-26.3 26.1-7.1 44.9-29.9 47-56.9 4-52.9 28.6-102.1
  129. 69.4-138.7C368.1 244.6 422.6 224 480 224m0-64c-139.2 0-255.2 94.9-281.9
  130. 220.8-4.4 20.8-18.5 38.3-38.2 46.3C65.8 465.6 0.2 551.2 0.2 650.7 0.2 781.3
  131. 113.4 888.6 256.1 896H736c158.9 0 287.9-130.5 287.9-291.3
  132. 0-145.4-111.1-265.5-256.2-287.4-18.1-2.7-34.1-13-44.2-28.2C672.5
  133. 211.6 582.7 160 480 160z</sys:String>
  134. <sys:String x:Key="WikiIcon">
  135. M172.61,196.65h31a7.69,7.69,0,0,1,7.62,6.65l11.19,80.95c2.58,20.09,5.16,40.18,7.73,60.79h1c3.61-20.61,7.47-41,11.34-60.79l18.23-81.58a7.7,7.7,0,0,1,7.52-6h26.58a7.7,7.7,0,0,1,7.51,6l18.48,81.6c3.86,19.57,7.21,40.18,11.07,60.79h1.29c2.32-20.61,4.9-41,7.22-60.79l11.67-81a7.7,7.7,0,0,1,7.62-6.6h27.72a7.7,7.7,0,0,1,7.59,9L364.41,382.2a7.69,7.69,0,0,1-7.58,6.38H311.61a7.7,7.7,0,0,1-7.54-6.14l-16-77.33c-3.09-14.68-5.67-30.14-7.47-44.57h-1c-2.58,14.43-4.9,29.89-7.73,44.57L256.34,382.4a7.7,7.7,0,0,1-7.54,6.18H204.6a7.69,7.69,0,0,1-7.58-6.32L165,205.72A7.71,7.71,0,0,1,172.61,196.65ZM286.87,507.39,159.71,455.25v22.82L97.54,451.18v-23.3l-89-2,9.54-119.29H44.78V291.24L31.45,280.81V247l14.09-4.23L45,227.13,63.33,220V207.1l5.51-2v-16.2l15.65-4.93V167.63l24.06-11.81,1.65-21.95,4.94-1.72-2-1V95.6h13V89.45l27.56-14.79L169,84.43,185.79,76l21.47,15.34,8.1,1v7.91h6.51l60.65-30.56,8,3.49,17-12.08L324,71l.12-2.19,39.15-22,18.06,12.53h26.37l3.79-1.62,36.38,27.4v28.77l16.81,8.15V149l6.08,3V164l10.15,5.51v11.32h9v11.52l1,0c1.54,0,3.44.08,5.91,0l15.13-.13V212.7h9.28v49.71h-5.8v36.1l-16,9h56l6.78,119.85-116.84-1.4Zm-157.16-85.7h27.23l128.51,52.7,152.82-78.54,92.15,1.1-3.36-59.47H456.67V325.89h-5.8v-40l22.37,1.81L485.36,281v-.86h-7.24V268.5h-7V236.33l-11.31,8.61V210.82h-9V187.35l-10.15-5.51V170.59l-11.59-5.79V138.2l-38.25-18.53,26.95-17.27v-2.29l-10.59-8-24.49,10.41V89.37H371.9l-10.35-7.18-8.38,4.7-.6,11.32-22.31,11.61-21.4-12.9L294,107.45l-10.58-4.63L192,148.87V130.24h-6.67V119l-1-.12V121l-28.12,4v.58h-7.1L151.49,150l-5.17-.37.11,3.38-1.27.44,14.7,10.59-45.37,22.26V206l-15.65,4.93V226l-5.51,2v12.57l-17.6,6.81.61,17.43-12,3.61,10.46,8.18v1.59h11.6v24l43.44,34.42h-84l-4.8,60,86.54,1.93v32.93l2.17.94ZM476.3,232.41h5.58v-4.25Z
  136. </sys:String>
  137. <sys:String x:Key="CreeperIcon">
  138. M213.333333 128a85.333333 85.333333 0 0 0-85.333333 85.333333v597.333334a85.333333 85.333333 0 0 0 85.333333 85.333333h597.333334a85.333333 85.333333 0 0 0 85.333333-85.333333V213.333333a85.333333 85.333333 0 0 0-85.333333-85.333333H213.333333z m0 64h597.333334c11.754667 0 21.333333 9.578667 21.333333 21.333333v597.333334c0 11.754667-9.578667 21.333333-21.333333 21.333333H213.333333c-11.754667 0-21.333333-9.578667-21.333333-21.333333V213.333333c0-11.754667 9.578667-21.333333 21.333333-21.333333z m64 106.666667a21.333333 21.333333 0 0 0-21.333333 21.333333v128a21.333333 21.333333 0 0 0 21.333333 21.333333h149.333334v-149.333333a21.333333 21.333333 0 0 0-21.333334-21.333333h-128z m149.333334 170.666666v85.333334h-64a21.333333 21.333333 0 0 0-21.333334 21.333333v160a32 32 0 1 0 64 0V704h213.333334v32a32 32 0 1 0 64 0V576a21.333333 21.333333 0 0 0-21.333334-21.333333h-64v-85.333334h-170.666666z m170.666666 0h149.333334a21.333333 21.333333 0 0 0 21.333333-21.333333v-128a21.333333 21.333333 0 0 0-21.333333-21.333333h-128a21.333333 21.333333 0 0 0-21.333334 21.333333v149.333333z
  139. </sys:String><ControlTemplate x:Key="Separator" TargetType="ContentControl">
  140. <Grid Margin="0,10">
  141. <Grid.ColumnDefinitions>
  142. <ColumnDefinition Width="1*" />
  143. <ColumnDefinition Width="100" />
  144. <ColumnDefinition Width="1*" />
  145. </Grid.ColumnDefinitions>
  146. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
  147. <TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center" FontSize="15" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
  148. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
  149. </Grid>
  150. </ControlTemplate><Style TargetType="local:MyIconTextButton" x:Key="DownloadVersionButton" >
  151. <Setter Property="Text" Value="下载"/>
  152. <Setter Property="ToolTip" Value="转到下载页面"/>
  153. <Setter Property="EventType" Value="切换页面"/>
  154. <Setter Property="EventData" Value="1|1"/>
  155. </Style><Style TargetType="local:MyIconTextButton" x:Key="ServerJarDownloadButton" >
  156. <Setter Property="Text" Value="服务端"/>
  157. <Setter Property="ToolTip" Value="下载服务端"/>
  158. <Setter Property="EventType" Value="下载文件"/>
  159. </Style><Style TargetType="local:MyButton" x:Key="LinkButtonBase" >
  160. <Setter Property="Margin" Value="0,0,5,5"/>
  161. <Setter Property="Height" Value="35"/>
  162. <Setter Property="Padding" Value="13,0"/>
  163. <Setter Property="EventType" Value="打开网页"/>
  164. </Style><Style TargetType="local:MyButton" x:Key="WikiLinkButton" BasedOn="{StaticResource LinkButtonBase}">
  165. <Setter Property="Grid.Column" Value="0"/>
  166. <Setter Property="Text" Value="Minecraft Wiki"/>
  167. </Style><Style TargetType="local:MyButton" x:Key="OfficalLinkButton" BasedOn="{StaticResource LinkButtonBase}">
  168. <Setter Property="Grid.Column" Value="2"/>
  169. <Setter Property="Text" Value="官网"/>
  170. </Style><Style TargetType="Border" x:Key="VersionImageBorder" >
  171. <Setter Property="HorizontalAlignment" Value="Center"/>
  172. <Setter Property="BorderThickness" Value="4"/>
  173. <Setter Property="VerticalAlignment" Value="Top"/>
  174. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}"/>
  175. <Setter Property="CornerRadius" Value="7"/>
  176. <Setter Property="MaxHeight" Value="150"/>
  177. </Style><Style TargetType="Border" x:Key="VersionTitleBorder" >
  178. <Setter Property="Margin" Value="0,-20,-1,10"/>
  179. <Setter Property="Background" Value="{DynamicResource ColorBrush3}"/>
  180. <Setter Property="Width" Value="190"/>
  181. <Setter Property="Height" Value="36"/>
  182. <Setter Property="CornerRadius" Value="7"/>
  183. <Setter Property="BorderThickness" Value="0,0,0,2"/>
  184. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush2}"/>
  185. </Style><Style TargetType="TextBlock" x:Key="VersionTitleBlock" >
  186. <Setter Property="HorizontalAlignment" Value="Center"/>
  187. <Setter Property="TextAlignment" Value="Center"/>
  188. <Setter Property="VerticalAlignment" Value="Center"/>
  189. <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}"/>
  190. <Setter Property="Width" Value="180"/>
  191. <Setter Property="TextWrapping" Value="Wrap"/>
  192. <Setter Property="FontSize" Value="20"/>
  193. </Style>
  194. </StackPanel.Resources>
  195. <local:MyCard CanSwap="False" IsSwaped="false" Margin="0,-2,0,6">
  196. <Border Margin="0,0,0,0" Padding="2,8" BorderThickness="1" Background="{DynamicResource ColorBrush5}" CornerRadius="5" VerticalAlignment="Top" BorderBrush="{DynamicResource ColorBrush3}" Opacity="0.7">
  197. <Grid Margin="10,0,0,0">
  198. <TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#FF000000">
  199. 📰 欢迎使用新闻主页
  200. </TextBlock>
  201. <TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#00000000">
  202. 📰 欢迎使用新闻主页
  203. </TextBlock>
  204. </Grid>
  205. </Border>
  206. </local:MyCard><ContentControl Content="整 的 花 活" Template="{StaticResource Separator}"/><local:MyCard Margin="0,0,0,15" Title="去年的烂活 - 新闻主页祝您新年快乐(已摆烂)" CanSwap="True" IsSwaped="True">
  207. <StackPanel Margin="30,120,30,40" MaxWidth="500" Height="150" x:Name="SP">
  208. <StackPanel.Resources>
  209. <Style TargetType="TextBlock">
  210. <Setter Property="HorizontalAlignment" Value="Center" />
  211. <Setter Property="VerticalAlignment" Value="Center" />
  212. <Setter Property="FontSize" Value="56" />
  213. <Setter Property="Foreground" Value="#EF321B" />
  214. <Setter Property="FontWeight" Value="Bold"/>
  215. </Style>
  216. </StackPanel.Resources>
  217. <StackPanel.Triggers>
  218. <EventTrigger RoutedEvent="StackPanel.Loaded">
  219. <BeginStoryboard>
  220. <Storyboard RepeatBehavior="Forever" FillBehavior="Stop">
  221. <DoubleAnimation Storyboard.TargetName="T1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.0001"/>
  222. <DoubleAnimation Storyboard.TargetName="T2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.0001"/>
  223. <DoubleAnimation Storyboard.TargetName="T3" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.0001"/>
  224. <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.1" BeginTime="0:0:0.5"/>
  225. <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.1" BeginTime="0:0:1.3"/>
  226. <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.1" BeginTime="0:0:2.1"/>
  227. <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:2.8"/>
  228. <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:2.8"/>
  229. <DoubleAnimation Storyboard.TargetName="Fu1S" Storyboard.TargetProperty="ScaleX" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
  230. <DoubleAnimation Storyboard.TargetName="FuS" Storyboard.TargetProperty="ScaleX" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
  231. <DoubleAnimation Storyboard.TargetName="Fu2S" Storyboard.TargetProperty="ScaleX" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
  232. <DoubleAnimation Storyboard.TargetName="Fu1S" Storyboard.TargetProperty="ScaleY" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
  233. <DoubleAnimation Storyboard.TargetName="FuS" Storyboard.TargetProperty="ScaleY" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
  234. <DoubleAnimation Storyboard.TargetName="Fu2S" Storyboard.TargetProperty="ScaleY" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
  235. <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:3.4"/>
  236. <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:3.4"/>
  237. <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:3.4"/>
  238. <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:3.8"/>
  239. <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:3.8"/>
  240. <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:3.8"/>
  241. <DoubleAnimation Storyboard.TargetName="FuAngle" Storyboard.TargetProperty="Angle" From="45" To="225" Duration="0:0:0.001" BeginTime="0:0:4.2"/>
  242. <DoubleAnimation Storyboard.TargetName="FuAngle" Storyboard.TargetProperty="Angle" From="45" To="8400" Duration="0:0:6" BeginTime="0:0:4.8"/>
  243. <DoubleAnimation Storyboard.TargetName="Fu1Angle" Storyboard.TargetProperty="Angle" From="45" To="8400" Duration="0:0:6" BeginTime="0:0:4.8"/>
  244. <DoubleAnimation Storyboard.TargetName="Fu2Angle" Storyboard.TargetProperty="Angle" From="45" To="8800" Duration="0:0:6" BeginTime="0:0:4.8"/>
  245. <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:6"/>
  246. <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:6"/>
  247. <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:6"/>
  248. <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:7.6"/>
  249. <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:7.6"/>
  250. <DoubleAnimation Storyboard.TargetName="T1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.001" BeginTime="0:0:7.6"/>
  251. <DoubleAnimation Storyboard.TargetName="T2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.001" BeginTime="0:0:8"/>
  252. <DoubleAnimation Storyboard.TargetName="T3" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.001" BeginTime="0:0:8.4"/>
  253. </Storyboard>
  254. </BeginStoryboard>
  255. </EventTrigger>
  256. </StackPanel.Triggers>
  257. <Grid>
  258. <Grid.ColumnDefinitions>
  259. <ColumnDefinition />
  260. <ColumnDefinition />
  261. <ColumnDefinition />
  262. </Grid.ColumnDefinitions>
  263. <Image Source="https://image.stapxs.cn/i/2024/02/09/fu.png" MaxHeight="80" RenderTransformOrigin="0.5,0.5" Grid.Column="0" x:Name="FuImg1" Opacity="0" HorizontalAlignment="Right">
  264. <Image.RenderTransform>
  265. <TransformGroup>
  266. <ScaleTransform x:Name="Fu1S"/>
  267. <SkewTransform/>
  268. <RotateTransform Angle="45" x:Name="Fu1Angle"/>
  269. <TranslateTransform/>
  270. </TransformGroup>
  271. </Image.RenderTransform>
  272. </Image>
  273. <TextBlock Text="过" Grid.Column="0" x:Name="T1"/>
  274. <Image Source="https://image.stapxs.cn/i/2024/02/09/fu.png" MaxHeight="80" RenderTransformOrigin="0.5,0.5" Grid.Column="1" x:Name="FuImg" Opacity="0">
  275. <Image.RenderTransform>
  276. <TransformGroup>
  277. <ScaleTransform x:Name="FuS"/>
  278. <SkewTransform/>
  279. <RotateTransform Angle="45" x:Name="FuAngle"/>
  280. <TranslateTransform x:Name="FuPos"/>
  281. </TransformGroup>
  282. </Image.RenderTransform>
  283. </Image>
  284. <TextBlock Text="年" Grid.Column="1" x:Name="T2"/>
  285. <Image Source="https://image.stapxs.cn/i/2024/02/09/fu.png" MaxHeight="80" RenderTransformOrigin="0.5,0.5" Grid.Column="2" x:Name="FuImg2" Opacity="0" HorizontalAlignment="Left">
  286. <Image.RenderTransform>
  287. <TransformGroup>
  288. <ScaleTransform x:Name="Fu2S"/>
  289. <SkewTransform/>
  290. <RotateTransform Angle="45" x:Name="Fu2Angle"/>
  291. <TranslateTransform/>
  292. </TransformGroup>
  293. </Image.RenderTransform>
  294. </Image>
  295. <TextBlock Text="啦" Grid.Column="2" x:Name="T3"/>
  296. </Grid>
  297. </StackPanel>
  298. </local:MyCard><local:MyCard Title="更多页面..." Margin="0,5">
  299. <StackPanel Margin="25,40,23,15">
  300. <Grid>
  301. <Grid.ColumnDefinitions>
  302. <ColumnDefinition Width="1*"/>
  303. <ColumnDefinition Width="100"/>
  304. </Grid.ColumnDefinitions>
  305. <local:MyComboBox x:Name="jumpbox" Height="30" SelectedIndex="0">
  306. <local:MyComboBoxItem Content="1.21存档"/>
  307. <local:MyComboBoxItem Content="1.20存档"/>
  308. <local:MyComboBoxItem Content="1.19存档"/>
  309. <local:MyComboBoxItem Content="1.18存档"/>
  310. <local:MyComboBoxItem Content="1.17存档"/>
  311. <local:MyComboBoxItem Content="愚人节版本存档"/>
  312. <local:MyComboBoxItem Content="输入..."/>
  313. </local:MyComboBox>
  314. <local:MyButton HorizontalAlignment="Center" Width="80"
  315. Grid.Column="1" Text="打开→" EventType="打开帮助"
  316. EventData="{Binding Path=Text,ElementName=jumpbox,StringFormat=https://news.bugjump.net/{0}.json}"/>
  317. </Grid>
  318. </StackPanel>
  319. </local:MyCard><Grid Margin="20,10" Height="35">
  320. <Grid.ColumnDefinitions>
  321. <ColumnDefinition Width="3*">
  322. </ColumnDefinition>
  323. <ColumnDefinition Width="2*">
  324. </ColumnDefinition>
  325. <ColumnDefinition Width="1*">
  326. </ColumnDefinition>
  327. </Grid.ColumnDefinitions>
  328. <local:MyButton Grid.Column="0" Padding="10,0" Text="刷新" EventType="刷新主页" Margin="3,0" ToolTip="点击刷新新闻主页" />
  329. <local:MyButton Grid.Column="2" Padding="10,0" Text="反馈" EventType="打开网页" Margin="3,0" EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new" ToolTip="点击前往 GitHub 提交反馈" />
  330. <local:MyButton Grid.Column="1" Padding="10,0" Text="❤️ 赞助主页" EventType="打开网页" Margin="3,0" EventData="https://afdian.net/a/Nattiden" ToolTip="点击前往 新闻主页爱发电" ColorType="Red" />
  331. </Grid><Border Background="#A0FFFFFF" Height="20720" Margin="-25,10,-25,-20500" BorderThickness="0,2,0,0" BorderBrush="#AAAAAAAA">
  332. <StackPanel Margin="40,15,0,10">
  333. <TextBlock Text="PCL2 新闻主页" FontSize="16" Margin="0,5,5,5" />
  334. <TextBlock>
  335. By:最亮的信标(Light Beacon)<LineBreak/>
  336. 主要维护:最亮的信标(Light Beacon)<LineBreak/>
  337. <LineBreak/>
  338. 订阅地址: 请通过 设置 - 主页 - 预设 - 新闻主页 订阅<LineBreak/>
  339. 爱发电赞助: <Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" Text="https://afdian.net/a/Nattiden"
  340. EventData="https://afdian.net/a/Nattiden" ToolTip="点击打开爱发电" /></Underline> <LineBreak/>
  341. GitHub: <Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" Text="https://github.com/Light-Beacon/PCL2-NewsHomepage"
  342. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage" ToolTip="点击打开GitHub" /></Underline> <LineBreak/>
  343. <LineBreak/>
  344. 无特殊声明本主页采用 <Underline><local:MyTextButton Margin="0,0,0,-2" Text="CC BY-NC-SA 4.0" EventType="打开网页"
  345. EventData="https://creativecommons.org/licenses/by-nc-sa/4.0/ "/></Underline> 授权。
  346. <LineBreak/>
  347. </TextBlock>
  348. <Border Height="20500" Background="{DynamicResource ColorBrush7}" Opacity="0.3" Margin="-40,10,0,0">
  349. <StackPanel>
  350. <Grid Margin="0,7,0,15">
  351. <Grid.ColumnDefinitions>
  352. <ColumnDefinition Width="1*">
  353. </ColumnDefinition>
  354. <ColumnDefinition Width="100">
  355. </ColumnDefinition>
  356. <ColumnDefinition Width="1*">
  357. </ColumnDefinition>
  358. </Grid.ColumnDefinitions>
  359. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
  360. <TextBlock Text="到 底 啦" HorizontalAlignment="Center" FontSize="14" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
  361. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
  362. </Grid>
  363. </StackPanel>
  364. </Border>
  365. </StackPanel>
  366. </Border>
  367. </StackPanel>