You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.1 KiB

using AuroraDesk.ViewModels.Base;
2 months ago
using ReactiveUI;
namespace AuroraDesk.ViewModels.Pages;
2 months ago
/// <summary>
/// 帮助中心页面ViewModel
/// </summary>
public class HelpPageViewModel : RoutableViewModel
2 months ago
{
private string _welcomeMessage = "欢迎使用帮助中心!";
private string _version = "v1.0.0";
private string _lastUpdate = "2025年1月10日";
/// <summary>
/// 构造函数
/// </summary>
/// <param name="hostScreen">宿主 Screen</param>
public HelpPageViewModel(IScreen hostScreen) : base(hostScreen, "Help")
{
}
2 months ago
/// <summary>
/// 欢迎消息
/// </summary>
public string WelcomeMessage
{
get => _welcomeMessage;
set => this.RaiseAndSetIfChanged(ref _welcomeMessage, value);
}
/// <summary>
/// 版本信息
/// </summary>
public string Version
{
get => _version;
set => this.RaiseAndSetIfChanged(ref _version, value);
}
/// <summary>
/// 最后更新时间
/// </summary>
public string LastUpdate
{
get => _lastUpdate;
set => this.RaiseAndSetIfChanged(ref _lastUpdate, value);
}
}