<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>谐波频谱</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<link rel="stylesheet"
	href="${ctx}/css/plugin/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="${ctx}/css/plugin/jquery/jquery-ui.css">
<link rel="stylesheet"
	href="${ctx}/css/plugin/datatimepicker/bootstrap-datetimepicker.css">
<link rel="stylesheet"
	href="${ctx}/css/plugin/metroStyle/metroStyle.css">
<link reJl="stylesheet" href="${ctx}/css/basic.css">
<style>
html, body {
	overflow: hidden;
	background-color: #F9F9F9 !important;
}

.btn {
	font-size: 11px;
}

.mainright {
	float: left;
	margin-left: 1px;
	width: 300px;
}

.nav>li>a {
	font-size: 11px;
	padding: 5px 15px;
}
</style>
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<ul id="myTab" class="nav nav-tabs">
				<li><a href="#xb" id="xb" data-toggle="tab">谐波</a></li>
				<li><a href="#jxb" id="jxb" data-toggle="tab">间谐波</a></li>
				<li><a href="#xbdl" id="xbdl" data-toggle="tab">谐波电流幅值</a></li>
			</ul>
			<iframe class="mainright" id="main_right" style="width: 100%;"
				name="main_right" frameborder="0"></iframe>
		</div>
	</div>
	<script src="${ctx}/js/plugin/jquery/jquery.min.js"></script>
	<script src="${ctx}/js/plugin/jquery/jquery.cleverTabs.js"></script>
	<script src="${ctx}/js/plugin/echarts/echarts.js"></script>
	<script src="${ctx}/js/plugin/layui/layer.js"></script>
	<script src="${ctx}/jspJS/utils/loading.js"></script>
	<script src="${ctx}/js/plugin/bootstrap/bootstrap-datetimepicker.js"></script>
	<script
		src="${ctx}/js/plugin/bootstrap/bootstrap-datetimepicker.zh-CN.js"></script>
	<script src="${ctx}/jspJS/utils/timeControl.js"></script>
	<script src="${ctx}/js/color.js"></script>
	<script src="${ctx}/jspJS/utils/judgeAjaxStatus.js"></script>
	<script>
		$('#myTab').find('li').click(function() {
			var index = $(this).index();
			(index) ? $('#right-arr').hide() : $('#right-arr').show();
		});

		$(document).ready(function() {
			var picHeight = $(window).height() - 30;
			$("#main_right").css("height", picHeight);

			document.getElementById("main_right").src = "xbsj";
		})

		$('#xb').click(function() {
			document.getElementById("main_right").src = "xbsj";
		})

		$('#jxb').click(function() {
			document.getElementById("main_right").src = "jxbsj";
		})

		//电流
		$('#xbdl').click(function() {
			document.getElementById("main_right").src = "xbdl";
		})
	</script>
</body>
</html>
