添加页面
This commit is contained in:
24
Atomx.Admin/Atomx.Admin.Client/Pages/Contents/BlogEdit.razor
Normal file
24
Atomx.Admin/Atomx.Admin.Client/Pages/Contents/BlogEdit.razor
Normal file
@@ -0,0 +1,24 @@
|
||||
@page "/content/blog/create"
|
||||
@page "/content/blog/edit/{id:long}"
|
||||
@page "/{locale}/content/blog/create"
|
||||
@page "/{locale}/content/blog/edit/{id:long}"
|
||||
|
||||
<PageContainer Title="@(Id > 0 ? "编辑博客文章" : "新增博客文章")">
|
||||
<Breadcrumb>
|
||||
<Breadcrumb>
|
||||
<BreadcrumbItem Href="/">管理后台</BreadcrumbItem>
|
||||
<BreadcrumbItem Href="/content/page/list">内容管理</BreadcrumbItem>
|
||||
<BreadcrumbItem>博客文章</BreadcrumbItem>
|
||||
</Breadcrumb>
|
||||
</Breadcrumb>
|
||||
<ChildContent>
|
||||
<h3>Tools</h3>
|
||||
</ChildContent>
|
||||
</PageContainer>
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
public string Locale { get; set; } = string.Empty;
|
||||
[Parameter]
|
||||
public long? Id { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user