server/aspnetapp/Views/Goods/Create.cshtml

(开头部分) 8KB

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

@model aspnetapp.Models.GoodsEntity

@{
    Layout = null;
}
<style>
    .laber {
        font-weight: bold
    }
</style>
@{
    var allCategories = ViewBag.allCategories as List<CategoryEntity>;
}
<div class="lywrap" style="width:1000px;">
    <div class="lytt">
        <h2 class="u-tt">新建套餐</h2>
        <span class="lyclose layerclose">×</span>
    </div>
    <form action="Create" method="post" enctype="multipart/form-data">
        <div class="lyct" style="min-height:300px;max-height:700px; overflow:auto">
            <table class="m-table">
                <colgroup>
                    <col style="width:120px" />
                    <col style="width: 25%" />
                    <col style="width:120px" />
                    <col />
                    <col style="width:120px" />
                    <col style="width: 22%" />
                </colgroup>

                <tr>
                    <td class="laber">序号<span style="color:red">*</span></td>
                    <td colspan="5">
                        @Html.TextBoxFor(s => s.SortNo, new { @class = "form-control required", @autocomplete = "off" })
                    </td>
                </tr>
                <tr>
                    <td class="laber">套餐名称<span style="color:red">*</span></td>
                    <td>
                        @Html.TextBoxFor(s => s.Name, new { @class = "form-control required", @autocomplete = "off" })
                    </td>
                    <td class="laber">餐品分类<span style="color:red">*</span></td>
                    <td colspan="2">
                        <div class="input-group input-group-btn">
                            <input type="text" class="form-control ml required" name="CategoryId" id="CategoryId" style="height:0px" />
                            <input type="text" class="form-control ml required" data-toggle="dropdown" autocomplete="off" readonly />
                            <ul class="dropdown-menu dropdown-menu-right ml-list">
                                @if(allCategories != null)
                                {
                                    foreach (var item in allCategories)
                                    {
                                        @*<li><a style="overflow:hidden; text-overflow:ellipsis" href="#" nr="@item.Id">@item.Nameshow + @item.Dir 天</a></li>*@
                                        <li><a style="overflow:hidden; text-overflow:ellipsis" href="#" nr="@item.Id" nrshow="@item.Info">@item.Info</a></li>
                                    }
                                }
                            </ul>
                        </div>
                    </td>
                    <td rowspan="6" style="text-align:center;width:200px">
                        @if (!string.IsNullOrEmpty(Model?.Imgname))
后面还有 129 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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