mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
65 lines
2.3 KiB
XML
65 lines
2.3 KiB
XML
<Window
|
|
x:Class="MaaWpfGui.VersionUpdateView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:mdxam="clr-namespace:MdXaml;assembly=MdXaml"
|
|
xmlns:s="https://github.com/canton7/Stylet"
|
|
xmlns:vm="clr-namespace:MaaWpfGui"
|
|
Title="版本已更新"
|
|
Width="600"
|
|
Height="500"
|
|
d:DataContext="{d:DesignInstance {x:Type vm:VersionUpdateViewModel}}"
|
|
mc:Ignorable="d">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="80" />
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="120" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel
|
|
Grid.Row="0"
|
|
HorizontalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<TextBlock
|
|
Margin="0,20"
|
|
FontSize="24"
|
|
Style="{StaticResource TextBlockDefaultBold}"
|
|
Text="已更新:"
|
|
TextWrapping="Wrap" />
|
|
<TextBlock
|
|
Margin="0,20"
|
|
FontSize="24"
|
|
Style="{StaticResource TextBlockDefaultBold}"
|
|
Text="{Binding UpdateTag}"
|
|
TextWrapping="Wrap" />
|
|
</StackPanel>
|
|
|
|
|
|
<mdxam:MarkdownScrollViewer
|
|
x:Name="UpdateInfoMarkdownDocument"
|
|
Grid.Row="1"
|
|
Margin="16,0"
|
|
ClickAction="DisplayWithRelativePath"
|
|
Language="zh-CN"
|
|
Markdown="{Binding UpdateInfo}"
|
|
MarkdownStyleName="GithubLike" />
|
|
|
|
|
|
<StackPanel
|
|
Grid.Row="2"
|
|
HorizontalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<!--<Button Command="{s:Action Download}" Content="前往下载" Margin="20" Width="120" Height="60" />-->
|
|
<!--<Button Command="{s:Action Ignore}" Content="不再提示" Margin="20" Width="120" Height="60" />-->
|
|
<Button
|
|
Width="120"
|
|
Height="60"
|
|
Margin="20"
|
|
Command="{s:Action Close}"
|
|
Content="好的!" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window> |