Himall.Web/Areas/Admin/Scripts/GiftManagement.js

(开头部分) 5KB

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

var categoryId;



$(function () {

    initTable();

    bindSearchBtnClick();

    categoryTextEventBind();
});


function bindSearchBtnClick() {
    $('#search').click(function () {
        reload();
    });
}

function initTable() {

    //文章表格
    $("#list").hiMallDatagrid({
        url: 'list',
        nowrap: false,
        rownumbers: true,
        NoDataMsg: '没有找到符合条件的数据',
        border: false,
        fit: true,
        fitColumns: true,
        pagination: true,
        idField: "Id",
        pageSize: 9,
        pagePosition: 'bottom',
        pageNumber: 1,
        queryParams: {},
        columns:
        [[
           {
               field: "GiftName", title: '礼品名称', align: 'left',
               formatter: function (value, row, index) {
                   return value.replace(/</g, '&lt;').replace(/>/g, '&gt;');
               }
           },
            {
                field: "AddDate", title: '添加时间', width: 100,
                formatter: function (value, row, index) {
                    return date_string(value);
                }
            },
            {
                field: "EndDate", title: '兑换截止', width: 100,
                formatter: function (value, row, index) {
                    return date_string(value);
                }

            },
            {
                field: "NeedIntegral", title: '积分', width: 80
后面还有 114 行代码,购买后查看完整代码

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

AI 解读

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

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