Skip to content
index.jsp 4.72 KiB
Newer Older
杨郁彬's avatar
杨郁彬 committed
<!DOCTYPE html>
<html>
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="cui" tagdir="/WEB-INF/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<head>
	<title>---平台</title>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta http-equiv="cache-control" content="no-store, no-cache, must-revalidate">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="expires" content="0">
	<style>
		html, body {
			height: 100%;
			width: 100%;
		}
	</style>
	<!-- coral4 css start  -->
	<link type="text/css" rel="stylesheet" href="${ctx}/static/cui/cui.min.css"/>
	<!-- coral4 css  end  -->

	<!-- app css define start -->
	<link type="text/css" rel="stylesheet" href="${ctx}/static/res/resource/style/css/common.css"/>
	<link type="text/css" rel="stylesheet" href="${ctx}/static/res/resource/style/css/head.css"/>
	<link type="text/css" rel="stylesheet" href="${ctx}/static/res/resource/style/css/jquery.pagewalkthrough.css"/>
	<link type="text/css" rel="stylesheet" href="${ctx}/static/res/resource/style/css/forcoraltheme.css"/>
	<link type="text/css" rel="stylesheet" href="${ctx}/static/res/resource/style/css/body.css"/>
	<link type="text/css" rel="stylesheet" href="${ctx}/static/res/resource/style/css/inforGlobal.css"/>
	<link type="text/css" rel="stylesheet" href="${ctx}/static/res/resource/style/css/prettify.css"/>
	<link type="text/css" rel="stylesheet" href="${ctx}/static/res/icon-font/style.css">
	<link type="text/css" rel="stylesheet" href="${ctx}/static/res/switch/css/switch.css">
	<!-- app css define end -->

	<!-- coral4 js start -->
	<script src="${ctx}/static/jquery-cui/js/jquery-1.9.1.min.js"></script>
	<script src="${ctx}/static/cui/cui.js?222"></script>
	<!-- coral4 js end -->

	<!-- app js define start  -->
	<script src="${ctx}/static/js/scripts/common.js"></script>
	<script src="${ctx}/static/res/resource/style/js/function.js"></script>
	<script src="${ctx}/static/js/scripts/prettify.js"></script>
	<script src="${ctx}/static/js/highcharts/highcharts.js"></script>
	<script src="${ctx}/static/pages/common.js"></script>
	<!-- app js define  end  -->
	<!-- 引入ystep样式 -->
	<link type="text/css" rel="stylesheet" href="${ctx}/static/css/ystep.css"/>

	<!-- 引入switchery插件,开关 -->
	<script type="text/javascript" src="${ctx}/static/res/switch/js/switchery.min.js"></script>
	<style type="text/css">
		html, body {
			height: 100%;
			width: 100%;
			padding: 0;
			margin: 0;
		}

		.readOnly {
			pointer-events: none;
			filter: alpha(opacity=50); /*IE滤镜,透明度50%*/
			-moz-opacity: 0.5; /*Firefox私有,透明度50%*/
			opacity: 0.5; /*其他,透明度50%*/
			text-decoration: line-through;
			color: darkgrey;
		}

		a {
			color: #000000;
			border: 1px solid #818181;
			background-image: url(${ctx}/static/cm/image/btn-bg.png);
			padding: 4px 15px;
			border-radius: 2px;
			margin: 0px 4px;
			text-decoration: none;
		}
	</style>
</head>
<body>
<cui:layout id="coralui-layout" fit="true" style="overflow:hidden;">
	<cui:layoutRegion region="north" split="false" style="height:105px;"></cui:layoutRegion>
	<div id="divHead" style="height: 105px; width: 100%; position: absolute; left: 0; top: 0; z-index: 22;">
		<%@ include file="/WEB-INF/views/default/head.jsp" %>
	</div>
	<cui:layoutRegion region="center" split="false" style="border: 0;overflow: hidden;"
										url="${ctx}/dutymanagement/index" onLoad="layoutCenterResize" onResize="layoutCenterResize">

	</cui:layoutRegion>
	<cui:layoutRegion region="south" split="false" style="height:25px">
		<div id="footer" class="PanelFoot">
			<h2 class="F-right">上海局©2018版权所有</h2>
		</div>
	</cui:layoutRegion>
</cui:layout>

<script>


	function viewOnscroll(id) {

		var myIframe = document.getElementById(id);

		myIframe.contentWindow.document.body.scroll = 'no'
		console.log(myIframe.contentWindow.document.body.scroll);
		var doc = myIframe.contentWindow.document;

		myIframe.contentWindow.onscroll = function () {

		}

		$(myIframe).contents().scroll(function (event) {


		});

	}


	function centerContextDestory(event) {
		if (null != event && event.type == 'panelbeforeload') {
			if (window["contextDestory"]) {
				if (typeof window["contextDestory"] === 'function') {
					window["contextDestory"]();
					delete window["contextDestory"];
				}
			}
		}
	}

	var Sample = (function (win, $) {

		function Sample() {
		}

		Sample.prototype.performXXX = function () {

		}
		return Sample;
	})(window, $);

	var sample = new Sample();
	sample.performXXX();

	window["Sample"] = null;
	delete window["Sample"];


</script>
</body>
</html>