| @@ -102,7 +102,7 @@ | |||||
| <div class="new_list_left"> | <div class="new_list_left"> | ||||
| <div style="display: flex;align-items: center;cursor: pointer;border-bottom: 1px solid #b6b6b5;padding-bottom: 15px;margin-bottom: 15px;" onclick="clearCook()"> | <div style="display: flex;align-items: center;cursor: pointer;border-bottom: 1px solid #b6b6b5;padding-bottom: 15px;margin-bottom: 15px;" onclick="clearCook()"> | ||||
| <img src="static/images/list_icon_01.png" alt="" style="display: block;"> | <img src="static/images/list_icon_01.png" alt="" style="display: block;"> | ||||
| <p style="line-height: 1;color: #1663ff;margin-left: 5px;font-weight: bold;font-size: 20px;">切换验证</p> | |||||
| <p style="line-height: 1;color: #1663ff;margin-left: 5px;font-weight: bold;font-size: 20px;" id="deptName">切换验证</p> | |||||
| <img src="static/images/list_icon_03.png" alt="" style="display: block;margin-left: auto;"> | <img src="static/images/list_icon_03.png" alt="" style="display: block;margin-left: auto;"> | ||||
| </div> | </div> | ||||
| <div class="tab_box"> | <div class="tab_box"> | ||||
| @@ -10,7 +10,7 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools, | |||||
| //焦点图数据 | //焦点图数据 | ||||
| focusList: [], | focusList: [], | ||||
| communicateList: [], | communicateList: [], | ||||
| newImgList:[] | |||||
| newImgList:[], | |||||
| }, | }, | ||||
| }; | }; | ||||
| var tools = new Tools(); | var tools = new Tools(); | ||||
| @@ -30,6 +30,8 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools, | |||||
| // autoplay : 2000, | // autoplay : 2000, | ||||
| // loop:true | // loop:true | ||||
| // }) | // }) | ||||
| console.log(JSON.parse(tools.getCookie('user'))) | |||||
| $("#deptName").html(JSON.parse(tools.getCookie('user')).deptName); | |||||
| if (tools.getCookie('user')){ | if (tools.getCookie('user')){ | ||||
| $("#loginF").css('display','none'); | $("#loginF").css('display','none'); | ||||
| $("#listB").css('display','flex'); | $("#listB").css('display','flex'); | ||||