54 lines
2.2 KiB
Plaintext
54 lines
2.2 KiB
Plaintext
@* <div class="col-4 p-0 fs-3 d-flex justify-content-between" @onclick="()=>doChangeStep(Core.Enum.DoorDefStep.Door)">
|
|
@if (DoorDefStep == Core.Enum.DoorDefStep.Door)
|
|
{
|
|
<div class="tail-left"></div>
|
|
<div class="@doorCSS flex-fill text-center">Door</div>
|
|
<div class="arrow-right"></div>
|
|
}
|
|
else
|
|
{
|
|
<div class="@doorCSS flex-fill text-center">Door</div>
|
|
}
|
|
</div>
|
|
<div class="col-4 p-0 fs-3 d-flex justify-content-between" @onclick="()=>doChangeStep(Core.Enum.DoorDefStep.Hardware)">
|
|
@if (DoorDefStep == Core.Enum.DoorDefStep.Hardware)
|
|
{
|
|
<div class="tail-left"></div>
|
|
<div class="@hwCSS flex-fill text-center">Hardware</div>
|
|
<div class="arrow-right"></div>
|
|
}
|
|
else
|
|
{
|
|
<div class="@hwCSS flex-fill text-center">Hardware</div>
|
|
}
|
|
</div>
|
|
*@
|
|
|
|
<div class="containerAll row bg-secondary text-light">
|
|
@if (currListOrderStatus != null)
|
|
{
|
|
@foreach (var item in currListOrderStatus)
|
|
{
|
|
<div class=" p-0 fs-5 d-flex justify-content-between flex-wrap align-content-center" style="width: calc((100%)/7)" @onclick="()=>doChangeStep(item.Value)">
|
|
@if (int.Parse(item.Value) == CurrOrderStatus)
|
|
{
|
|
<div class="tail-left" style="--itemColor: @item.DefaultVal"></div>
|
|
<div class="button2Click flex-fill text-center d-flex flex-wrap align-content-center" style="--itemColor: @item.DefaultVal">@item.Label</div>
|
|
<div class="arrow-right" style="--itemColor: @item.DefaultVal"></div>
|
|
}
|
|
else
|
|
{
|
|
@if (int.Parse(item.Value) < CurrOrderStatus)
|
|
{
|
|
<div class="flex-fill text-center" style="--itemColor: #6c757d">@item.Label <i class="fa-solid fa-check"></i></div>
|
|
}
|
|
else
|
|
{
|
|
<div class="flex-fill text-center" style="--itemColor: #6c757d">@item.Label</div>
|
|
}
|
|
}
|
|
</div>
|
|
|
|
}
|
|
}
|
|
</div> |