XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFENewsApplication

【WinUI】新闻软件

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFENewsApplication

更新MSN的API接口

a3cd915
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

3 个文件 +11 -4
Modified XFENewsApplication.Core/Utilities/Helpers/ClimbHelper.cs +1 -1
@@ -90,7 +90,7 @@ public static class ClimbHelper
90 90 return;
91 91 using var document = JsonDocument.Parse(result);
92 92 int i = 0;
93 foreach (var subNode in document.RootElement.GetProperty("sections").EnumerateArray().ElementAt(0).GetProperty("cards").EnumerateArray())
93 foreach (var subNode in document.RootElement.GetProperty("sections").EnumerateArray().ElementAt(1).GetProperty("cards").EnumerateArray())
94 94 {
95 95 if (cancellationToken.IsCancellationRequested)
96 96 return;
Modified XFENewsApplication/Utilities/Helper/ArticleDisplayHelper.cs +8 -1
@@ -3,7 +3,6 @@ using Microsoft.UI.Text;
3 3 using Microsoft.UI.Xaml.Documents;
4 4 using System.Net;
5 5 using System.Text.Json;
6 using System.Text.RegularExpressions;
7 6 using XFEExtension.NetCore.StringExtension;
8 7 using XFENewsApplication.Models;
9 8
@@ -137,6 +136,14 @@ public static class ArticleDisplayHelper
137 136 });
138 137 CheckLastArticlePart(articleParts, parentNode.ParentNode, bold);
139 138 break;
139 case "b":
140 bold = new Bold();
141 bold.Inlines.Add(new Run
142 {
143 Text = WebUtility.HtmlDecode(node.InnerText)
144 });
145 CheckLastArticlePart(articleParts, parentNode.ParentNode, bold);
146 break;
140 147 case "em":
141 148 var italic = new Italic();
142 149 italic.Inlines.Add(new Run
Modified XFENewsApplication/XFENewsApplication.csproj +2 -2
@@ -56,8 +56,8 @@
56 56 <PackageReference Include="XFEExtension.NetCore.AutoPath" Version="1.0.1" />
57 57 <PackageReference Include="XFEExtension.NetCore.TodoHighLight" Version="1.0.0" />
58 58 <PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
59 <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.7.250310001" />
60 <PackageReference Include="XFEExtension.NetCore.WinUIHelper" Version="1.0.7" />
59 <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.8.250410001-experimental1" />
60 <PackageReference Include="XFEExtension.NetCore.WinUIHelper" Version="1.0.7"/>
61 61 </ItemGroup>
62 62 <ItemGroup>
63 63 <Using Include="XFENewsApplication.ViewModels" />