Blame view

WebRoot/WEB-INF/jsp/system/index/default.jsp 3.43 KB
ad5081d3   孙向锦   初始化项目
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  <%@ 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="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  <%
  	String path = request.getContextPath();
  	String basePath = request.getScheme() + "://"
  			+ request.getServerName() + ":" + request.getServerPort()
  			+ path + "/";
  %>
  <!DOCTYPE html>
  <html lang="en">
  <head>
  <base href="<%=basePath%>">
  
  <!-- jsp文件头和头部 -->
  <%@ include file="../index/top.jsp"%>
  <!-- 百度echarts -->
  <script src="plugins/echarts/echarts.min.js"></script>
  <script type="text/javascript">
  setTimeout("top.hangge()",500);
  </script>
  </head>
  <body class="no-skin">
  
  	<!-- /section:basics/navbar.layout -->
  	<div class="main-container" id="main-container">
  		<!-- /section:basics/sidebar -->
  		<div class="main-content">
  			<div class="main-content-inner">
  				<div class="page-content">
  					<div class="hr hr-18 dotted hr-double"></div>
  					<div class="row">
  						<div class="col-xs-12">
  
  							<div class="alert alert-block alert-success">
  								<button type="button" class="close" data-dismiss="alert">
  									<i class="ace-icon fa fa-times"></i>
  								</button>
  								<i class="ace-icon fa fa-check green"></i>
1f1e41d5   jack   去除中天(sunvote)等字样
41
  								欢迎使用-教育管理系统&nbsp;&nbsp;
42ea7f23   孙向锦   修改中天电子信息
42
  								
ad5081d3   孙向锦   初始化项目
43
44
45
46
47
48
49
50
51
52
53
  							</div>
  							
  							
  							<div id="main" style="width: 600px;height:300px;"></div>
  							<script type="text/javascript">
  						        // 基于准备好的dom,初始化echarts实例
  						        var myChart = echarts.init(document.getElementById('main'));
  						
  						        // 指定图表的配置项和数据
  								var option = {
  						            title: {
1f1e41d5   jack   去除中天(sunvote)等字样
54
  						                text: '教育管理系统用户统计'
ad5081d3   孙向锦   初始化项目
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
  						            },
  						            tooltip: {},
  						            xAxis: {
  						                data: ["系统用户","系统会员"]
  						            },
  						            yAxis: {},
  						            series: [
  						               {
  						                name: '',
  						                type: 'bar',
  						                data: [${pd.userCount},${pd.appUserCount}],
  						                itemStyle: {
  						                    normal: {
  						                        color: function(params) {
  						                            // build a color map as your need.
  						                            var colorList = ['#6FB3E0','#87B87F'];
  						                            return colorList[params.dataIndex];
  						                        }
  						                    }
  						                }
  						               }
  						            ]
  						        };	        
  
  						        // 使用刚指定的配置项和数据显示图表。
42ea7f23   孙向锦   修改中天电子信息
80
  						        // myChart.setOption(option);
ad5081d3   孙向锦   初始化项目
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
  						    </script>
  							
  						</div>
  						<!-- /.col -->
  					</div>
  					<!-- /.row -->
  				</div>
  				<!-- /.page-content -->
  			</div>
  		</div>
  		<!-- /.main-content -->
  
  
  		<!-- 返回顶部 -->
  		<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
  			<i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
  		</a>
  
  	</div>
  	<!-- /.main-container -->
  
  	<!-- basic scripts -->
  	<!-- 页面底部js¨ -->
  	<%@ include file="../index/foot.jsp"%>
  	<!-- ace scripts -->
  	<script src="static/ace/js/ace/ace.js"></script>
  	<!-- inline scripts related to this page -->
  	<script type="text/javascript">
  		$(top.hangge());
  	</script>
  <script type="text/javascript" src="static/ace/js/jquery.js"></script>
  </body>
  </html>