ExamWeb/Views/Topics/Create.cshtml

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。


@{
    var reault = ViewBag.Paper as ExamWeb.Models.Paper;
    string title = reault.PaperName + "—— -添加考题";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<link href="~/Content/Site.css" rel="stylesheet" />
<link href="~/Content/bootstrap.min.css" rel="stylesheet" />
<link href="~/Content/global.css" rel="stylesheet" />

<h3>@title</h3>
<h4>试卷信息</h4>
<hr />
@using (Html.BeginForm())
{
    <table height="300px">
        <tr>
            <td width="100px">考题描述</td>
            <td>
                @Html.TextBox("TopicExplain", null, new { @class = "form-control text-box  single-line", placeholder = "请输入考题描述", id = "TopicExplain" })
                <span style="color:red" id="PaperNameMsg"></span>
            </td>
        </tr>
        <tr>
            <td>该题分值</td>
            <td>
                @Html.TextBox("TopicScore", null, new { @class = "form-control text-box  single-line", placeholder = "请输入该题分值", id = "TopicScore" })
                <span style="color:red" id="PaperExplainMsg"></span>
            </td>
        </tr>
        <tr>
            <td>类型</td>
            <td>
                @*@Html.DropDownList("",(SelectList)new SelectList[] { new },  "--请选择供应商--"))*@
                <select name="TopicType">
                    <option value=1>单选</option>
                    <option value=2>判断</option>
                    <option value=3>问答</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>A选项</td>
            <td>
                @Html.TextBox("TopicA", null, new { @class = "form-control text-box  single-line", placeholder = "请输入A选项", id = "TopicA" })
                <span style="color:red" id="PaperTimeMsg"></span>
            </td>
        </tr>
        <tr>
            <td>B选项</td>
            <td>
                @Html.TextBox("TopicB", null, new { @class = "form-control text-box  single-line", placeholder = "请输入B选项", id = "TopicB" })
                <span style="color:red" id="PaperTimeMsg"></span>
            </td>
        </tr>
        <tr>
            <td>C选项</td>
            <td>
                @Html.TextBox("TopicC", null, new { @class = "form-control text-box  single-line", placeholder = "请输入V选项", id = "TopicC" })
后面还有 30 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。