perf: 优化12306模拟

This commit is contained in:
denglihong2007
2025-04-02 00:53:31 +08:00
parent 9c98426f79
commit 9bbe4f0612
4 changed files with 26 additions and 9 deletions

View File

@@ -9,7 +9,7 @@
<LangVersion>13.0</LangVersion>
<StartupObject>CRSim.App</StartupObject>
<ApplicationIcon>Assets\CRSimIcon.ico</ApplicationIcon>
<Version>2.0.0.2</Version>
<Version>2.0.1.0</Version>
</PropertyGroup>
<ItemGroup>
@@ -61,7 +61,7 @@
<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
<PackageReference Include="CRSim.WebsiteSimulator" Version="1.0.1" />
<PackageReference Include="CRSim.WebsiteSimulator" Version="1.1.0" />
<PackageReference Include="EPPlus" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.3" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.3" />

View File

@@ -45,7 +45,7 @@
MaxWidth="300"
Margin="0,0,0,0"
Style="{StaticResource BodyStrongTextBlockStyle}"
Text="一个可以模拟售票网站、车站显示屏、车站广播等要素的综合模拟器。虽然现在只有显示屏模拟。"
Text="一个可以模拟售票网站、车站显示屏、车站广播等要素的综合模拟器。最近上新了售票网站模拟哦!"
TextAlignment="Left" HorizontalAlignment="Left" Padding="0,8,12,8"/>
</Border>
</StackPanel>

View File

@@ -33,6 +33,7 @@
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Border Grid.Row="0" Background="{DynamicResource InfoBarErrorSeverityBackgroundBrush}"
BorderBrush="{DynamicResource InfoBarBorderBrush}" BorderThickness="{StaticResource ExpanderBorderThemeThickness}"
@@ -79,10 +80,26 @@
<TextBlock Grid.Column="0" Width="20" Height="20" Text="&#xE814;" FontSize="20" Foreground="{DynamicResource InfoBarWarningSeverityIconBackground}"
Margin="10,5,10,5" VerticalAlignment="Center" FontFamily="{StaticResource SymbolThemeFontFamily}"/>
<TextBlock Grid.Column="1" Margin="12" FontSize="14" Style="{StaticResource BodyTextBlockStyle}"
Text="如果该系统侵犯到您的权益,请立即联系QQ2639367181并告知作者,作者将会在第一时间删除相关内容。"/>
Text="如果该系统侵犯到您的权益,请立即联系电子邮件support@mstscn.com告知作者,作者将会在第一时间删除相关内容。"/>
</Grid>
</Border>
<Border Grid.Row="3" Background="{DynamicResource ExpanderHeaderBackground}"
<Border Grid.Row="3" Background="{DynamicResource InfoBarWarningSeverityBackgroundBrush}"
BorderBrush="{DynamicResource InfoBarBorderBrush}" BorderThickness="{StaticResource ExpanderBorderThemeThickness}"
Padding="{StaticResource ExpanderPadding}" CornerRadius="{DynamicResource ControlCornerRadius}" Margin="0,4,0,0">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Width="20" Height="20" Text="&#xF167;" FontSize="20" Foreground="{DynamicResource InfoBarWarningSeverityIconBackground}"
Margin="10,5,10,5" VerticalAlignment="Center" FontFamily="{StaticResource SymbolThemeFontFamily}"/>
<TextBlock Grid.Column="1" Margin="12" FontSize="14" Style="{StaticResource BodyTextBlockStyle}"
Text="本功能需要设置用户Key后才可使用具体步骤请参考http://47.122.74.193/CRSim/Key"/>
</Grid>
</Border>
<Border Grid.Row="4" Background="{DynamicResource ExpanderHeaderBackground}"
BorderBrush="{DynamicResource ExpanderHeaderBorderBrush}" BorderThickness="{StaticResource ExpanderBorderThemeThickness}"
Padding="{StaticResource ExpanderPadding}" CornerRadius="{DynamicResource ControlCornerRadius}" Margin="0,4,0,0">
<Grid>
@@ -104,7 +121,7 @@
</Grid>
</Border>
<Border Grid.Row="4" Background="{DynamicResource ExpanderHeaderBackground}"
<Border Grid.Row="5" Background="{DynamicResource ExpanderHeaderBackground}"
BorderBrush="{DynamicResource ExpanderHeaderBorderBrush}" BorderThickness="{StaticResource ExpanderBorderThemeThickness}"
Padding="{StaticResource ExpanderPadding}" CornerRadius="{DynamicResource ControlCornerRadius}" Margin="0,4,0,0">
<Grid>

View File

@@ -27,11 +27,11 @@ CRSim 是一款用于模拟中国铁路系统信息显示的软件。该仓库
本软件为**显示模拟工具**,所有数据均为虚构,与铁路官方系统无任何关联。严禁用于以下用途:
- 生成可混淆真实票务信息的截图/文件
- 生成可混淆真实票务信息的截图/文件
- 传播可能引发社会误解的谣言
- 传播可能引发社会误解的谣言
- 任何形式的商业活动
- 任何形式的商业活动
**责任须知**