<!DOCTYPE html>
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:layout="http://www.w3.org/1999/xhtml"
|
xmlns:th="http://www.thymeleaf.org">
|
<head>
|
<script th:src="@{'http://www.nmsmp.com/javapubzy/' + 'media/js/jquery-1.11.1.js'}"></script>
|
<style>
|
body {
|
margin: 0;
|
background: transparent;
|
/*background-color: #C6ECFB;*/
|
font-family: '微软雅黑',"Roboto", sans-serif !important;
|
color: #fff;
|
font-size: 16px;
|
}
|
|
a {
|
text-decoration: none;
|
}
|
|
a:link {
|
color: black;
|
}
|
|
a:visited {
|
color: black;
|
}
|
|
.zygongzuotai {
|
width: 100%;
|
height: 100%;
|
}
|
|
.tongji {
|
display: inline-block;
|
width: 100%;
|
height: 60%;
|
text-align: center;
|
}
|
|
.tongji tr {
|
height: 33.3%;
|
}
|
|
.lianjie {
|
margin-top: 10px;
|
display: inline-block;
|
width: 100%;
|
height: 30%;
|
background-color: #F7F7F7;
|
color: #000;
|
text-align: center;
|
border-bottom-left-radius: 10px;
|
border-bottom-right-radius: 10px;
|
}
|
|
.lianjie table {
|
height: 100%;
|
width: 100%;
|
padding: 20px 5px;
|
}
|
|
.lianjie img {
|
vertical-align: text-bottom;
|
}
|
|
.lianjie span {
|
cursor: pointer;
|
display: block;
|
margin-top: 5px;
|
}
|
|
.lianjie td {
|
width: 25%;
|
height: 50px;
|
text-align: center;
|
}
|
|
.imgdiv {
|
display: inline-block;
|
text-align: center;
|
}
|
|
.imgdiv img {
|
height: 58px;
|
width: 61px;
|
display: inline-block;
|
text-align: center;
|
}
|
|
.textdiv {
|
display: inline-block;
|
height: 30px;
|
margin-left: 8px;
|
text-align: left;
|
vertical-align: top;
|
}
|
|
.one {
|
height: 34px;
|
cursor: pointer;
|
line-height: 34px;
|
color: #000;
|
font-size: 17px;
|
}
|
|
.two {
|
padding: 2px 0px;
|
color: #666666;
|
font-size: 16px;
|
}
|
|
.div_zytitle {
|
width: 100%;
|
height: 50px;
|
float: left;
|
background-color: #547EFE;
|
line-height: 50px;
|
border-radius: 6px;
|
}
|
|
.div_zytitle span {
|
line-height: 37px;
|
font-size: 20px;
|
margin-left: 20px;
|
color: white;
|
font-weight: 600;
|
}
|
|
.menu {
|
display: inline-block;
|
width: 48.5% !important;
|
margin-top: 10px;
|
margin-bottom: 10px;
|
}
|
|
.menu span{
|
font-size: 14px;
|
color: #34363f;
|
}
|
</style>
|
<script type="text/javascript" th:inline="javascript">
|
var apiServer = [[${apiServer}]];
|
var thisServer = [[${thisServer}]];
|
var gisPortal = [[${gisPortal}]];
|
var ispermission = [[${ispermission}]];
|
var audit = [[${audit}]];
|
thisServer = thisServer.substring(0, thisServer.length - 1);
|
|
// 暂时没有作用。修改打开新窗口,菜单不自动展开的问题
|
function menuItemClick(obj) {
|
if (!$("#wrapper").hasClass("enlarged")) {
|
//收缩所有菜单
|
//$("#sidebar-menu a")
|
$("ul", $(obj).parents("ul:first")).slideUp(350);
|
$("a", $(obj).parents("ul:first")).removeClass("subdrop");
|
//展开当前菜单
|
$(obj).next("ul").slideDown(350);
|
if ($(obj).parent().hasClass("has_sub")) {
|
//父节点未选中
|
if (!$(obj).parent().hasClass("active")) {
|
$(obj).addClass("subdrop");
|
}
|
} else {
|
//子节点点击事件
|
$(".list-unstyled " + "li").removeClass("active");
|
$("#sidebar-menu li.has_sub").removeClass("active");
|
$("#sidebar-menu li.has_sub a.waves-effect").removeClass("active");
|
$(obj).parents("li").addClass("active").removeClass("subdrop");
|
$(obj).removeClass("subdrop");
|
$(obj).parents("li.has_sub").children("a:first").addClass("active");
|
}
|
}
|
}
|
|
function openSysWin(url, type) {//type=0为后台
|
if (type == 0) {
|
url = url.replace("apiServer", apiServer).replace("thisServer", thisServer);
|
window.open(url, "_blank");
|
// var menuUrl = "#" + url.split("#")[1];
|
// console.log(menuUrl);
|
// console.log("***************后台***************");
|
// url = url + "?shouyeTitle=1";
|
// newWin = window.open(url, "newWin");
|
// console.log(url);
|
|
// $("a[href='"+ "#http://127.0.0.1:8082/res/ResManage/ResRegister/List" +"']").parents("li").addClass("active");
|
// var infoWindow = window.open(url, "_blank");
|
// menuItemClick("#sidebar-menu a");
|
// infoWindow.document.getElementsByTagName("a[href='"+menuUrl+"']").parents("li").addClass("active");
|
// infoWindow.document.getElementsByTagName("a[href='"+menuUrl+"']").parents("li").parents("ul").css("display", "block");
|
} else if(type == 2){
|
console.log(ispermission)
|
if(ispermission != 0){
|
alert("您没有权限!");
|
}else{
|
url = url.replace("apiServer", apiServer).replace("thisServer", thisServer);
|
window.open(url, "_blank");
|
}
|
} else {
|
window.open(url, "_blank");
|
}
|
}
|
function openNewWinLink(type){
|
window.open(gisPortal+type, "_blank");
|
}
|
|
function openAudit(url,type) {
|
if(audit != 0){
|
alert("您没有权限!");
|
}else{
|
url = url.replace("apiServer", apiServer).replace("thisServer", thisServer);
|
window.open(url, "_blank");
|
}
|
}
|
</script>
|
</head>
|
<body>
|
<div class="zygongzuotai">
|
<div class="div_zytitle">
|
<span>个人中心</span>
|
</div>
|
<div class="tongji">
|
<table style="height: 100%; width: 100%; padding: 0px;" cellspacing="0" cellpadding="0">
|
<tr>
|
<td width="50%" height="95px">
|
<div style="cursor: pointer;margin-top: 33px;" onclick="openSysWin('../resActionRecord/ShenQingZiYuanGD?Menu=ZYZX&menuId=07',1)">
|
<div class="imgdiv">
|
<img src="/image/NewMenHu/WoDeShenQing.png"/>
|
</div>
|
<div class="textdiv">
|
<div class="two">我的申请</div>
|
<div th:text="${Wodeshenqing}" class="one"></div>
|
</div>
|
</div>
|
</td>
|
<td width="50%" height="94px">
|
<div style="cursor: pointer;margin-top: 33px;" onclick="openSysWin('../ZiYuanZhongXin/WoDeShouCangJiaGD?Menu=ZYZX&menuId=07',1)">
|
<div class="imgdiv">
|
<img src="/image/NewMenHu/WoDeShouCang.png"/>
|
</div>
|
<div class="textdiv">
|
<div class="two">我的收藏</div>
|
<div th:text="${Shoucang}" class="one"></div>
|
</div>
|
</div>
|
</td>
|
</tr>
|
<tr>
|
<td width="50%;" height="94px">
|
<div style="cursor: pointer;margin-top: 32px;" onclick="openSysWin('apiServer/lanwebapp/admin/index.html#thisServer/res/manage/applyrecommend/index',0)">
|
<div class="imgdiv">
|
<img src="/image/NewMenHu/ShenQingPiFu.png"/>
|
</div>
|
<div class="textdiv">
|
<div class="two">申请批复</div>
|
<div th:text="${Shenqing}" class="one"></div>
|
</div>
|
</div>
|
</td>
|
<td width="50%" height="94px">
|
<div style="margin: auto;cursor: pointer;margin-top: 32px;" onclick="openSysWin('apiServer/lanwebapp/admin/index.html#thisServer/res/manage/subscriptions/index',0)">
|
<div class="imgdiv">
|
<img src="/image/NewMenHu/WoDeDingYue.png"/>
|
</div>
|
<div class="textdiv">
|
<div class="two">我的订阅</div>
|
<div th:text="${Dingyue}" class="one"></div>
|
</div>
|
</div>
|
</td>
|
</tr>
|
<tr>
|
<!--TODO: 修改图标和数字引用的变量-->
|
<td width="50%" height="94px">
|
<div style="cursor: pointer;margin-top: 32px;" onclick="openSysWin('../ziyuanfabu/index?Menu=ZYZX&menuId=09',1)">
|
<div class="imgdiv">
|
<img src="/image/NewMenHu/WoDeFaBu.png"/>
|
</div>
|
<div class="textdiv">
|
<div class="two">我的发布</div>
|
<div th:text="${Wodefabu}" class="one"></div>
|
</div>
|
</div>
|
</td>
|
<td width="50%;" height="94px">
|
<div style="cursor: pointer;margin-top: 32px;" onclick="openAudit('apiServer/lanwebapp/admin/index.html#thisServer/res/manage/audit/index',2)">
|
<div class="imgdiv">
|
<img src="/image/NewMenHu/FaBuShenHe.png"/>
|
</div>
|
<div class="textdiv">
|
<div class="two">发布审核</div>
|
<div th:text="${Shenhe}" class="one"></div>
|
</div>
|
</div>
|
</td>
|
</tr>
|
</table>
|
</div>
|
<div class="lianjie">
|
<table cellspacing="0" cellpadding="0">
|
<tr>
|
<td>
|
<div class="menu" style="cursor: pointer;" onclick="openSysWin('../ziyuanfabu/index?Menu=ZYZX&menuId=09',1)">
|
<img src="/image/NewMenHu/ZiYuanFaBu.png">
|
<span>资源发布</span>
|
</div>
|
<div class="menu" style="cursor: pointer;" onclick="openSysWin('../ziyuanmulu/index?Menu=ZYZX&menuId=08&Message=')">
|
<img src="/image/NewMenHu/ZiYuanMuLu.png">
|
<span style="padding-left: 3px;">资源目录</span>
|
</div>
|
</td>
|
<!--</tr>-->
|
<!--<tr>-->
|
<td>
|
<div class="menu" style="cursor: pointer;" onclick="openSysWin('../jichuditu/index?Menu=DTFW&menuId=02',1)">
|
<img src="/image/NewMenHu/JiChuDiTu.png">
|
<span>基础底图</span>
|
</div>
|
<div class="menu" style="cursor: pointer;" onclick="openNewWinLink('leafportal.html')">
|
<img src="/image/NewMenHu/ZhuanTiZhiTu.png">
|
<span>专题制图</span>
|
</div>
|
</td>
|
</tr>
|
</table>
|
</div>
|
</div>
|
<!-- 自动登录Portal地图服务 lxb -->
|
<!-- <iframe src="https://gis.nmsmp.com/arcgis/ltGisPortal/viewer/sso_auth.html?redirectUrl=http%3A%2F%2Fgis.nmsmp.com%2Farcgis%2FltGisPortal%2Fviewer%2FloginSucced.html"
|
style="visibility: hidden;position: absolute; z-index: 1"></iframe> -->
|
|
<iframe src="https://localhost:8080/viewer/sso_auth.html?redirectUrl=http%3A%2F%2Flocalhost:8080%2Fviewer%2FloginSucced.html" style="visibility: hidden;position: absolute; z-index: 1"></iframe>
|
|
</body></body>
|
</html>
|