Books.web/Views/Buy/Pay.cshtml

(完整代码) 1KB

@model Books.Service.DAL.OrdersEntities

@{
    ViewBag.Title = "Pay";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Pay</h2>

<div>
    <h4>OrdersEntities</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.Label("下单时间")
        </dt>

        <dd>
            @Html.DisplayFor(model => model.CreateDateTime)
        </dd>
        <dt>
            @Html.Label("收货地址")
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Address)
        </dd>


        <dt>
            @Html.Label("总价格")
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Remark)
        </dd>
    </dl>
    <table class="table">
        <tr>
            <th>书名</th>
            <th>价格</th>
            <th>数量</th>
        </tr>
        @foreach (var item in Model.OrderDetailEntities)
        {
            <tr>
                <td>@item.BookEntities.Name</td>
                <td>@item.BookEntities.Price</td>
                <td>@item.counts</td>
            </tr>
        }
    </table>
    <form action="/Buy/PayOK" method="post">
        <input type="hidden" name="id" value="@Model.Id" />
        <input type="submit"  value="支付" />
    </form>
</div>

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

AI 解读 AI

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

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