src/ZKEACMS.Shop/Views/CustomOrder/Index.cshtml

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@using ZKEACMS.Shop.ViewModel
@model OrderListViewModel
@{
    Layout = Layouts.CustomerCenter;
    ViewBag.Title = L("My Order").Text;
}
<div class="panel panel-default">
    <div class="panel-heading">
        @L("My Order")
    </div>
    <table class="table table-striped table-hover table-response">
        <thead>
            <tr>
                <th>
                    @L("Order Number")
                </th>
                <th>
                    @L("Amount")
                </th>
                <th>
                    @L("Contact")
                </th>
                <th>
                    @L("Phone")
                </th>
                <th>
                    @L("Shipping Address")
                </th>
                <th>
                    @L("Order Date")
                </th>
                <th>
                    @L("Status")
                </th>
                <th>
                    @L("Action")
                </th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model.Orders)
            {
                <tr class="@(item.OrderStatus == (int)ZKEACMS.Shop.OrderStatus.UnPaid ? "warning" : "")">
                    <td head="@L("Order Number")">
                        <a href="@Url.Action("Detail", new { Id = item.ID })">@item.ID</a>
                    </td>
                    <td head="@L("Amount")">
                        @item.Total.ToString("F2")
                    </td>
                    <td head="@L("Contact")">
                        @item.Contact
                    </td>
                    <td head="@L("Phone")">
                        @item.PhoneNumber
                    </td>
                    <td head="@L("Shipping Address")">
                        @item.ShippingAddress
                    </td>
                    <td head="@L("Order Date")">
                        @item.CreateDate.Value.ToString("g")
后面还有 29 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。