server/aspnetapp/Views/Goods/EditGoods.cshtml
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@model aspnetapp.Models.GoodsEntity
@{
Layout = null;
string[] Day = { "周一", "周二", "周三", "周四", "周五", "周六", "周日" };
List<CategoryEntity> allCategories = ViewBag.allCategories as List<CategoryEntity> ?? new List<CategoryEntity>();
}
<style>
.laber {
font-weight: bold
}
</style>
<div class="lywrap" style="width:1000px;">
<div class="lytt">
<h2 class="u-tt">编辑特色餐品</h2>
<span class="lyclose layerclose">×</span>
</div>
<form action="EditGoods" 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">上架时间</td>
<td colspan="2">
<select class="choose-tag form-control js-example-basic-multiple required" style="width:98%" name="OnWeek" id="owss">
<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">
@if (!string.IsNullOrEmpty(Model.Imgname))
{
后面还有 177 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。