server/aspnetapp/Views/BuyrUser/Edit.cshtml
(开头部分) 7KB这里只显示每个文件的开头 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="Edit" method="post" enctype="multipart/form-data">
<div class="lyct" style="min-height:300px;max-height:700px; overflow:auto">
@Html.HiddenFor(s => s.Id)
<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">货品名称</td>
<td>
@Html.TextBoxFor(s => s.Name, new { @class = "form-control ", @autocomplete = "off" })
</td>
<td class="laber">分类</td>
<td colspan="2">
<div class="input-group input-group-btn">
<input type="text" name="CategoryId" id="CategoryId" value="@Model.CategoryId" class="form-control ml " data-toggle="dropdown" autocomplete="off">
<ul class="dropdown-menu dropdown-menu-right ml-list">
@foreach (var item in allCategories)
{
<li><a style="overflow:hidden; text-overflow:ellipsis" href="#" nr="@item.Id">@item.Nameshow + @item.Dir 天</a></li>
}
</ul>
</div>
</td>
<td rowspan="6" style="text-align:center;width:200px">
@if (!string.IsNullOrEmpty(Model.Imgname))
{
<div id="row" style=" margin:0;">
<img height="200" width="200" src="img?unid=@Model.Id" />
</div>
}
<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>
<span class="btn-name" data-name="上传照片">上传照片</span>
<input class="file" type="file" id="filecon" name="filecon" />
</a>
后面还有 114 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。