|
@@ -82,6 +82,7 @@ namespace GxPress.Service.Implement.Navigation
|
|
StyleType = item.StyleType,
|
|
StyleType = item.StyleType,
|
|
ActionUrl = item.ActionUrl,
|
|
ActionUrl = item.ActionUrl,
|
|
ControllerUrl = item.ControllerUrl,
|
|
ControllerUrl = item.ControllerUrl,
|
|
|
|
+ PageSize=item.PageSize,
|
|
IsPage = item.IsPage,
|
|
IsPage = item.IsPage,
|
|
IsSkip = item.IsSkip,
|
|
IsSkip = item.IsSkip,
|
|
LabelName = item.LabelName,
|
|
LabelName = item.LabelName,
|
|
@@ -112,7 +113,7 @@ namespace GxPress.Service.Implement.Navigation
|
|
}
|
|
}
|
|
//获取媒体标签
|
|
//获取媒体标签
|
|
var mediaIds = await _mediaLableRepository.GetMediaIdsAysnc(item.Id);
|
|
var mediaIds = await _mediaLableRepository.GetMediaIdsAysnc(item.Id);
|
|
- var medias = await _mediaRepository.GetNavigationMediaResults(mediaIds);
|
|
|
|
|
|
+ var medias = await _mediaRepository.GetNavigationMediaResults(mediaIds,item.PageSize);
|
|
navigationLabelMediaResult.MediaResults = medias.ToList();
|
|
navigationLabelMediaResult.MediaResults = medias.ToList();
|
|
foreach (var itemMedia in navigationLabelMediaResult.MediaResults)
|
|
foreach (var itemMedia in navigationLabelMediaResult.MediaResults)
|
|
itemMedia.ImageUrls = StringUtils.AddDomain(itemMedia.ImageUrls);
|
|
itemMedia.ImageUrls = StringUtils.AddDomain(itemMedia.ImageUrls);
|