ExamWeb/Views/Papers/Detial.cshtml
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
ViewBag.Title = "Detial";
Layout = "~/Views/Shared/_Layout.cshtml";
var paperResult = ViewBag.paperResult as ExamWeb.Models.Paper;
var topicResult = ViewBag.topicResult as IList<ExamWeb.Models.Topic>;
var totalPoints = ViewBag.totalPoints;
}
<h2>试卷详情</h2>
<fieldse>
<legend>试卷信息</legend>
<table>
<tr>
<td>试卷名称:</td>
<td>@paperResult.PaperName</td>
</tr>
<tr>
<td>试卷说明:</td>
<td>@paperResult.PaperExplain</td>
</tr>
<tr>
<td>试卷时长:</td>
<td>@paperResult.PaperTime</td>
</tr>
<tr>
<td>试卷总分:</td>
<td>@totalPoints</td>
</tr>
</table>
</fieldse>
<fieldse>
<legend>试卷内容</legend>
<ul>
@foreach (var item in topicResult)
{
<li>
@item.TopicExplain<span>( @item.TopicScore 分)</span>
@Html.ActionLink("删除考题", "", new { TopicID = item.TopicID })|
@Html.ActionLink("修改考题", "Edit", "Topics", new { TopicID = item.TopicID }, null)
</li>
<li style="list-style:none">
<ul>
@if (item.TopicType == 1)
{
<li><span>A. </span> @item.TopicA</li>
<li><span>B. </span> @item.TopicB</li>
<li><span>C. </span> @item.TopicC</li>
<li><span>D. </span> @item.TopicD</li>
}
else if (item.TopicType == 2)
{
<li>该题为判断题</li>
}
else
{
<li>该题为问答题</li>
}
后面还有 8 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。