server/aspnetapp/Views/Goods/AddGoods.cshtml
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@model aspnetapp.Models.GoodsEntity
@{
Layout = null;
string[] Day = { "周一", "周二", "周三", "周四", "周五", "周六", "周日" };
}
<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="AddGoods" method="post" enctype="multipart/form-data">
<div class="lyct" style="min-height:300px;max-height:700px; overflow:auto">
@Html.HiddenFor(s => s.Id)
<input hidden="hidden" id="IsSpecial" name="IsSpecial" value="1" />
<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">
<select class="choose-tag form-control js-example-basic-multiple required" style="width:98%" name="OnWeek">
<optgroup label="周几" hidden>
@for (int i = 0; i < 7; i++)
{
<option value="@(i+1)">@Day[i]</option>
}
</optgroup>
</select>
</td>
<td rowspan="6" style="text-align:center;width:200px">
<div id="showimg" style=" margin:0;"></div>
<div class="action-group" style="margin-top:10px">
<a class="btn btn-file shangchuan" name="upload">
<em class="iconfont icon_file"></em>
后面还有 154 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。