Merge branch 'master' of ssh://193.112.35.168:29418/flqAdmin
| | |
| | | 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; |
| | | } |
| | |
| | | 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; |
| | |
| | | <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"> |
| | |
| | | |
| | | |
| | | <!-- <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]> |
| | |
| | | |
| | | </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> |
| | | <!-- 顶部开始 --> |
| | |
| | | |
| | | <!-- 右侧主体结束 --> |
| | | <!-- 中部结束 --> |
| | | <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({ |
| | |
| | | </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> |
| | |
| | | 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; |
| | | } |
| | | |
| | | |
| | |
| | | // $('.left-nav #nav li').eq(cate_list[i]).click(); |
| | | // } |
| | | // } |
| | | |
| | | |
| | | this.add_tabs([{title:'统计',url:'right.html'}]); |
| | | |
| | | |
| | | this.add_tabs([{ |
| | | title: '统计', |
| | | url: 'right.html' |
| | | }]); |
| | | }; |
| | | |
| | | //添加多个 |
| | |
| | | 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 设置左侧菜单选择 |
| | | } |
| | | }; |
| | | }); |
| | |
| | | key: 'f3', |
| | | value: null |
| | | }) |
| | | |
| | | } |
| | | |
| | | if ($(this).parent().parent().parent().attr('id') == 'nav') { |
| | |
| | | key: 'f3', |
| | | value: $('.left-nav #nav li').index($(this)) |
| | | }) |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | $('.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(''); |
| | | $(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(''); |
| | | $(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(''); |
| | | $(this).siblings().removeClass('open'); |
| | | } |
| | | } else { //子级 |
| | | $(this).parent().parent().siblings().children('.sub-menu').stop(true, true).slideUp(); |
| | | } |
| | | event.stopPropagation(); |
| | | }) |