This commit is contained in:
艾竹
2023-03-26 23:23:34 +08:00
parent 90e94a7ec0
commit 43b5d82fae
31 changed files with 1692 additions and 518 deletions

View File

@@ -1819,6 +1819,11 @@
<Path Width="15" Height="15" Stretch="Uniform" Fill="Black" Data="M992.9 500.1H355c-19.3 0-35 15.7-35 35V660H182V340.8h427.8c32 0 58-26 58-58V58c0-32-25.9-58-58-58H58C26 0 0 26 0 58v224.8c0 32 26 58 58 58h54V689c0 13.3 7.4 24.8 18.2 30.7 6.3 6.3 15.1 10.3 24.8 10.3h165v145.9c0 19.3 15.7 35 35 35h226c19.3 0 35-15.7 35-35s-15.7-35-35-35H390V570.1h567.9V611c0 19.3 15.7 35 35 35s35-15.7 35-35v-75.9c0-19.3-15.7-35-35-35zM70 70h527.8v200.8H70V70zM989 830h-89v-89c0-19.3-15.7-35-35-35s-35 15.7-35 35v89h-89c-19.3 0-35 15.7-35 35s15.7 35 35 35h89v89c0 19.3 15.7 35 35 35s35-15.7 35-35v-89h89c19.3 0 35-15.7 35-35s-15.7-35-35-35z"></Path>
</Fluent:Button.Icon>
</Fluent:Button>
<Fluent:Button Header="新建根主题" Width="70" VerticalAlignment="Top" Command="{Binding PageViewModel.DiagramViewModel.AddRootCommand}">
<Fluent:Button.LargeIcon>
<Path Width="15" Height="15" Stretch="Uniform" Fill="Black" Data="M696 334.2H326.6c-27.4 0-49.7-22.3-49.7-49.7V114c0-27.4 22.3-49.7 49.7-49.7H696c27.4 0 49.7 22.3 49.7 49.7v170.5c0.1 27.4-22.2 49.7-49.7 49.7zM326.6 106.8c-3.9 0-7.1 3.3-7.1 7.1v170.5c0 3.9 3.3 7.1 7.1 7.1H696c3.9 0 7.1-3.3 7.1-7.1V114c0-3.9-3.3-7.1-7.1-7.1H326.6zM895 960.8H127.7c-27.4 0-49.7-22.3-49.7-49.7V541.6c0-27.4 22.3-49.7 49.7-49.7H895c27.4 0 49.7 22.3 49.7 49.7V911c0 27.5-22.3 49.8-49.7 49.8zM127.7 534.5c-3.9 0-7.1 3.3-7.1 7.1V911c0 3.9 3.3 7.1 7.1 7.1H895c3.9 0 7.1-3.3 7.1-7.1V541.6c0-3.9-3.3-7.1-7.1-7.1H127.7zM511.4 533.1c-11.8 0-21.3-9.5-21.3-21.3l-0.1-198.9c0-11.8 9.5-21.3 21.3-21.3s21.3 9.5 21.3 21.3l0.1 198.9c0 11.8-9.5 21.3-21.3 21.3z"></Path>
</Fluent:Button.LargeIcon>
</Fluent:Button>
<Fluent:Button Header="上移" SizeDefinition="Middle" Width="60" VerticalAlignment="Top" Command="{Binding PageViewModel.DiagramViewModel.MoveForwardCommand}">
<Fluent:Button.Icon>
<Path Width="15" Height="15" Stretch="Uniform" Fill="Black" Data="M62.5 500L312.5 500L312.5 937.5L687.5 937.5L687.5 500L937.5 500L500 62.5Z"></Path>
@@ -1867,11 +1872,11 @@
</Fluent:SplitButton.LargeIcon>
<StackPanel Orientation="Horizontal">
<TextBlock Text="文件地址:"></TextBlock>
<TextBox x:Name="imageurl" Width="300" Height="50" Text="{Binding PageViewModel.DiagramViewModel.SelectedItem.ImageInfo.Url}"/>
<TextBox x:Name="imageurl" Width="300" Height="50" Text="{Binding PageViewModel.DiagramViewModel.ImageInfo.Url}"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="提示文本:"></TextBlock>
<TextBox x:Name="imagetext" Width="300" Height="50" Text="{Binding PageViewModel.DiagramViewModel.SelectedItem.ImageInfo.Text}"/>
<TextBox x:Name="imagetext" Width="300" Height="50" Text="{Binding PageViewModel.DiagramViewModel.ImageInfo.Text}"/>
</StackPanel>
<Fluent:MenuItem Header="插入图片" Command="{Binding PageViewModel.DiagramViewModel.AddImageCommand}">
<MenuItem.CommandParameter>
@@ -1892,7 +1897,7 @@
<Fluent:SplitButton.LargeIcon>
<iconPacks:PackIconMaterial Kind="TextBoxOutline" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Fluent:SplitButton.LargeIcon>
<TextBox x:Name="remark" Width="300" Height="50" Text="{Binding PageViewModel.DiagramViewModel.SelectedItem.Remark}"/>
<TextBox x:Name="remark" Width="300" Height="50" Text="{Binding PageViewModel.DiagramViewModel.Remark}"/>
<Fluent:MenuItem Header="插入备注" Command="{Binding PageViewModel.DiagramViewModel.AddRemarkCommand}" CommandParameter="{Binding ElementName=remark,Path=Text}"></Fluent:MenuItem>
<Fluent:MenuItem Header="移除已有备注" Command="{Binding PageViewModel.DiagramViewModel.RemoveRemarkCommand}"></Fluent:MenuItem>
<Fluent:SplitButton.ToolTip>