/** * Created by Administrator on 2016/12/2. */ window.onload = function () { // // if (!Page.IsAdmin()) { // var d = document.getElementById("authority"); // d.style.display = "none"; // } // if (!Page.IsAdmin() && !Page.IsUser2()) { // let d = document.getElementById("email"); // d.style.display = "none"; // } // if (!Page.IsAdmin() && !Page.IsUser2() && !Page.IsUser3()) { // let d = document.getElementById("newUserManage"); // d.style.display = "none"; // } // var href = [ // { // id: "noticeimg", // href: "Noticeimg.html" // }, // { // id: "cus", // href: "selectcus.html" // }, // { // id: "exchange", // href: "Exchange.html" // }, // { // id: "account", // href: "selectAccount.html" // }, // { // id: "role", // href: "selectRole.html" // }, // { // id: "bag", // href: "selectbag.html" // }, // { // id: "active", // href: "activeData_userActive.html" // }, // { // id: "newadd", // href: "activeData_userNewAdd.html" // }, // { // id: "play", // href: "activeData_onlinePlay.html" // }, // { // id: "income", // href: "incomeData_incomeProfile.html" // }, // { // id: "newMoney", // href: "NewUserRecharge.html" // } // , // { // id: "print", // href: "PrintChipDiamond.html" // } // , // { // id: "email", // href: "send_email.html" // } // , // { // id: "chip", // href: "PrintChipDiamond_chip.html" // }, // { // id: "diamond", // href: "PrintChipDiamond_diamond.html" // } // , // { // id: "stopUser", // href: "stopUser.html" // } // , // { // id: "pay", // href: "selectPay.html" // }, // { // id: "notice", // href: "Notice.html" // } // , // { // id: "noticelamp", // href: "NoticeLamp.html" // } // , // { // id: "takepicture", // href: "Notice.html?type=takepicture" // }, // { // id: "serverManage", // href: "serverManage.html" // }, // { // id: "activityManage", // href: "activityManage.html" // }, // { // id: "upNoticeAndEmail", // href: "upNoticeAndEmail.html" // }, // { // id: "userTable", // href: "userTable.html" // }, // { // id: "operationHistory", // href: "OperationLog.html" // }, // { // id: "player_monitor", // href: "player_monitor.html" // }, // { // id: "itemCost", // href: "ItemCost.html" // }, // { // id: "playPayment", // href: "Payment.html" // }, // { // id: "chatList", // href: "ChatList.html" // }, // { // id: "alliance_monitor", // href: "alliance_monitor.html" // }, // ]; // // $("#side-menu a").click(function () { // var _id = $(this).attr("id"); // if(_id) // location.href = href.filter(f => f.id == _id)[0].href; // }); };