server/aspnetapp/Views/Goods/Index.cshtml
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@model IEnumerable<aspnetapp.Models.GoodsEntity>
@{
var allcategories = ViewBag.Categories as List<CategoryEntity> ?? new List<CategoryEntity>();
}
<div class="table-box">
<div class="col-md-12 xigw-tab">
<div class="tab-content">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active">
<a href="###">套餐列表</a>
</li>
</ul>
<div style="padding-top:10px;">
<div class="action-box center-block" style="width:100%">
<a href="###" class="btn btn-sub blue btn_create edit">新建</a>
</div>
</div>
<table class="table salary-list" style="text-align:center !important">
<thead>
<tr>
<th style="text-align:center !important" width="100">序号</th>
<th style="text-align:center !important">套餐图片</th>
<th style="text-align:center !important">套餐名称</th>
<th style="text-align:center !important">套餐描述</th>
<th style="text-align:center !important">餐品分类</th>
<th style="text-align:center !important">供餐时间</th>
<th style="text-align:center !important">是否清真</th>
<th style="text-align:center !important">操作</th>
</tr>
</thead>
<tbody>
@foreach (var item in Model)
{
<tr>
<td>@item.SortNo</td>
<td>
@if (!string.IsNullOrEmpty(item.Pic))
{
<img src="img?unid=@item.Id" height="50" width="50" />
}
</td>
<td>
@Html.DisplayFor(modelItem => item.Name)
@if (item.Revision == 0)
{
<span style="color:red"><strong>异常!</strong>Revision的值为0</span>
}
</td>
<td>
@Html.DisplayFor(modelItem => item.Characteristic)
</td>
<td>
@*@allcategories.Find(s => s.Id == item.CategoryId)?.Nameshow
<br />
当前日期 + (@allcategories.Find(s => s.Id == item.CategoryId)?.Dir) 天*@
@allcategories.Find(s => s.Id == item.CategoryId)?.Info
</td>
<td>
后面还有 56 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。