
Some checks failed
TechAct / explore-gitea-actions (push) Failing after 13s
- 重构AppMainStruct、AssignmentQuestion、Question等实体模型 - 更新相关DTO以匹配新的数据结构 - 优化前端页面布局和组件 - 添加全局信息和笔记功能相关代码 - 更新数据库迁移和程序配置
22 lines
819 B
Plaintext
22 lines
819 B
Plaintext
<MudPaper Elevation=1 Class="w-100 rounded-xl ma-2 pa-2" Height="@Height" Style="@Style">
|
|
<MudPaper Elevation=0 Class="w-100 pa-2 align-content-center" Height="20%" Style="background-color:transparent"> @TitleContent </MudPaper>
|
|
<MudPaper Elevation=0 Class="w-100 pa-2" Style="background-color:transparent" Height="60%"> @BodyContent </MudPaper>
|
|
<MudPaper Elevation=0 Class="w-100 pa-2 align-content-center" Style="background-color:transparent" Height="20%"> @FooterContent </MudPaper>
|
|
</MudPaper>
|
|
|
|
|
|
@code {
|
|
[Parameter]
|
|
public string Style { get; set; }
|
|
[Parameter]
|
|
public string Height { get; set; } = "200px";
|
|
|
|
[Parameter]
|
|
public RenderFragment TitleContent { get; set; }
|
|
|
|
[Parameter]
|
|
public RenderFragment BodyContent { get; set; }
|
|
|
|
[Parameter]
|
|
public RenderFragment FooterContent { get; set; }
|
|
} |