|
|
@ -87,7 +87,7 @@ namespace DownKyi.ViewModels
|
|
|
|
get => videoSections;
|
|
|
|
get => videoSections;
|
|
|
|
set => SetProperty(ref videoSections, value);
|
|
|
|
set => SetProperty(ref videoSections, value);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public ObservableCollection<VideoSection> CaCheVideoSections { get; set; }
|
|
|
|
private bool isSelectAll;
|
|
|
|
private bool isSelectAll;
|
|
|
|
public bool IsSelectAll
|
|
|
|
public bool IsSelectAll
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -131,7 +131,7 @@ namespace DownKyi.ViewModels
|
|
|
|
DownloadManage.Fill = DictionaryResource.GetColor("ColorPrimary");
|
|
|
|
DownloadManage.Fill = DictionaryResource.GetColor("ColorPrimary");
|
|
|
|
|
|
|
|
|
|
|
|
VideoSections = new ObservableCollection<VideoSection>();
|
|
|
|
VideoSections = new ObservableCollection<VideoSection>();
|
|
|
|
|
|
|
|
CaCheVideoSections = new ObservableCollection<VideoSection>();
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -601,6 +601,7 @@ namespace DownKyi.ViewModels
|
|
|
|
NoDataVisibility = Visibility.Collapsed;
|
|
|
|
NoDataVisibility = Visibility.Collapsed;
|
|
|
|
|
|
|
|
|
|
|
|
VideoSections.Clear();
|
|
|
|
VideoSections.Clear();
|
|
|
|
|
|
|
|
CaCheVideoSections.Clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
@ -661,6 +662,7 @@ namespace DownKyi.ViewModels
|
|
|
|
PropertyChangeAsync(new Action(() =>
|
|
|
|
PropertyChangeAsync(new Action(() =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
VideoSections.Clear();
|
|
|
|
VideoSections.Clear();
|
|
|
|
|
|
|
|
CaCheVideoSections.Clear();
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
|
|
// 添加新数据
|
|
|
|
// 添加新数据
|
|
|
@ -679,6 +681,7 @@ namespace DownKyi.ViewModels
|
|
|
|
IsSelected = true,
|
|
|
|
IsSelected = true,
|
|
|
|
VideoPages = pages
|
|
|
|
VideoPages = pages
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
CaCheVideoSections = VideoSections;
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -686,6 +689,7 @@ namespace DownKyi.ViewModels
|
|
|
|
PropertyChangeAsync(new Action(() =>
|
|
|
|
PropertyChangeAsync(new Action(() =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
VideoSections.AddRange(videoSections);
|
|
|
|
VideoSections.AddRange(videoSections);
|
|
|
|
|
|
|
|
CaCheVideoSections = VideoSections;
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|