diff --git a/WebRoot/common/menu.jsp b/WebRoot/common/menu.jsp index 3ac4dea..8b717b5 100644 --- a/WebRoot/common/menu.jsp +++ b/WebRoot/common/menu.jsp @@ -46,20 +46,20 @@ var time = new Date(); var mon = time.getMonth() + 1;//月 var day = time.getDate();//日 - + var now_date = (mon<10?"0"+mon:mon) + "月" +(day<10?"0"+day:day) + "日"; $("#now_date").html(now_date); - + var week = "周" + "日一二三四五六".charAt(new Date().getDay()); $("#week").html(week); - + showTime(); }); - + //显示实时时间 function showTime(){ var time = new Date(); - + var hour = time.getHours();//时 var minute = time.getMinutes();//分 var second = time.getSeconds();//秒 @@ -67,7 +67,7 @@ $(".header_shijian").html(nowTime); } setInterval("showTime()",1000); - + //用户中心 function userCore(){ layer.open({ @@ -79,22 +79,23 @@ content : "${ctx}/sysuser/editAdmin.do", }); } - + //回到主页 function gotoIndex(){ window.location.href = "${ctx}/"; } - + //设置 function setUp(){ window.open("${ctx}/sysuser/userlist.do"); } - + //退出登录 function loginOut(){ var y = ScollPostion().top + $(window).height()/3; layer.confirm('确定退出账号吗?', { + skin: 'log-out', title:'', offset:y }, function(){ diff --git a/WebRoot/hbcyjc/region/130000/pages/index.jsp b/WebRoot/hbcyjc/region/130000/pages/index.jsp index 3c7eb59..9de3a35 100644 --- a/WebRoot/hbcyjc/region/130000/pages/index.jsp +++ b/WebRoot/hbcyjc/region/130000/pages/index.jsp @@ -375,6 +375,7 @@ var y = ScollPostion().top + $(window).height() / 3; layer.confirm('确定退出账号吗?', { + skin: 'log-out', title: '', offset: y }, function () { diff --git a/WebRoot/hbcyjc/region/130000/template/headercommNy.jsp b/WebRoot/hbcyjc/region/130000/template/headercommNy.jsp index dda7b47..2bb2dbf 100644 --- a/WebRoot/hbcyjc/region/130000/template/headercommNy.jsp +++ b/WebRoot/hbcyjc/region/130000/template/headercommNy.jsp @@ -174,6 +174,7 @@ var y = ScollPostion().top + $(window).height()/3; layer.confirm('确定退出账号吗?', { + skin: 'log-out', title:'', offset:y }, function(){ diff --git a/WebRoot/hbcyjc/region/130000/template/headercommnoSSX.jsp b/WebRoot/hbcyjc/region/130000/template/headercommnoSSX.jsp index 68dd764..96ca2fa 100644 --- a/WebRoot/hbcyjc/region/130000/template/headercommnoSSX.jsp +++ b/WebRoot/hbcyjc/region/130000/template/headercommnoSSX.jsp @@ -108,6 +108,7 @@ var y = ScollPostion().top + $(window).height()/3; layer.confirm('确定退出账号吗?', { + skin: 'log-out', title:'', offset:y }, function(){ diff --git a/WebRoot/hbcyjc/region/130000/template/headercommnojquery.jsp b/WebRoot/hbcyjc/region/130000/template/headercommnojquery.jsp index 998b3e8..ef7e535 100644 --- a/WebRoot/hbcyjc/region/130000/template/headercommnojquery.jsp +++ b/WebRoot/hbcyjc/region/130000/template/headercommnojquery.jsp @@ -174,6 +174,7 @@ var y = ScollPostion().top + $(window).height()/3; layer.confirm('确定退出账号吗?', { + skin: 'log-out', title:'', offset:y }, function(){ diff --git a/WebRoot/hbcyjc/region/130000/template/headercommzp.jsp b/WebRoot/hbcyjc/region/130000/template/headercommzp.jsp index fcf05fd..9842279 100644 --- a/WebRoot/hbcyjc/region/130000/template/headercommzp.jsp +++ b/WebRoot/hbcyjc/region/130000/template/headercommzp.jsp @@ -175,6 +175,7 @@ var y = ScollPostion().top + $(window).height()/3; layer.confirm('确定退出账号吗?', { + skin: 'log-out', title:'', offset:y }, function(){ diff --git a/WebRoot/hbcyjc/region/130000/template/layout/main.jsp b/WebRoot/hbcyjc/region/130000/template/layout/main.jsp index e94d8b1..760259f 100644 --- a/WebRoot/hbcyjc/region/130000/template/layout/main.jsp +++ b/WebRoot/hbcyjc/region/130000/template/layout/main.jsp @@ -57,6 +57,7 @@ function loginOut(){ layer.confirm('确定退出账号吗?', { + skin: 'log-out', title:'' }, function(){ window.location.href = "${ctx}/hbcyjclogin/logout.do";