2020-05-29 00:33:49 +08:00
|
|
|
@namespace AntDesign
|
2020-04-23 17:13:56 +08:00
|
|
|
@inherits AntDomComponentBase
|
2020-03-26 15:59:24 +08:00
|
|
|
|
|
|
|
|
2020-04-23 17:13:56 +08:00
|
|
|
<div class="@ClassMapper.Class" style="@Style"id="@Id">
|
|
|
|
<div class="ant-steps-item-container" @onclick="@OnClick" tabindex="@GetTabIndex()" @attributes="@_containerAttributes">
|
2020-03-26 15:59:24 +08:00
|
|
|
@if (!Last)
|
|
|
|
{
|
|
|
|
<div class="ant-steps-item-tail"></div>
|
|
|
|
}
|
|
|
|
<div class="ant-steps-item-icon">
|
|
|
|
@if (!ShowProcessDot)
|
|
|
|
{
|
|
|
|
<span class="ant-steps-icon">
|
|
|
|
@if (string.IsNullOrEmpty(Icon))
|
|
|
|
{
|
|
|
|
if (Status == "finish")
|
|
|
|
{
|
2020-06-07 19:41:00 +08:00
|
|
|
<Icon type="check"></Icon>
|
2020-03-26 15:59:24 +08:00
|
|
|
}
|
|
|
|
else if (Status == "error")
|
|
|
|
{
|
2020-06-07 19:41:00 +08:00
|
|
|
<Icon type="close"></Icon>
|
2020-03-26 15:59:24 +08:00
|
|
|
}
|
|
|
|
else if (Status == "process" || Status == "wait")
|
|
|
|
{
|
|
|
|
@(Index+1)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
if (Status == "error")
|
|
|
|
{
|
2020-06-07 19:41:00 +08:00
|
|
|
<Icon type="close"></Icon>
|
2020-03-26 15:59:24 +08:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2020-06-07 19:41:00 +08:00
|
|
|
<Icon type="@Icon"></Icon>
|
2020-03-26 15:59:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
</span>
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
<span class="ant-steps-icon">
|
|
|
|
<span class="ant-steps-icon-dot"></span>
|
|
|
|
</span>
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
<div class="ant-steps-item-content">
|
|
|
|
<div class="ant-steps-item-title">
|
|
|
|
@Title
|
|
|
|
@if (!string.IsNullOrEmpty(Subtitle))
|
|
|
|
{
|
|
|
|
<div class="ant-steps-item-subtitle">@Subtitle</div>
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
@if (!string.IsNullOrEmpty(Description))
|
|
|
|
{
|
|
|
|
<div class="ant-steps-item-description">@Description</div>
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-04-23 17:13:56 +08:00
|
|
|
</div>
|