diff --git a/DownKyi/DownKyi.csproj b/DownKyi/DownKyi.csproj
index 54d9a1d..d2b905c 100644
--- a/DownKyi/DownKyi.csproj
+++ b/DownKyi/DownKyi.csproj
@@ -440,6 +440,7 @@
PreserveNewest
+
PreserveNewest
diff --git a/DownKyi/Models/FavoritesMedia.cs b/DownKyi/Models/FavoritesMedia.cs
index 562544b..99f30b8 100644
--- a/DownKyi/Models/FavoritesMedia.cs
+++ b/DownKyi/Models/FavoritesMedia.cs
@@ -1,14 +1,28 @@
-using Prism.Mvvm;
+using DownKyi.Core.BiliApi.BiliUtils;
+using DownKyi.Utils;
+using DownKyi.ViewModels;
+using Prism.Commands;
+using Prism.Events;
+using Prism.Mvvm;
using System.Windows.Media.Imaging;
namespace DownKyi.Models
{
public class FavoritesMedia : BindableBase
{
+ protected readonly IEventAggregator eventAggregator;
+
+ public FavoritesMedia(IEventAggregator eventAggregator)
+ {
+ this.eventAggregator = eventAggregator;
+ }
+
public long Avid { get; set; }
public string Bvid { get; set; }
public long UpperMid { get; set; }
+ #region 页面属性申明
+
private bool isSelected;
public bool IsSelected
{
@@ -71,5 +85,42 @@ namespace DownKyi.Models
get { return upName; }
set { SetProperty(ref upName, value); }
}
+
+ #endregion
+
+ #region 命令申明
+
+ // 视频标题点击事件
+ private DelegateCommand