|
|
|
@ -8,6 +8,7 @@ |
|
|
|
@using Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Rating |
|
|
|
@using Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.ReactionSelection |
|
|
|
@using Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Contents |
|
|
|
@using Volo.CmsKit.Web.Pages.CmsKit.Shared.Components.Tags |
|
|
|
@model IndexModel |
|
|
|
@inject IStringLocalizer<AbpUiResource> Localizer |
|
|
|
<h1 class="text-center">CMS Kit DEMO</h1> |
|
|
|
@ -17,11 +18,20 @@ |
|
|
|
<abp-blockquote class="text-center"> |
|
|
|
|
|
|
|
@await Component.InvokeAsync(typeof(ContentViewComponent), new { entityType = "quote", entityId = "1" }) |
|
|
|
|
|
|
|
|
|
|
|
@await Component.InvokeAsync(typeof(TagViewComponent), new |
|
|
|
{ |
|
|
|
entityType = "quote", |
|
|
|
entityId = "1", |
|
|
|
tags = new List<string> { "a", "b" } |
|
|
|
}) |
|
|
|
|
|
|
|
</abp-blockquote> |
|
|
|
</abp-card-body> |
|
|
|
</abp-card> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<abp-row> |
|
|
|
<abp-column size-md="_6"> |
|
|
|
@if (GlobalFeatureManager.Instance.IsEnabled<RatingsFeature>()) |
|
|
|
@ -72,3 +82,15 @@ |
|
|
|
} |
|
|
|
</abp-column> |
|
|
|
</abp-row> |
|
|
|
|
|
|
|
<abp-row> |
|
|
|
<abp-column size="_12"> |
|
|
|
|
|
|
|
@await Component.InvokeAsync(typeof(TagViewComponent), new |
|
|
|
{ |
|
|
|
entityType = "IndexPage", |
|
|
|
entityId = Guid.Empty.ToString(), |
|
|
|
tags = new List<string> { "a", "b" } |
|
|
|
}) |
|
|
|
</abp-column> |
|
|
|
</abp-row> |
|
|
|
|