Books.web/obj/Release/Package/PackageTmp/Views/Buy/ShowOrders.cshtml
(完整代码) 1KB@model IEnumerable<Books.Service.DAL.OrdersEntities>
@{
ViewBag.Title = "ShowOrders";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>ShowOrders</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table class="table">
<tr>
<th>
@Html.Label("购买时间")
</th>
<th>
@Html.Label("支付状态")
</th>
<th>
@Html.Label("总价")
</th>
<th>
@Html.Label("购买数量")
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.CreateDateTime)
</td>
<td>
@if (item.IsDeleted)
{
<span>已支付</span>
}
else {<span>未支付</span> }
</td>
<td>
@Html.DisplayFor(modelItem => item.Remark)
</td>
<td>
@Html.DisplayFor(modelItem => item.Address)
</td>
<td>
@if (!item.IsDeleted)
{@Html.ActionLink("去支付", "/Pay", new { id = item.Id },new {@class="btn btn-success" }); }
</td>
</tr>
}
</table>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。