yujian
2020-04-30 29bbdabbfa34e1d84444f7edae58ae8857b6dc57
队员位置调整
1个文件已修改
28 ■■■■■ 已修改文件
childPath/user/friend.html 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
childPath/user/friend.html
@@ -118,25 +118,26 @@
                                        check: false,
                                        td: [
                                            { title: "邀请人头像", key: mo[i].boss.portrait, value: mo[i].boss.portrait, dataType: "img", "class": "admin-imgS" },
                                            { title: "被邀请人头像", key: mo[i].worker.portrait, value: mo[i].worker.portrait, dataType: "img", "class": "admin-imgS" },
                                            { title: "邀请人昵称", key: mo[i].boss.nickName, value: mo[i].boss.nickName },
                                            { title: "邀请人ID", key: mo[i].boss.id, value: mo[i].boss.id },
                                            { title: "被邀请人ID", key: mo[i].worker.id, value: mo[i].worker.id },
                                            { title: "被邀请人头像", key: mo[i].worker.portrait, value: mo[i].worker.portrait, dataType: "img", "class": "admin-imgS" },
                                            { title: "被邀请人昵称", key: mo[i].worker.nickName, value: mo[i].worker.nickName },
                                            { title: "有效状态", key: mo[i].validState, value: mo[i].validState },
                                            { title: "被邀请人ID", key: mo[i].worker.id, value: mo[i].worker.id },
                                            { title: "是否有效粉丝", key: mo[i].validState, value: mo[i].validState },
                                            { title: "邀请时间", key: mo[i].createTime, value: mo[i].createTime },
                                        ],
                                    };
                                    // 邀请时间
                                    if (thatTr.td[6].key)
                                    if (thatTr.td[7].key)
                                    {
                                        doui.timestampToDate({
                                            timestamp: thatTr.td[6].key,
                                            success: function (res) { thatTr.td[6].value = res; }
                                            timestamp: thatTr.td[7].key,
                                            success: function (res) { thatTr.td[7].value = res; }
                                        });
                                    }
                                    
                                    if (thatTr.td[5].key > 0) { thatTr.td[5].value = "有效粉丝"; thatTr.td[5]["class"] = "font-green"; }
                                    else { thatTr.td[5].value = ""; thatTr.td[5]["class"] = "font-gray"; }
                                    if (thatTr.td[6].key > 0) { thatTr.td[6].value = "有效粉丝"; thatTr.td[6]["class"] = "font-green"; }
                                    else { thatTr.td[6].value = ""; thatTr.td[6]["class"] = "font-gray"; }
                                    
                                    // 将当前行放入tr组
                                    mo_tr.push(thatTr);
@@ -157,10 +158,11 @@
            adminDom.table.thead({
                th: [
                    { title: "邀请人头像", width: "0.5rem", orderUp: "", orderDown: "" },
                    { title: "被邀请人头像", width: "0.5rem", orderUp: "", orderDown: "" },
                    { title: "邀请人昵称", width: "0.5rem", orderUp: "", orderDown: "" },
                    { title: "邀请人ID", width: "0.5rem", orderUp: "", orderDown: "" },
                    { title: "被邀请人ID", width: "0.5rem", orderUp: "", orderDown: "" },
                    { title: "被邀请人头像", width: "0.5rem", orderUp: "", orderDown: "" },
                    { title: "被邀请人昵称", width: "0.5rem", orderUp: "", orderDown: "" },
                    { title: "被邀请人ID", width: "0.5rem", orderUp: "", orderDown: "" },
                    { title: "是否有效粉丝", width: "0.3rem", orderUp: "", orderDown: "" },
                    { title: "邀请时间", width: "0.5rem", orderUp: "", orderDown: "" },
                ]
@@ -168,12 +170,6 @@
            // 工具栏
            adminDom.table.tools({
                show: false,
                list: [
                ],
                touch: function (back)
                {
                }
            });