|
|
@@ -10,7 +10,7 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools, |
|
|
|
//焦点图数据 |
|
|
|
focusList: [], |
|
|
|
communicateList: [], |
|
|
|
newImgList:[] |
|
|
|
newImgList:[], |
|
|
|
}, |
|
|
|
}; |
|
|
|
var tools = new Tools(); |
|
|
@@ -30,6 +30,8 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools, |
|
|
|
// autoplay : 2000, |
|
|
|
// loop:true |
|
|
|
// }) |
|
|
|
console.log(JSON.parse(tools.getCookie('user'))) |
|
|
|
$("#deptName").html(JSON.parse(tools.getCookie('user')).deptName); |
|
|
|
if (tools.getCookie('user')){ |
|
|
|
$("#loginF").css('display','none'); |
|
|
|
$("#listB").css('display','flex'); |
|
|
|