mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
impl #1015
This commit is contained in:
@@ -104,7 +104,8 @@
|
||||
<Expander
|
||||
HorizontalAlignment="Stretch"
|
||||
HorizontalContentAlignment="Stretch"
|
||||
Header="Upload Announcement">
|
||||
Header="Upload Announcement"
|
||||
IsExpanded="True">
|
||||
<StackPanel Spacing="8">
|
||||
<TextBox
|
||||
Header="Title"
|
||||
@@ -114,6 +115,10 @@
|
||||
Header="Link"
|
||||
PlaceholderText="Please input link"
|
||||
Text="{Binding Announcement.Link, Mode=TwoWay}"/>
|
||||
<TextBox
|
||||
Header="Link"
|
||||
PlaceholderText="Max present version(leave empty to present in any version)"
|
||||
Text="{Binding Announcement.MaxPresentVersion, Mode=TwoWay}"/>
|
||||
<TextBox
|
||||
AcceptsReturn="True"
|
||||
Header="Content"
|
||||
|
||||
@@ -26,4 +26,9 @@ internal class UploadAnnouncement
|
||||
/// 原帖链接
|
||||
/// </summary>
|
||||
public string Link { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 最高呈现版本
|
||||
/// </summary>
|
||||
public string? MaxPresentVersion { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user