April_Fools_2024.xaml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. <!-- <StackPanel xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:PCL2" > -->
  2. <StackPanel Margin="0,-10,0,0" xmlns:sys ="clr-namespace:System;assembly=mscorlib">
  3. <!--Animations Starts-->
  4. <StackPanel.Triggers>
  5. </StackPanel.Triggers>
  6. <StackPanel.Resources>
  7. <!--Styles Starts-->
  8. <Style TargetType="FlowDocumentScrollViewer" >
  9. <Setter Property="IsSelectionEnabled" Value="False"/>
  10. <Setter Property="VerticalScrollBarVisibility" Value="Hidden"/>
  11. <Setter Property="Margin" Value="0"/>
  12. </Style><Style TargetType="FlowDocument" >
  13. <Setter Property="FontFamily" Value="Microsoft YaHei UI"/>
  14. <Setter Property="FontSize" Value="14"/>
  15. <Setter Property="TextAlignment" Value="Left"/>
  16. </Style><Style TargetType="StackPanel" x:Key="ContentStack" >
  17. <Setter Property="Margin" Value="20,40,20,20"/>
  18. </Style><Style TargetType="local:MyCard" x:Key="Card" >
  19. <Setter Property="Margin" Value="0,5"/>
  20. </Style><Style TargetType="TextBox" x:Key="InlineCode">
  21. <Setter Property="FontSize" Value="14" />
  22. <Setter Property="IsReadOnly" Value="True" />
  23. <Setter Property="Margin" Value="2,0,2,-4" />
  24. <Setter Property="FontFamily" Value="Consolas"/>
  25. <Setter Property="Height" Value="18"/>
  26. <Setter Property="Template">
  27. <Setter.Value>
  28. <ControlTemplate TargetType="TextBox">
  29. <Border Background="{DynamicResource ColorBrush6}" Opacity="0.9"
  30. BorderBrush="{DynamicResource ColorBrush4}" BorderThickness="0"
  31. CornerRadius="5" Padding="4,0.2">
  32. <ScrollViewer x:Name="PART_ContentHost" Focusable="false"
  33. HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" />
  34. </Border>
  35. <ControlTemplate.Triggers>
  36. </ControlTemplate.Triggers>
  37. </ControlTemplate>
  38. </Setter.Value>
  39. </Setter>
  40. </Style><Style TargetType="Image" x:Key="InnerImage" >
  41. <Setter Property="MaxHeight" Value="500"/>
  42. <Setter Property="HorizontalAlignment" Value="Center"/>
  43. </Style><Style TargetType="TextBlock" >
  44. <Setter Property="TextWrapping" Value="Wrap"/>
  45. <Setter Property="HorizontalAlignment" Value="Left"/>
  46. <Setter Property="FontSize" Value="14"/>
  47. <Setter Property="Foreground" Value="Black"/>
  48. </Style><Style TargetType="List" >
  49. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  50. <Setter Property="Margin" Value="20,0,0,0"/>
  51. <Setter Property="MarkerStyle" Value="1"/>
  52. <Setter Property="Padding" Value="0"/>
  53. </Style><Style TargetType="ListItem" >
  54. <Setter Property="Foreground" Value="Black"/>
  55. <Setter Property="LineHeight" Value="22"/>
  56. </Style><Style TargetType="Paragraph" x:Key="H2" >
  57. <Setter Property="FontSize" Value="22"/>
  58. <Setter Property="Margin" Value="0,10,0,5"/>
  59. <Setter Property="FontWeight" Value="Bold"/>
  60. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  61. </Style><Style TargetType="Paragraph" x:Key="H3" >
  62. <Setter Property="FontSize" Value="18"/>
  63. <Setter Property="Margin" Value="0,5,0,5"/>
  64. <Setter Property="FontWeight" Value="Bold"/>
  65. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  66. </Style><Style TargetType="Paragraph" x:Key="H4" >
  67. <Setter Property="FontSize" Value="16"/>
  68. <Setter Property="Margin" Value="0,3,0,5"/>
  69. <Setter Property="FontWeight" Value="Bold"/>
  70. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  71. </Style><Style TargetType="Border" x:Key="Quote" >
  72. <Setter Property="BorderThickness" Value="5,0,0,0"/>
  73. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush4}"/>
  74. <Setter Property="Padding" Value="10,5"/>
  75. <Setter Property="Margin" Value="0,5"/>
  76. </Style><Style x:Key="imgTitle" TargetType="TextBlock">
  77. <Setter Property="FontSize" Value="14" />
  78. <Setter Property="Foreground" Value="#FF777777" />
  79. <Setter Property="HorizontalAlignment" Value="Center" />
  80. <Setter Property="Margin" Value="0,0,0,15" />
  81. </Style><sys:String x:Key="DownloadIcon">
  82. M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
  83. 0-14-6.3-14-14V664c0-5.5-4.5-10-10-10h-50c-5.5
  84. 0-10 4.5-10 10v170c0 33.1 26.9 60 60 60h600c33.1
  85. 0 60-26.9 60-60V664c0-5.5-4.5-10-10-10h-50c-5.5
  86. 0-10 4.5-10 10z M547 163v449.5l173.6-173.6c13.7-13.7
  87. 35.8-13.7 49.5 0 13.7 13.7 13.7 35.8 0 49.5L536.8
  88. 721.7c-0.4 0.4-0.8 0.8-1.3 1.2-0.2 0.2-0.4 0.4-0.6
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.2-0.2
  102. 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
  103. 35.8-13.7 49.5 0L477 612.5V163c0-19.3 15.7-35 35-35s35 15.7 35 35z</sys:String>
  104. <sys:String x:Key="LaunchIcon">
  105. M512 97C282.8 97 97 282.8 97 512s185.8 415 415 415 415-185.8
  106. 415-415S741.2 97 512 97z m-1 759c-190.5 0-345-154.5-345-345s154.5-345
  107. 345-345 345 154.5 345 345-154.5 345-345 345z M442.1 408.2L621.9 512
  108. 442.1 615.8V408.2m-59.9-113.9c-5.2 0-10 4.2-10 10v415.4c0 5.8 4.8 10
  109. 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
  110. 295.7c-1.6-1-3.3-1.4-4.9-1.4z</sys:String>
  111. <sys:String x:Key="CloudIcon">
  112. M480 224c43 0 84.7 11.6 120.6 33.5 34.6 21.1 62.5 50.9 80.6 86 10.4
  113. 20.1 30.6 33.3 53.2 34.6C796 381.6 853 407 895.2 449.7c41.7 42.1 64.6
  114. 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
  115. 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
  116. 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
  117. 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
  118. 69.4-138.7C368.1 244.6 422.6 224 480 224m0-64c-139.2 0-255.2 94.9-281.9
  119. 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
  120. 113.4 888.6 256.1 896H736c158.9 0 287.9-130.5 287.9-291.3
  121. 0-145.4-111.1-265.5-256.2-287.4-18.1-2.7-34.1-13-44.2-28.2C672.5
  122. 211.6 582.7 160 480 160z</sys:String><ControlTemplate x:Key="Separator" TargetType="ContentControl">
  123. <Grid Margin="0,10">
  124. <Grid.ColumnDefinitions>
  125. <ColumnDefinition Width="1*" />
  126. <ColumnDefinition Width="100" />
  127. <ColumnDefinition Width="1*" />
  128. </Grid.ColumnDefinitions>
  129. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
  130. <TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center" FontSize="15" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
  131. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
  132. </Grid>
  133. </ControlTemplate><Style TargetType="local:MyIconTextButton" x:Key="DownloadVersionButton" >
  134. <Setter Property="Text" Value="下载"/>
  135. <Setter Property="ToolTip" Value="转到下载页面"/>
  136. <Setter Property="EventType" Value="切换页面"/>
  137. <Setter Property="EventData" Value="1|1"/>
  138. </Style><Style TargetType="local:MyIconTextButton" x:Key="ServerJarDownloadButton" >
  139. <Setter Property="Text" Value="服务端"/>
  140. <Setter Property="ToolTip" Value="下载服务端"/>
  141. <Setter Property="EventType" Value="下载文件"/>
  142. </Style><Style TargetType="local:MyButton" x:Key="LinkButtonBase" >
  143. <Setter Property="Margin" Value="0,0,5,5"/>
  144. <Setter Property="Height" Value="35"/>
  145. <Setter Property="Padding" Value="13,0"/>
  146. <Setter Property="EventType" Value="打开网页"/>
  147. </Style><Style TargetType="local:MyButton" x:Key="WikiLinkButton" BasedOn="{StaticResource LinkButtonBase}">
  148. <Setter Property="Grid.Column" Value="0"/>
  149. <Setter Property="Text" Value="Minecraft Wiki"/>
  150. </Style><Style TargetType="local:MyButton" x:Key="OfficalLinkButton" BasedOn="{StaticResource LinkButtonBase}">
  151. <Setter Property="Grid.Column" Value="2"/>
  152. <Setter Property="Text" Value="官网"/>
  153. </Style><Style TargetType="Border" x:Key="VersionImageBorder" >
  154. <Setter Property="HorizontalAlignment" Value="Center"/>
  155. <Setter Property="BorderThickness" Value="4"/>
  156. <Setter Property="VerticalAlignment" Value="Top"/>
  157. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}"/>
  158. <Setter Property="CornerRadius" Value="7"/>
  159. <Setter Property="MaxHeight" Value="150"/>
  160. </Style><Style TargetType="Border" x:Key="VersionTitleBorder" >
  161. <Setter Property="Margin" Value="0,-20,-1,10"/>
  162. <Setter Property="Background" Value="{DynamicResource ColorBrush3}"/>
  163. <Setter Property="Width" Value="190"/>
  164. <Setter Property="Height" Value="36"/>
  165. <Setter Property="CornerRadius" Value="7"/>
  166. <Setter Property="BorderThickness" Value="0,0,0,2"/>
  167. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush2}"/>
  168. </Style><Style TargetType="TextBlock" x:Key="VersionTitleBlock" >
  169. <Setter Property="HorizontalAlignment" Value="Center"/>
  170. <Setter Property="TextAlignment" Value="Center"/>
  171. <Setter Property="VerticalAlignment" Value="Center"/>
  172. <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}"/>
  173. <Setter Property="Width" Value="180"/>
  174. <Setter Property="TextWrapping" Value="Wrap"/>
  175. <Setter Property="FontSize" Value="20"/>
  176. </Style>
  177. </StackPanel.Resources>
  178. <local:MyCard CanSwap="False" IsSwaped="false" Margin="0,-2,0,6">
  179. <Border Margin="0,0,0,0" Padding="2,8" BorderThickness="1" Background="{DynamicResource ColorBrush5}" CornerRadius="5" VerticalAlignment="Top" BorderBrush="{DynamicResource ColorBrush3}" Opacity="0.7">
  180. <Grid Margin="10,0,0,0">
  181. <TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#FF000000">
  182. 📰 欢迎使用新闻主页
  183. </TextBlock>
  184. <TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#00000000">
  185. 🕳️ {cave}
  186. </TextBlock>
  187. </Grid>
  188. </Border>
  189. </local:MyCard><local:MyCard Title="新闻主页倒闭了!" CanSwap="True" IsSwaped="false" Style="{StaticResource Card}" >
  190. <StackPanel Margin="0,40,0,0">
  191. <StackPanel HorizontalAlignment="Center">
  192. <Line Margin="-1,0" X1="0" X2="1" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="3" HorizontalAlignment="Center" Stretch="Fill"/>
  193. <Image Stretch="UniformToFill" Source="https://image.stapxs.cn/i/2024/04/01/nono.jpeg"/>
  194. <Line Margin="-1,0" X1="0" X2="1" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="3" HorizontalAlignment="Center" Stretch="Fill"/>
  195. </StackPanel>
  196. <StackPanel Margin="20,10,20,30">
  197. <FlowDocumentScrollViewer >
  198. <FlowDocument>
  199. <Paragraph Style="{StaticResource H2}">新闻主页倒闭了</Paragraph><Paragraph> 由于常年入不敷出(嗯?有入吗),新闻主页即可起宣布倒闭!</Paragraph><Paragraph> 如给您带来不便实在不是因为明天会给您带来更多的不便!感谢您仍支持新闻主页! </Paragraph><Paragraph> 哎!在这弥留之际让新闻主页给您送上最后一些新闻吧!(还拉了些广告,毕竟多亏一天钱还是多亏一天钱也就是多亏一天钱但是它多亏一天钱)</Paragraph>
  200. </FlowDocument>
  201. </FlowDocumentScrollViewer>
  202. </StackPanel>
  203. </StackPanel>
  204. </local:MyCard><local:MyCard Title="MCBBS 复活!" CanSwap="True" IsSwaped="false" Style="{StaticResource Card}" >
  205. <StackPanel Style="{StaticResource ContentStack}">
  206. <FlowDocumentScrollViewer >
  207. <FlowDocument>
  208. <Paragraph> <Bold>大家盼望许久的 MCBBS 今天 正式官宣!复活!</Bold></Paragraph><Paragraph> 据自称论坛管理员的秩序先生说:</Paragraph><Paragraph> 很抱歉 MCBBS 已经停了这么长时间,我们的技术人员正在加班加点修复基树问题,昨天我们的技术人员发来消息,MCBBS的内部功能已经重建完毕,复活成功!</Paragraph><Paragraph> 现在你可以点开 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://mcbbs.info">链接</local:MyTextButton></Underline> 欣赏 全新复活的 MCBBS</Paragraph><Paragraph> 嗯? 等下,好像贴错地址了,不管了,这不重要!</Paragraph><Paragraph> 哦,他在结束采访的时候还说了一句:如果官网进不去的情况可能是因为昨天才是复活节,今天不是。<Italic>(鬼知道他在说什么!)</Italic></Paragraph>
  209. </FlowDocument>
  210. </FlowDocumentScrollViewer>
  211. </StackPanel>
  212. </local:MyCard><local:MyCard Title="【广告】" CanSwap="True" IsSwaped="false" Style="{StaticResource Card}" >
  213. <StackPanel Style="{StaticResource ContentStack}">
  214. <FlowDocumentScrollViewer >
  215. <FlowDocument>
  216. <Paragraph Style="{StaticResource H2}">乐!快捷人鱼</Paragraph><Paragraph> 你还在苦恼加班加点工作太无聊?还在苦恼老师拖堂上课会犯困?今天开始,烦恼不再!</Paragraph><Paragraph> <Bold>乐!快捷人鱼</Bold>,是一款由蜜麒麟开发的无尽世界冒险游戏!在这里,你将邂逅一个被人们称为 “快捷人鱼” 的神奇物种</Paragraph><Paragraph> 等下?人鱼和快捷有什么关系?是游得快的人鱼吗?不!一旦你陷入烦恼,你可以随时随地打开“乐!快捷人鱼”,并感叹:“乐!”。这就是我们的产品快捷之处!别人的游戏:50M 30s秒进入,我们的游戏:0 M,5s 进入!这就是快捷人鱼的力量!</Paragraph><Paragraph> 现在不用下载!点击即玩!即刻试玩《乐!快捷人鱼》:<Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://www.bilibili.com/video/BV1GJ411x7h7">《乐!快捷人鱼》- LCP小程序</local:MyTextButton></Underline></Paragraph>
  217. </FlowDocument>
  218. </FlowDocumentScrollViewer>
  219. </StackPanel>
  220. </local:MyCard><local:MyCard Title="更多页面..." Margin="0,5">
  221. <StackPanel Margin="25,40,23,15">
  222. <Grid>
  223. <Grid.ColumnDefinitions>
  224. <ColumnDefinition Width="1*"/>
  225. <ColumnDefinition Width="100"/>
  226. </Grid.ColumnDefinitions>
  227. <local:MyComboBox x:Name="jumpbox" Height="30" SelectedIndex="0">
  228. <local:MyComboBoxItem Content="1.21存档"/>
  229. <local:MyComboBoxItem Content="1.20存档"/>
  230. <local:MyComboBoxItem Content="1.19存档"/>
  231. <local:MyComboBoxItem Content="1.18存档"/>
  232. <local:MyComboBoxItem Content="1.17存档"/>
  233. <local:MyComboBoxItem Content="愚人节版本存档"/>
  234. <local:MyComboBoxItem Content="输入..."/>
  235. </local:MyComboBox>
  236. <local:MyButton HorizontalAlignment="Center" Width="80"
  237. Grid.Column="1" Text="打开→" EventType="打开帮助"
  238. EventData="{Binding Path=Text,ElementName=jumpbox,StringFormat=https://news.bugjump.net/{0}.json}"/>
  239. </Grid>
  240. </StackPanel>
  241. </local:MyCard><Grid Margin="20,10" Height="35">
  242. <Grid.ColumnDefinitions>
  243. <ColumnDefinition Width="3*">
  244. </ColumnDefinition>
  245. <ColumnDefinition Width="2*">
  246. </ColumnDefinition>
  247. <ColumnDefinition Width="1*">
  248. </ColumnDefinition>
  249. </Grid.ColumnDefinitions>
  250. <local:MyButton Grid.Column="0" Padding="10,0" Text="刷新" EventType="刷新主页" Margin="3,0" ToolTip="点击刷新新闻主页" />
  251. <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 提交反馈" />
  252. <local:MyButton Grid.Column="1" Padding="10,0" Text="❤️ 赞助主页" EventType="打开网页" Margin="3,0" EventData="https://afdian.net/a/Nattiden" ToolTip="点击前往 新闻主页爱发电" ColorType="Red" />
  253. </Grid><Border Background="#A0FFFFFF" Height="20720" Margin="-25,10,-25,-20500" BorderThickness="0,2,0,0" BorderBrush="#AAAAAAAA">
  254. <StackPanel Margin="40,15,0,10">
  255. <TextBlock Text="PCL2 新闻主页" FontSize="16" Margin="0,5,5,5" />
  256. <TextBlock>
  257. By:最亮的信标(Light Beacon)<LineBreak/>
  258. 主要维护:最亮的信标(Light Beacon)<LineBreak/>
  259. <LineBreak/>
  260. 订阅地址: 请通过 设置 - 主页 - 预设 - 新闻主页 订阅<LineBreak/>
  261. 爱发电赞助: <Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" Text="https://afdian.net/a/Nattiden"
  262. EventData="https://afdian.net/a/Nattiden" ToolTip="点击打开爱发电" /></Underline> <LineBreak/>
  263. GitHub: <Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" Text="https://github.com/Light-Beacon/PCL2-NewsHomepage"
  264. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage" ToolTip="点击打开GitHub" /></Underline> <LineBreak/>
  265. <LineBreak/>
  266. 无特殊声明本主页采用 <Underline><local:MyTextButton Margin="0,0,0,-2" Text="CC BY-NC-SA 4.0" EventType="打开网页"
  267. EventData="https://creativecommons.org/licenses/by-nc-sa/4.0/ "/></Underline> 授权。
  268. <LineBreak/>
  269. </TextBlock>
  270. <Border Height="20500" Background="{DynamicResource ColorBrush7}" Opacity="0.3" Margin="-40,10,0,0">
  271. <StackPanel>
  272. <Grid Margin="0,7,0,15">
  273. <Grid.ColumnDefinitions>
  274. <ColumnDefinition Width="1*">
  275. </ColumnDefinition>
  276. <ColumnDefinition Width="100">
  277. </ColumnDefinition>
  278. <ColumnDefinition Width="1*">
  279. </ColumnDefinition>
  280. </Grid.ColumnDefinitions>
  281. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
  282. <TextBlock Text="到 底 啦" HorizontalAlignment="Center" FontSize="14" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
  283. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
  284. </Grid>
  285. </StackPanel>
  286. </Border>
  287. </StackPanel>
  288. </Border>
  289. </StackPanel>