|
|
@ -590,6 +590,12 @@ namespace DownKyi.ViewModels
|
|
|
|
List<ZoneAttr> zoneList = VideoZone.Instance().GetZones();
|
|
|
|
List<ZoneAttr> zoneList = VideoZone.Instance().GetZones();
|
|
|
|
ZoneAttr zone = zoneList.Find(it => it.Id == VideoInfoView.TypeId);
|
|
|
|
ZoneAttr zone = zoneList.Find(it => it.Id == VideoInfoView.TypeId);
|
|
|
|
if (zone != null)
|
|
|
|
if (zone != null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (zone.ParentId == 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
zoneId = zone.Id;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ZoneAttr zoneParent = zoneList.Find(it => it.Id == zone.ParentId);
|
|
|
|
ZoneAttr zoneParent = zoneList.Find(it => it.Id == zone.ParentId);
|
|
|
|
if (zoneParent != null)
|
|
|
|
if (zoneParent != null)
|
|
|
@ -597,6 +603,7 @@ namespace DownKyi.ViewModels
|
|
|
|
zoneId = zoneParent.Id;
|
|
|
|
zoneId = zoneParent.Id;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 如果只有一个视频章节,则不在命名中出现
|
|
|
|
// 如果只有一个视频章节,则不在命名中出现
|
|
|
|
string sectionName = string.Empty;
|
|
|
|
string sectionName = string.Empty;
|
|
|
|