exam_service

This commit is contained in:
SpecialX
2025-06-11 15:02:20 +08:00
parent 97843ab5fd
commit e26881ec2f
52 changed files with 3510 additions and 1174 deletions

View File

@@ -4,7 +4,7 @@
<MudSnackbarProvider />
<MudPopoverProvider />
@*
<MudPaper Style="position: fixed;
top: 0;
left: 0;
@@ -48,4 +48,39 @@
</MudPaper>
</MudPaper>
*@
<MudPaper Style="position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-image: url('/ref/bg4.jpg');
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
filter: blur(10px);
z-index: -1;">
</MudPaper>
<MudPaper Style="background-color:transparent ; height:100vh" Class="overflow-hidden">
<MudPaper Class="justify-content-center" Style="background-color:blue; height: 50px">
<MudStack Row="true" Class="justify-content-between">
<NavBar Class="flex-grow-1" Style="background-color:transparent; color:white" />
<AuthLinks Class="justify-content-end " Style="background-color:transparent; color:white" />
</MudStack>
</MudPaper>
<MudPaper Class="d-flex flex-grow-0 " Style="background-color:#30303022; height:calc(100vh - 50px)">
@* <MudPaper Class="ma-1" Width="200px">
</MudPaper> *@
<MudPaper Class="d-flex ma-1 flex-grow-1 overflow-auto">
@Body
</MudPaper>
</MudPaper>
</MudPaper>

View File

@@ -2,9 +2,9 @@
<MudStack Row="true">
<MudNavLink Class="py-5 px-3" Href="" Match="NavLinkMatch.All"> 主页 </MudNavLink>
<MudNavLink Class="py-5 px-3" Href="Account/Manage"> 个人中心 </MudNavLink>
<MudNavLink Class="py-5 px-3" Href="Edit"> 编辑器 </MudNavLink>
<MudNavLink Class="py-5 px-3" Href="exam"> Exam </MudNavLink>
<MudNavLink Class="py-5 px-3" Href="ai"> AI </MudNavLink>
<MudNavLink Class="py-5 px-3" Href="test"> 测试页面 </MudNavLink>
<MudNavLink Class="py-5 px-3" Href="test"> Test </MudNavLink>
</MudStack>
</MudPaper>

View File

@@ -4,6 +4,6 @@
@code {
protected override void OnInitialized()
{
Navigation.NavigateToLogin("authentication/login");
Navigation.NavigateToLogin("/login");
}
}