@using Entities.DTO @using TechHelper.Client.Exam @foreach (var majorQG in MajorQGList) { @majorQG.Title @if (majorQG.Score > 0) { 总分: @majorQG.Score 分 } @if (!string.IsNullOrWhiteSpace(majorQG.Descript)) { @((MarkupString)majorQG.Descript.Replace("\n", "
"))
} @if (majorQG.SubQuestions.Any()) { @foreach (var question in majorQG.SubQuestions) { } } @if (majorQG.SubQuestionGroups.Any()) { } }
@code { [Parameter] public List MajorQGList { get; set; } [Parameter] public string Class { get; set; } = "my-2 pa-1"; [Parameter] public int Elevation { get; set; } = 0; }