Master.CanYinWu.Web/Content/js/admin/cache.js

(开头部分) 8KB

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

var cacheStr = window.sessionStorage.getItem("cache"),
    oneLoginStr = window.sessionStorage.getItem("oneLogin");
layui.use(['form','jquery',"layer"],function() {
    var form = layui.form,
        $ = layui.jquery,
        layer = parent.layer === undefined ? layui.layer : top.layer;


    //公告层
    //function showNotice(){
    //    layer.open({
    //        type: 1,
    //        title: "系统公告",
    //        area: '300px',
    //        shade: 0.8,
    //        id: 'LAY_layuipro',
    //        btn: ['火速围观'],
    //        moveType: 1,
    //        content: '<div style="padding:15px 20px; text-align:justify; line-height: 22px; text-indent:2em;border-bottom:1px solid #e2e2e2;"><p class="layui-red">暂无公告</span></p></div>',
    //        success: function(layero){
    //            var btn = layero.find('.layui-layer-btn');
    //            btn.css('text-align', 'center');
    //            btn.on("click",function(){
    //                tipsShow();
    //            });
    //        },
    //        cancel: function(index, layero){
    //            tipsShow();
    //        }
    //    });
    //}
    //function tipsShow(){
    //    window.sessionStorage.setItem("showNotice","true");
    //    if($(window).width() > 432){  //如果页面宽度不足以显示顶部“系统公告”按钮,则不提示
    //        layer.tips('系统公告躲在了这里', '#userInfo', {
    //            tips: 3,
    //            time : 1000
    //        });
    //    }
    //}
    //$(".showNotice").on("click",function(){
    //    showNotice();
    //})

  
   

  

 

    //更换皮肤
    function skins(){
        //var skin = window.sessionStorage.getItem("skin");      
        $.getJSON('/Admin/GetAdminSkin', {}, function (data) {
            if (data.Skin != "") {  //如果更换过皮肤
                if (data.SkinValue != "自定义") {
                    $("body").addClass(data.Skin);
                } else {
                    $(".layui-layout-admin .layui-header").css("background-color", data.Skin.split(',')[0]);
后面还有 118 行代码,购买后查看完整代码

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

AI 解读 AI

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

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