QiFeng.ZWY.MagWeb/Views/Consumer/AddressList.cshtml

(开头部分) 2KB

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


@{
    ViewBag.Title = "收货地址列表";
    ViewBag.PathToBtn = "/Consumer/AddAddress";
    ViewBag.TextBtn = "添加";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="row">

    <div class="col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                收货地址列表
            </div>
            <div class="panel-body">
                <div class="dataTable_wrapper">
                    <table width="100%" class="table table-striped table-bordered table-hover" id="dataTables-example">
                        <thead>
                            <tr>
                                <th>用户账号</th>
                                <th>省名称</th>
                                <th>市名称</th>
                                <th>区名称</th>
                                <th>详细地址</th>
                                <th>联系人</th>
                                <th>联系电话</th>
                                <th>是否默认</th>
                            </tr>
                        </thead>
                        <tbody></tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

@section javascript{
    <script src="/Content/admin/dist/js/pagingHelper.js"></script>
    <script src="/Content/admin/dist/js/hotelAmenitiesCateHelper.js"></script>
    <script type="text/javascript">

        var dataParams = {};
        var serverProcessPath = "/Consumer/GetAddressList";
        var showColumns = [
            { data: "UserName" },
            { data: "ProvinceName" },
            { data: "CityName" },
            { data: "DistrictName" },
            { data: "DetailedAddress" },
            { data: "Contacts" },
            { data: "ContactMobile" },
            { data: "strIsDefault" }
        ];
        pagingHelper.Paging(serverProcessPath, dataParams, showColumns, null, false);
        

        function updateData(id) {
            document.location.href = "/Consumer/UpdateAddress?id=" + id;
后面还有 22 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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