mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
1.7.0 RC 3
This commit is contained in:
@@ -3669,6 +3669,15 @@ namespace Snap.Hutao.Resource.Localization {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查找类似 刷新时间 的本地化字符串。
|
||||||
|
/// </summary>
|
||||||
|
internal static string ViewPageAvatarPropertyRefreshTimeToggle {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("ViewPageAvatarPropertyRefreshTimeToggle", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查找类似 评分 的本地化字符串。
|
/// 查找类似 评分 的本地化字符串。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -1376,6 +1376,9 @@
|
|||||||
<data name="ViewPageAvatarPropertyRefreshFromHoyolabGameRecordDescription" xml:space="preserve">
|
<data name="ViewPageAvatarPropertyRefreshFromHoyolabGameRecordDescription" xml:space="preserve">
|
||||||
<value>同步角色天赋外的大部分信息</value>
|
<value>同步角色天赋外的大部分信息</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="ViewPageAvatarPropertyRefreshTimeToggle" xml:space="preserve">
|
||||||
|
<value>刷新时间</value>
|
||||||
|
</data>
|
||||||
<data name="ViewPageAvatarPropertyScore" xml:space="preserve">
|
<data name="ViewPageAvatarPropertyScore" xml:space="preserve">
|
||||||
<value>评分</value>
|
<value>评分</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@@ -231,10 +231,11 @@
|
|||||||
<!-- Packages -->
|
<!-- Packages -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-Labs/nuget/v3/index.json -->
|
<!-- https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-Labs/nuget/v3/index.json -->
|
||||||
<PackageReference Include="CommunityToolkit.Labs.WinUI.Controls.DataTable" Version="0.1.230802" />
|
<PackageReference Include="CommunityToolkit.Labs.WinUI.Controls.DataTable" Version="0.1.230809" />
|
||||||
<PackageReference Include="CommunityToolkit.Labs.WinUI.Shimmer" Version="0.1.230802" />
|
<PackageReference Include="CommunityToolkit.Labs.WinUI.MarqueeText" Version="0.1.230809" />
|
||||||
<PackageReference Include="CommunityToolkit.Labs.WinUI.TokenView" Version="0.1.230802" />
|
<PackageReference Include="CommunityToolkit.Labs.WinUI.Shimmer" Version="0.1.230809" />
|
||||||
<PackageReference Include="CommunityToolkit.Labs.WinUI.TransitionHelper" Version="0.1.230802" />
|
<PackageReference Include="CommunityToolkit.Labs.WinUI.TokenView" Version="0.1.230809" />
|
||||||
|
<PackageReference Include="CommunityToolkit.Labs.WinUI.TransitionHelper" Version="0.1.230809" />
|
||||||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2-build.1" />
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2-build.1" />
|
||||||
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.230828-rc" />
|
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.230828-rc" />
|
||||||
<PackageReference Include="CommunityToolkit.WinUI.Controls.HeaderedControls" Version="8.0.230828-rc" />
|
<PackageReference Include="CommunityToolkit.WinUI.Controls.HeaderedControls" Version="8.0.230828-rc" />
|
||||||
|
|||||||
@@ -195,7 +195,10 @@
|
|||||||
</cwc:SwitchPresenter>
|
</cwc:SwitchPresenter>
|
||||||
<Grid Grid.Row="1">
|
<Grid Grid.Row="1">
|
||||||
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
||||||
<cwc:Segmented Margin="16" SelectedIndex="{Binding State, Mode=TwoWay}">
|
<cwc:Segmented
|
||||||
|
Margin="16"
|
||||||
|
IsHitTestVisible="False"
|
||||||
|
SelectedIndex="{Binding State, Mode=TwoWay}">
|
||||||
<cwc:SegmentedItem Content="{shcm:ResourceString Name=ViewGuideStepLanguage}" Icon="{shcm:FontIcon Glyph=}"/>
|
<cwc:SegmentedItem Content="{shcm:ResourceString Name=ViewGuideStepLanguage}" Icon="{shcm:FontIcon Glyph=}"/>
|
||||||
<cwc:SegmentedItem Content="{shcm:ResourceString Name=ViewGuideStepDocument}" Icon="{shcm:FontIcon Glyph=}"/>
|
<cwc:SegmentedItem Content="{shcm:ResourceString Name=ViewGuideStepDocument}" Icon="{shcm:FontIcon Glyph=}"/>
|
||||||
<cwc:SegmentedItem Content="{shcm:ResourceString Name=ViewGuideStepEnvironment}" Icon="{shcm:FontIcon Glyph=}"/>
|
<cwc:SegmentedItem Content="{shcm:ResourceString Name=ViewGuideStepEnvironment}" Icon="{shcm:FontIcon Glyph=}"/>
|
||||||
|
|||||||
@@ -75,7 +75,13 @@
|
|||||||
Background="{ThemeResource CardBackgroundFillColorDefaultBrush}"
|
Background="{ThemeResource CardBackgroundFillColorDefaultBrush}"
|
||||||
DefaultLabelPosition="Right">
|
DefaultLabelPosition="Right">
|
||||||
<CommandBar.Content>
|
<CommandBar.Content>
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
<shcp:PanelSelector x:Name="ItemsPanelSelector" Margin="6,8,0,0"/>
|
<shcp:PanelSelector x:Name="ItemsPanelSelector" Margin="6,8,0,0"/>
|
||||||
|
<ToggleButton
|
||||||
|
x:Name="RefreshTimeToggle"
|
||||||
|
Margin="8,8,0,0"
|
||||||
|
Content="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshTimeToggle}"/>
|
||||||
|
</StackPanel>
|
||||||
</CommandBar.Content>
|
</CommandBar.Content>
|
||||||
<AppBarButton
|
<AppBarButton
|
||||||
Command="{Binding ExportAsImageCommand}"
|
Command="{Binding ExportAsImageCommand}"
|
||||||
@@ -99,7 +105,7 @@
|
|||||||
</AppBarButton>
|
</AppBarButton>
|
||||||
</CommandBar>
|
</CommandBar>
|
||||||
|
|
||||||
<cwucont:SwitchPresenter Grid.Row="1" Value="{Binding ElementName=ItemsPanelSelector, Path=Current}">
|
<cwucont:SwitchPresenter Grid.Row="1" Value="{Binding ElementName=ItemsPanelSelector, Path=Current, Mode=OneWay}">
|
||||||
<cwucont:SwitchPresenter.ContentTransitions>
|
<cwucont:SwitchPresenter.ContentTransitions>
|
||||||
<TransitionCollection>
|
<TransitionCollection>
|
||||||
<ContentThemeTransition/>
|
<ContentThemeTransition/>
|
||||||
@@ -227,7 +233,7 @@
|
|||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
DisplayMode="Inline"
|
DisplayMode="Inline"
|
||||||
IsPaneOpen="True"
|
IsPaneOpen="True"
|
||||||
OpenPaneLength="{StaticResource CompatSplitViewOpenPaneLength3}"
|
OpenPaneLength="{StaticResource CompatSplitViewOpenPaneLength2}"
|
||||||
PaneBackground="Transparent">
|
PaneBackground="Transparent">
|
||||||
<SplitView.Pane>
|
<SplitView.Pane>
|
||||||
<ListView ItemsSource="{Binding Summary.Avatars}" SelectedItem="{Binding SelectedAvatar, Mode=TwoWay}">
|
<ListView ItemsSource="{Binding Summary.Avatars}" SelectedItem="{Binding SelectedAvatar, Mode=TwoWay}">
|
||||||
@@ -255,24 +261,36 @@
|
|||||||
Margin="12,0,0,0"
|
Margin="12,0,0,0"
|
||||||
Opacity="0.7"
|
Opacity="0.7"
|
||||||
Style="{StaticResource CaptionTextBlockStyle}"
|
Style="{StaticResource CaptionTextBlockStyle}"
|
||||||
Text="{Binding Level}"/>
|
Text="{Binding Level}"
|
||||||
|
TextTrimming="CharacterEllipsis"
|
||||||
|
TextWrapping="NoWrap"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel
|
<StackPanel
|
||||||
Grid.Column="2"
|
Grid.Column="2"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Opacity="0.7">
|
Opacity="0.7"
|
||||||
|
Visibility="{Binding ElementName=RefreshTimeToggle, Path=IsChecked, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
|
HorizontalAlignment="Right"
|
||||||
FontSize="11"
|
FontSize="11"
|
||||||
Style="{StaticResource CaptionTextBlockStyle}"
|
Style="{StaticResource CaptionTextBlockStyle}"
|
||||||
Text="{Binding ShowcaseRefreshTimeFormat}"/>
|
Text="{Binding ShowcaseRefreshTimeFormat}"
|
||||||
|
TextTrimming="CharacterEllipsis"
|
||||||
|
TextWrapping="NoWrap"/>
|
||||||
<TextBlock
|
<TextBlock
|
||||||
|
HorizontalAlignment="Right"
|
||||||
FontSize="11"
|
FontSize="11"
|
||||||
Style="{StaticResource CaptionTextBlockStyle}"
|
Style="{StaticResource CaptionTextBlockStyle}"
|
||||||
Text="{Binding GameRecordRefreshTimeFormat}"/>
|
Text="{Binding GameRecordRefreshTimeFormat}"
|
||||||
|
TextTrimming="CharacterEllipsis"
|
||||||
|
TextWrapping="NoWrap"/>
|
||||||
<TextBlock
|
<TextBlock
|
||||||
|
HorizontalAlignment="Right"
|
||||||
FontSize="11"
|
FontSize="11"
|
||||||
Style="{StaticResource CaptionTextBlockStyle}"
|
Style="{StaticResource CaptionTextBlockStyle}"
|
||||||
Text="{Binding CalculatorRefreshTimeFormat}"/>
|
Text="{Binding CalculatorRefreshTimeFormat}"
|
||||||
|
TextTrimming="CharacterEllipsis"
|
||||||
|
TextWrapping="NoWrap"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
|
|||||||
Reference in New Issue
Block a user