WebHost/Views/Topic/InsertTopic.cshtml

(开头部分) 11KB

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

@model ViewModel.TopicViewExt
@{
    ViewBag.Title = "InsertTopic";
    Layout = null;
}
<link href="/Scripts/kindeditor-4.1.10/themes/default/default.css" rel="stylesheet" />

<script src="/Scripts/kindeditor-4.1.10/kindeditor.js"></script>
<script src="/Scripts/kindeditor-4.1.10/lang/zh_CN.js"></script>
<script src="/Scripts/kindeditor-4.1.10/kindeditorconfig.js"></script>

<link href="/Scripts/uploadify/uploadify.css" rel="stylesheet" />
<script src="/Scripts/uploadify/jquery.uploadify.min.js"></script>
<script src="/Scripts/jquery.jqprint-0.3.js"></script>
<style type="text/css">
    em {
        color: red;
        font-weight: bold;
    }
</style>




<form id="form1" class="form-horizontal validate" role="form">
    <div class="form-group">
        <label class="col-sm-3 control-label">主题名称:<em>*</em></label>
        <div class="col-sm-6">
            @Html.TextBoxFor(n => n.TopicName, new { @class = "form-control", id = "TopicName", title = "主题名称", check_type = "required", maxlength = "18", placeholder = "主题名称", required_message = "请输入主题名称" })


        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">主题Logo:</label>
        <div class="col-sm-6">
            <input type="file" id="uploadify2" name="uploadify2">

            @Html.HiddenFor(n => n.PicUrl, new
           {
               @style = "display:none",
               height = "80",
               width = "80",
               title = "菜系高亮",
               check_type =

                   "required",
               required_message = "请上传菜系图片!"
           })
            <img id="SmallUrl" width="40" height="40" src="@ViewBag.PicUrl" >

        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">主题描述:</label>
        <div class="col-sm-6">
            @Html.HiddenFor(n=>n.ID)
            @Html.HiddenFor(n => n.Customer_ID)
            @Html.HiddenFor(n => n.CreateUserID)
            @Html.HiddenFor(n => n.IsValid)
后面还有 243 行代码,购买后查看完整代码

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

AI 解读

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

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