feat: 角色对菜单授权增加排序
This commit is contained in:
parent
7e7b9d0ec0
commit
eea8838963
|
@ -20,7 +20,7 @@ namespace BootstrapAdmin.DataAccess.Models
|
|||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Description("块")]
|
||||
[Description("代码块")]
|
||||
Block
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
@code {
|
||||
RenderFragment<Navigation> RenderTreeItem => item =>
|
||||
@<div class="d-flex flex-fill"><span class="flex-fill">@item.Name</span><span class="mx-3">@item.Order</span><span>@GetApp(item.Application)</span></div>;
|
||||
@<div class="d-flex flex-fill"><span class="flex-fill">@item.Name</span><span class="mx-3">@item.Order</span><span class="app-type">@item.IsResource.ToDescriptionString()</span><span class="app-text">@GetApp(item.Application)</span></div>;
|
||||
}
|
|
@ -114,5 +114,19 @@
|
|||
}
|
||||
|
||||
.card:hover {
|
||||
box-shadow: 0 0 8px 0 rgb(0 0 0 / 8%), 0 2px 4px 0 rgb(255 255 255 / 0%);
|
||||
box-shadow: 0 1px 7px 0 rgb(0 0 0 / 5%), 0 2px 8px 0 rgb(0 0 0 / 7%), 0 3px 9px 0 rgb(0 0 0 / 6%), 0 5px 10px 0 rgb(0 0 0 / 3%);
|
||||
}
|
||||
|
||||
.app-type {
|
||||
width: 40px;
|
||||
text-align: left;
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
|
||||
.app-text {
|
||||
width: 100px;
|
||||
overflow: hidden;
|
||||
text-align: right;
|
||||
text-overflow: ellipsis;
|
||||
color: var(--bs-info);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue