QiFeng.ZWY.MagWeb/Views/ScenicSpots/ScenicSpotsPictureList.cshtml

(开头部分) 2KB

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


@{
    ViewBag.Title = "景点图片列表";
    ViewBag.PathToBtn = "/ScenicSpots/ScenicSpotsPictureList";
    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>
                            </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 = "/ScenicSpots/GetScenicSpotsPictureList";
        var showColumns = [
            { data: "SpotName" },
            { data: "Title" },
            { data: "Url" },
            { data: "strIsDefault" },
            { data: "ShowSequence" },
            { data: "Action" }
        ];
        pagingHelper.Paging(serverProcessPath, dataParams, showColumns, null, false);

        function updateData(id) {
            document.location.href = "/ScenicSpots/UpdateScenicSpotsPicture?id=" + id;
        }
        function deleteData(id) {
            alertify.okBtn("确定").cancelBtn("取消").confirm("确定要删除该数据吗?", function () {
                $.ajax({
                    type: 'post',
后面还有 17 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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