调整UI布局,消息模版新增语言字段

This commit is contained in:
yxw
2025-12-15 18:28:17 +08:00
parent 9b8bf43eb6
commit 98e3f7ab73
11 changed files with 510 additions and 328 deletions

View File

@@ -1,24 +1,32 @@
@page "/"
@page "/{locale}/"
@attribute [Authorize]
<PageContainer Title="控制台首页">
<PageTitle>Home</PageTitle>
<h1>Hello, world!</h1>
Welcome to your new app.
<h1>Hello, world!</h1>
<li>
<a href="/category/list">产品分类</a>
</li>
<li>
<a href="/product/category/edit">产品分类编辑</a>
</li>
<li>
<a href="/system/language/list">多语言设置</a>
</li>
<li>
<a href="/system/locale/resource/list">多语言资源设置</a>
</li>
<li>
<a href="/system/role/list">角色管理</a>
</li>
Welcome to your new app.
<li>
<a href="/category/list">产品分类</a>
</li>
<li>
<a href="/product/category/edit">产品分类编辑</a>
</li>
<li>
<a href="/system/language/list">多语言设置</a>
</li>
<li>
<a href="/system/locale/resource/list">多语言资源设置</a>
</li>
<li>
<a href="/system/role/list">角色管理</a>
</li>
</PageContainer>
@code {
[Parameter]
public string Locale { get; set; } = string.Empty;
}