2020-05-29 00:33:49 +08:00
|
|
|
|
@namespace AntDesign
|
2020-05-14 16:26:21 +08:00
|
|
|
|
@inherits AntDomComponentBase
|
|
|
|
|
|
2021-01-21 17:20:10 +08:00
|
|
|
|
<div class="@ClassMapper.Class" @ref="Ref">
|
2020-09-16 13:58:16 +08:00
|
|
|
|
@if (IsShowIcon)
|
|
|
|
|
{
|
|
|
|
|
<div class="@IconClassMapper.Class">
|
|
|
|
|
@if (IsImage)
|
|
|
|
|
{
|
|
|
|
|
@((MarkupString)_svgImage)
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
@BuildIcon
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
}
|
2020-05-14 16:26:21 +08:00
|
|
|
|
<div class="ant-result-title">
|
2020-09-16 13:58:16 +08:00
|
|
|
|
@if (TitleTemplate != null)@TitleTemplate else @Title
|
2020-05-14 16:26:21 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="ant-result-subtitle">
|
2020-09-16 13:58:16 +08:00
|
|
|
|
@if (SubTitleTemplate != null)@SubTitleTemplate else @SubTitle
|
2020-05-14 16:26:21 +08:00
|
|
|
|
</div>
|
|
|
|
|
@if (ChildContent != null)
|
|
|
|
|
{
|
|
|
|
|
<div class="ant-result-content">
|
|
|
|
|
@ChildContent
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
@if (Extra != null)
|
|
|
|
|
{
|
|
|
|
|
<div class="ant-result-extra">
|
|
|
|
|
@Extra
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
</div>
|