| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- <StackPanel Margin="0,-10,0,0"
- xmlns:sys="clr-namespace:System;assembly=mscorlib"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="clr-namespace:PCL;assembly=Plain Craft Launcher 2">
- <StackPanel.Triggers>
- </StackPanel.Triggers>
- <StackPanel.Resources>
- <Style TargetType="ListItem"><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/><Setter Property="Margin" Value="0,4"/></Style>
- <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>
- <Style TargetType="Paragraph"><Setter Property="LineHeight" Value="12"/><Setter Property="TextIndent" Value="0"/><Setter Property="Margin" Value="0,8"/></Style>
- <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>
- <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>
- <Style TargetType="FlowDocumentScrollViewer"><Setter Property="IsSelectionEnabled" Value="False"/><Setter Property="VerticalScrollBarVisibility" Value="Hidden"/><Setter Property="Margin" Value="0"/></Style>
- <Style x:Key="Quote" TargetType="Section"><Setter Property="BorderThickness" Value="5,0,0,0"/><Setter Property="BorderBrush" Value="{DynamicResource ColorBrush4}"/><Setter Property="Padding" Value="10,0"/><Setter Property="Margin" Value="0,12"/></Style>
- <Style x:Key="typedQuote" BasedOn="{StaticResource Quote}" TargetType="Section"><Setter Property="Padding" Value="10,2"/></Style>
- <Style x:Key="tipQuote" BasedOn="{StaticResource typedQuote}" TargetType="Section"><Setter Property="BorderBrush" Value="#44AA55"/><Setter Property="Background" Value="#3344AA55"/></Style>
- <Style x:Key="InnerImage" TargetType="Image"><Setter Property="MaxHeight" Value="500"/><Setter Property="HorizontalAlignment" Value="Center"/></Style>
- <Style x:Key="Lp" TargetType="Paragraph"><Setter Property="LineHeight" Value="16"/><Setter Property="TextIndent" Value="0"/></Style>
- <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>
- <Style x:Key="H1" TargetType="Paragraph"><Setter Property="FontSize" Value="24"/><Setter Property="Margin" Value="0,10,0,10"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/></Style>
- <ControlTemplate x:Key="Separator" TargetType="ContentControl">
- <Grid Margin="0,10">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="100" />
- <ColumnDefinition Width="1*" />
- </Grid.ColumnDefinitions>
- <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
- <TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center" FontSize="15" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
- <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
- </Grid>
- </ControlTemplate>
- <Style x:Key="Card" TargetType="local:MyCard"><Setter Property="Margin" Value="0,5"/></Style>
- <Style x:Key="ContentStack" TargetType="StackPanel"><Setter Property="Margin" Value="20,40,20,20"/></Style>
- <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>
- </StackPanel.Resources>
- <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">
- <TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#FF000000">
- 📰 欢迎使用新闻主页
- </TextBlock>
- <TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#00000000">
- 📰 欢迎使用新闻主页
- </TextBlock>
- </Grid>
- </Border>
- </local:MyCard><local:MyCard Visibility="Collapsed">
- <StackPanel>
- <local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[0].Visibility" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="Hidden"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[2].Visibility" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="Hidden"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[1].Visibility" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="Visible"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[1].Text" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="劈柴狼 III"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[1].FontStyle" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="Italic"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[1].FontWeight" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="Bold"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[1].FontSize" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="20"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[3].Children[0].Text" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="电源"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[3].Children[1].Text" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="下崽"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[3].Children[2].Text" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="崩溃"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[3].Children[2].Visibility" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="Visible"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[3].Children[3].Text" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="螺母"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[1].Children[3].Children[3].Children[4].Text" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="别的"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[3].Children[1].Child.Child.Children[0].Children[2].Children[0].Children[0].Children[1].Child.Children[0].ToolTip" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="变得更炫"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[3].Children[1].Child.Child.Children[0].Children[2].Children[0].Children[0].Children[1].Child.Children[1].ToolTip" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="修改自身"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[3].Children[1].Child.Child.Children[0].Children[2].Children[0].Children[0].Children[1].Child.Children[2].ToolTip" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="换个身份"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[3].Children[1].Child.Child.Children[0].Children[0].Text" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="换个玩"/>
- </local:MyTextBox.Text></local:MyTextBox><local:MyTextBox><local:MyTextBox.Text>
- <Binding UpdateSourceTrigger="PropertyChanged" Mode="OneWayToSource"
- Path="Content.Children[8].Child.Children[3].Children[1].Child.Child.Children[0].Children[1].Text" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Window, AncestorLevel=1}"
- FallbackValue="改着玩"/>
- </local:MyTextBox.Text></local:MyTextBox>
- </StackPanel>
- </local:MyCard><local:MyCard Title="新闻主页已经帮您的启动器升级为《劈柴狼III》" CanSwap="True" IsSwaped="false" Style="{StaticResource Card}" >
- <StackPanel Margin="0,40,0,0">
- <StackPanel HorizontalAlignment="Center">
- <Line Margin="-1,0" X1="0" X2="1" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="3" HorizontalAlignment="Center" Stretch="Fill"/>
- <Image Stretch="UniformToFill" Source="https://img.picgo.net/2025/03/31/2e3c0b8636af5e415.png" MaxHeight="160"/>
- <Line Margin="-1,0" X1="0" X2="1" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="3" HorizontalAlignment="Center" Stretch="Fill"/>
- </StackPanel>
- <StackPanel Margin="20,10,20,30">
- <FlowDocumentScrollViewer >
- <FlowDocument>
- <Paragraph>由于作者龙腾猫跃更新缓慢,这里新闻主页作者自己操刀,已经自动帮您将启动器升级为了《劈柴狼III》最新预览版!</Paragraph><Paragraph>目前启动器仍在研发过程中,但特开放一天为大家体验!</Paragraph><Paragraph Style="{StaticResource H2}">新特性</Paragraph><List>
- <ListItem><Paragraph Style="{StaticResource Lp}">《劈柴狼III》船新名称!新的开始!</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">无损升级,保留用户原来的使用习惯!</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">新增崩溃按钮,以防你不知道如何崩溃启动器!</Paragraph><List>
- <ListItem><Paragraph Style="{StaticResource Lp}">注意:使用螺母可能可以修复崩溃!</Paragraph></ListItem>
- </List></ListItem>
- </List><Paragraph Style="{StaticResource H2}">更改</Paragraph><List>
- <ListItem><Paragraph Style="{StaticResource Lp}">全新界面文本!更加易读,更加人性化!</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">移除了 Herobrine </Paragraph></ListItem>
- </List><Paragraph Style="{StaticResource H2}">常见问题</Paragraph><List>
- <ListItem><Paragraph Style="{StaticResource Lp}">Q1:我原来的配置还在吗?</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">A1:新版本的劈柴狼已经内涵了无损升级与降级,您的配置不会有任何改变!</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">Q2:这项体验活动持续多久?</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">A2:由于开发者比较忙,仅有一天的时间供您体验。</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">Q3:我如何关闭这项升级/降级?</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">A3:(怎么会有人想去关闭它!)咳咳,如果真的想移除此次升级的话你只需要在螺母的个性化中暂时关闭新闻主页,等到体验时间结束后再打开就行(一定要记得开回来!)</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">Q4:新版本的 Bug 如何反馈?</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">A4:您可以试试交到<Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" EventData="https://b23.tv/grbTKJS">这里</local:MyTextButton></Underline></Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">Q5:嘶嘶...嘶嘶嘶?</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">A5:喵~喵喵~喵!</Paragraph></ListItem>
- </List>
- </FlowDocument>
- </FlowDocumentScrollViewer>
- </StackPanel>
- </StackPanel>
- </local:MyCard><local:MyCard Title="Minecraft LIVE 总结" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
- <StackPanel Style="{StaticResource ContentStack}">
- <FlowDocumentScrollViewer >
- <FlowDocument>
- <Paragraph Style="{StaticResource H1}">Minecraft LIVE 总结</Paragraph><BlockUIContainer>
- <local:MyHint Margin="0,4,0,8" IsWarn="False" Text="
- 注意括号内内容并非译名!仅为方便读者理解做的注释,请以游戏内名称为准!
- " />
- </BlockUIContainer> <List>
- <ListItem><Paragraph Style="{StaticResource Lp}">本次小更新(1.21.5)命名为《Spring to Life》</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">基岩版:我的世界大电影 Live Event,与大电影相关的小游戏,完成所有挑战会送出披风。(将在 3 月 25 日详细介绍,服务器开放时间 3 月 25 日至 4 月 7 日)</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">官方光影 Vibrant Visuals(灵动视效)将会加入 Java 版和基岩版(所有平台)<Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" EventData="https://www.minecraft.net/zh-hans/article/minecraft-vibrant-visuals">(官网文章)</local:MyTextButton></Underline></Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">可以在灵魂沙峡谷中获取 Dried Ghast(干恶魂)方块,放入水中等待会生成 Ghastling(小恶魂)。喂食雪球会成长为 Happy Ghast(一个微笑的恶魂),放上恶魂用的鞍(可合成)可以骑乘飞翔,最高支持四个人骑乘一个。玩家也可以站在它的脑袋上,在骑乘时也可以放置与破坏方块。</Paragraph></ListItem>
- <ListItem><Paragraph Style="{StaticResource Lp}">Locator bar - 将经验条用于定位玩家。<Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" EventData="https://www.minecraft.net/en-us/article/test-the-new-player-locator-bar">(官网文章)</local:MyTextButton></Underline></Paragraph></ListItem>
- </List>
- </FlowDocument>
- </FlowDocumentScrollViewer>
- <!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
- <TextBlock Text="最后更新: 2025-03-31" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
- </StackPanel> -->
- </StackPanel>
- </local:MyCard><local:MyCard Title="Minecraft 大电影披风活动" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
- <StackPanel Style="{StaticResource ContentStack}">
- <FlowDocumentScrollViewer >
- <FlowDocument>
- <Paragraph>为了预热即将在清明节上映的 Minecraft 大电影,Mojang 决定在 Twitch 与 Tiktok 直播平台上举行活动赠送玩家披风。</Paragraph><Paragraph Style="{StaticResource H3}">获取</Paragraph><BlockUIContainer>
- <local:MyHint Margin="0,4,0,8" IsWarn="False" Text="
- 直播平台服务在可能在某些地区不可用
- " />
- </BlockUIContainer> <Paragraph>活动形式类似于 15 周年时发的紫色爱心和追随者披风,仅需要观看符合条件的直播 3 分钟就能获得披风兑换码。</Paragraph><Paragraph>Twitch 平台上可以获取家园披风的兑换码。</Paragraph><Paragraph></Paragraph><BlockUIContainer><local:MyImage Style="{StaticResource InnerImage}" Source="https://i0.hdslb.com/bfs/new_dyn/85f00e302638a2c7169e3c268cda522111602644.jpg"/></BlockUIContainer><Paragraph></Paragraph><Paragraph>Tiktok 平台上可以获取入侵披风的兑换码。</Paragraph><Paragraph></Paragraph><BlockUIContainer><local:MyImage Style="{StaticResource InnerImage}" Source="https://i0.hdslb.com/bfs/new_dyn/ef13eeae0ab1de07463c2b8254ec432411602644.jpg"/></BlockUIContainer><Paragraph></Paragraph><Paragraph Style="{StaticResource H3}">兑换</Paragraph><Paragraph>兑换码可以在 MC 官网<Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://www.minecraft.net/zh-hans/redeem">兑换</local:MyTextButton></Underline> ,兑换后会加入你的账户。</Paragraph><Paragraph>目前该披风会自动加入基岩版角色编辑器以及 Java 版账户。</Paragraph><Section Style="{StaticResource tipQuote}">
- <Paragraph FontWeight="Bold">
- 提示
- <Paragraph.Foreground>
- <Binding Path="BorderBrush" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Section}" />
- </Paragraph.Foreground>
- </Paragraph>
-
- <Paragraph>
- 加入账户会有延迟。基岩版账户加入最快,若兑换后角色编辑器仍无该物品请尝试重启游戏;Java 版披风大约会在一天内同步。</Paragraph>
- </Section><Paragraph Style="{StaticResource H3}">使用</Paragraph><Paragraph>基岩版可以通过角色编辑器使用披风。Java 版可通过左侧 “皮肤与披风” 按钮选择披风,也可通过官网更改披风。</Paragraph>
- </FlowDocument>
- </FlowDocumentScrollViewer>
- <!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
- <TextBlock Text="最后更新: 2025-03-31" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
- </StackPanel> -->
- </StackPanel>
- </local:MyCard><ContentControl Content="历 史 版 本" Template="{StaticResource Separator}"/><local:MyCard Margin="0,5">
- <StackPanel Margin="15,10">
- <local:MyListItem Margin="0,1" ToolTip="点击跳转到列表界面" LogoScale="1.04"
- Logo="https://img.picgo.net/2025/02/15/Bookshelf_JE4_BE2de3fa45de5d6d91f.png" Title="历史版本更新日志" Info="点击查看更多更新日志"
- EventType="打开帮助" EventData="https://news.bugjump.net/VersionArchiveList.json" Type="Clickable" />
- </StackPanel>
- </local:MyCard><ContentControl Content="周 边 新 闻" Template="{StaticResource Separator}"/><local:MyCard Title="📢 关于反馈新闻主页相关问题的提示" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
- <StackPanel Style="{StaticResource ContentStack}">
- <FlowDocumentScrollViewer >
- <FlowDocument>
- <Paragraph Style="{StaticResource H1}">📢 关于反馈新闻主页相关问题的提示</Paragraph><Paragraph>很抱歉由于工作疏漏可能会导致新闻主页出现一些问题。
- 但有人往 PCL2 反馈提交新闻主页 Bug ...... 你交错地了!</Paragraph><Paragraph>如果是 <Bold>由于加载新闻主页出现的问题</Bold>,请在 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage">我的 GitHub 仓库</local:MyTextButton></Underline> 交 Issue <Bold>而不是</Bold>在 PCL2 反馈交反馈(PCL2 不背锅)。
- 你可以点击新闻主页最下方反馈按钮提交反馈</Paragraph>
- </FlowDocument>
- </FlowDocumentScrollViewer>
- <!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
- <TextBlock Text="最后更新: 2025-03-31" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
- </StackPanel> -->
- </StackPanel>
- </local:MyCard><local:MyCard Margin="0,5,0,14">
- <Border BorderBrush="{DynamicResource ColorBrush2}" Margin="-0.6" CornerRadius="5" BorderThickness="0,0,0,8">
- <StackPanel>
- <Grid Margin="20,18,20,4">
- <StackPanel>
- <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="0,0,0,4">
- <TextBlock FontSize="18" Foreground="{DynamicResource ColorBrush2}"><Bold>PCL2 新闻主页</Bold></TextBlock>
- <local:MyIconTextButton ColorType="Highlight" Margin="4,0" Text="de7ffab" ToolTip="当前 Commit 版本" EventType="打开网页"
- EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/tree/de7ffab0cc99421be46d2c67dcf5debad4265af4"
- LogoScale="1.1" Logo="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="-4,0,0,10" Height="46">
- <Image Margin="2" Source="https://image.stapxs.cn/i/2024/05/24/LB.png"/>
- <Image Margin="2" Source="https://image.stapxs.cn/i/2024/05/24/PHB_2.png"/>
- </StackPanel>
- <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="-8,0,0,2">
- <local:MyIconTextButton HorizontalAlignment="Left" Text="GitHub" ToolTip="前往新闻主页 GitHub 页面" EventType="打开网页"
- EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage"
- 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"/>
- <local:MyIconTextButton HorizontalAlignment="Left" Text="支持主页" ToolTip="前往爱发电赞助新闻主页" EventType="打开网页"
- EventData="https://afdian.com/a/Nattiden"
- 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"/>
- <local:MyIconTextButton Text="CC BY-NC-SA 4.0" ToolTip="无特殊声明本主页文字内容使用该授权协议" EventType="打开网页"
- EventData="https://creativecommons.org/licenses/by-nc-sa/4.0/"
- LogoScale="1" Logo="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z" />
- </StackPanel>
- </StackPanel>
- <StackPanel HorizontalAlignment="Right" >
- <local:MyIconTextButton HorizontalAlignment="Left" Text="反馈" ToolTip="反馈新闻主页问题" EventType="打开网页"
- EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new/choose"
- 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"/>
- <local:MyIconTextButton HorizontalAlignment="Left" Text="刷新" ToolTip="刷新新闻主页" EventType="刷新主页"
- 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"/>
- </StackPanel>
- </Grid>
- </StackPanel>
- </Border>
- </local:MyCard>
- </StackPanel>
|