yujian
2020-04-28 e4f14ce28cd828e80b3bf02ab790f2f9f8359f21
Merge branch 'master' of ssh://193.112.35.168:29418/flqAdmin
1个文件已删除
5个文件已修改
2382 ■■■■■ 已修改文件
css/theme3049.min.css 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
css/xadmin.css 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
home.html 49 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
js/doui.min.1.js 2251 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
js/requestHost.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
js/xadmin.js 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
css/theme3049.min.css
@@ -1 +1,46 @@
body.index{background: linear-gradient(to left,rgba(221, 52, 52, 1), rgba(235, 170, 170, 1)) !important;}.container{background:rgba(80, 161, 237,  0.73) !important;}.container .layui-nav-bar{background:rgba(10, 99, 183,  0.73) !important;}.container .logo a{background:rgba(0,0,0,0) !important;}.container .logo a{color:rgb(255, 255, 255) !important;}.left-nav{background:rgb(238, 238, 238) !important;}.left-nav a{color:rgb(51, 51, 51) !important;}.left-nav a:hover,.left-nav a.active{background:rgba(15, 129, 235,  0.73) !important;}.left-nav a:hover,.left-nav a.active{color:rgb(255, 255, 255) !important;}.left-nav a:hover,.left-nav a.active{border-color:rgba(242, 207, 8, 1) !important;}body{background:rgb(241, 241, 241) !important;}
body.index {
    background: linear-gradient(to left, rgba(221, 52, 52, 1), rgba(235, 170, 170, 1)) !important;
}
.container {
    background: rgba(80, 161, 237, 0.73) !important;
}
.container .layui-nav-bar {
    background: rgba(10, 99, 183, 0.73) !important;
}
.container .logo a {
    background: rgba(0, 0, 0, 0) !important;
}
.container .logo a {
    color: rgb(255, 255, 255) !important;
}
.left-nav {
    background: rgb(238, 238, 238) !important;
}
.left-nav a {
    color: rgb(51, 51, 51) !important;
}
.left-nav  a:hover,
.left-nav  a.active {
    background: rgba(15, 129, 235, 0.73) !important;
}
.left-nav  a:hover,
.left-nav  a.active {
    color: rgb(255, 255, 255) !important;
}
.left-nav  a:hover,
.left-nav  a.active {
    border-color: rgba(242, 207, 8, 1) !important;
}
body {
    background: rgb(241, 241, 241) !important;
}
css/xadmin.css
@@ -188,14 +188,14 @@
    transition: all 0.3s;
}
.left-nav a:hover{
    background: #009688 !important;
    /* background: #009688 !important; */
    color: #fff;
    border-color:  #04564e !important;
    /* border-color:  #04564e !important; */
}
.left-nav a.active{
    background: #009688 !important;
    /* background: #009688 !important; */
    color: #fff;
    border-color:  #04564e !important;
    /* border-color:  #04564e !important; */
}
.left-nav #nav li a cite{
    font-size: 14px;
home.html
@@ -8,7 +8,7 @@
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <link rel="stylesheet" type="text/css" href="css/doui.min.css" />
        <script src="js/doui.min.js" type="text/javascript" charset="utf-8"></script>
        <link rel="stylesheet" href="./css/font.css">
        <link rel="stylesheet" href="./css/xadmin.css">
        <link rel="stylesheet" href="./css/theme3049.min.css">
@@ -16,7 +16,7 @@
        <!-- <link rel="stylesheet" href="./css/theme5.css"> -->
        <script src="./lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="./js/xadmin.js"></script>
        <!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
        <!--[if lt IE 9]>
@@ -55,18 +55,7 @@
            
        </style>
        <script type="text/javascript">
            doui.importLoad({
                importArray: [
                    "fontAdmin/iconfont.css",
                    "font/iconfont.css",
                    "css/admin-all.css",
                    "js/jquery.min.js",
                    "js/vue.min.js",
                    "js/requestHost.js"
                ]
            });
        </script>
    </head>
    <body>
        <!-- 顶部开始 -->
@@ -156,6 +145,22 @@
        <!-- 右侧主体结束 -->
        <!-- 中部结束 -->
        <script src="./lib/layui/layui.js" charset="utf-8"></script>
        <script src="js/doui.min.js" type="text/javascript" charset="utf-8"></script>
        <script type="text/javascript">
            doui.importLoad({
                importArray: [
                    "fontAdmin/iconfont.css",
                    "font/iconfont.css",
                    "css/admin-all.css",
                    "js/jquery.min.js",
                    "js/vue.min.js",
                    "js/requestHost.js",
                ]
            });
        </script>
        <script>
            var vm = null;
            doui.onReady({
@@ -394,4 +399,20 @@
        </script>
    </body>
    <script>
        function login() {
            layui.use('layer', function() {
                layer.open({
                    type: 2,
                    title: false,
                    shadeClose: true,
                    shade: 0.3,
                    id: 'LAY_layuipro', //设定一个id,防止重复弹出
                    area: ['420px', '432px'],
                    content: ['./login_simpl.html?type=2', 'no'],
                });
            });
        }
    </script>
</html>
js/doui.min.1.js
File was deleted
js/requestHost.js
@@ -9,7 +9,7 @@
    var h200 = "http://192.168.1.200:8088/fanli"; // 喻健电脑服务器
    var h253 = "http://192.168.1.253:8080/fanli"; // 公司253电脑
    var myhttp = "http://134.175.68.214/fanli"; // 外网IP测试
    return flq;
    return h253;
}
js/xadmin.js
@@ -29,9 +29,12 @@
        //                 $('.left-nav #nav li').eq(cate_list[i]).click();
        //             }
        //         }
        this.add_tabs([{title:'统计',url:'right.html'}]);
        this.add_tabs([{
            title: '统计',
            url: 'right.html'
        }]);
    };
    //添加多个
@@ -246,11 +249,12 @@
        element.on('tab(xbs_tab)', function() {
            for (var i = 0; i < $('.x-iframe').length; i++) {
                var id = this.getAttribute('lay-id');
                if ($('.x-iframe').eq(i).attr('tab-id') == id) {
                if ($('.x-iframe').eq(i).attr('tab-id') == id) { //选择了当前页面
                    var src = $('.x-iframe').eq(i).attr("src");
                    if (src == null || src == '' || src.length == 0) {
                        $('.x-iframe').eq(i).attr("src", $('.x-iframe').eq(i).attr("src-data"));
                    }
                    //TODO 设置左侧菜单选择
                }
            };
        });
@@ -271,6 +275,7 @@
                    key: 'f3',
                    value: null
                })
            }
            if ($(this).parent().parent().parent().attr('id') == 'nav') {
@@ -289,6 +294,7 @@
                    key: 'f3',
                    value: $('.left-nav #nav li').index($(this))
                })
            }
@@ -310,20 +316,23 @@
            $('.left-nav').find('a').removeClass('active');
            $(this).children('a').addClass('active');
            if ($(this).children('.sub-menu').length) {
            if ($(this).children('.sub-menu').length) { //一级
                if ($(this).hasClass('open')) {
                    $(this).removeClass('open');
                    $(this).children('.sub-menu').stop(true, true).slideUp(); //隐藏被选元素
                    $(this).find('.nav_right').html('&#xe697;');
                    $(this).children('.sub-menu').stop(true, true).slideUp();
                    $(this).removeClass('open');
                    return;
                    $(this).siblings().children('.sub-menu').slideUp();
                } else {
                    $(this).addClass('open');
                    $(this).children('a').find('.nav_right').html('&#xe6a6;');
                    $(this).children('.sub-menu').stop(true, true).slideDown();
                    $(this).siblings().children('.sub-menu').stop(true, true).slideUp();
                    // $(this).siblings().children('.sub-menu').stop(true, true).slideUp();
                    $(this).siblings().find('.nav_right').html('&#xe697;');
                    $(this).siblings().removeClass('open');
                }
            } else { //子级
                $(this).parent().parent().siblings().children('.sub-menu').stop(true, true).slideUp();
            }
            event.stopPropagation();
        })