forked from liangrui1988/java-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.html
More file actions
169 lines (156 loc) · 8.28 KB
/
Copy pathmain.html
File metadata and controls
169 lines (156 loc) · 8.28 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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
80
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>一个基础架子后台管理系统</title>
<meta http-equiv="Expires" content="0">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<link href="common/all.css" rel="stylesheet">
<script type="text/javascript" src="common/all.js"></script>
<link href="modules/resources/css/sys/sys.css" rel="stylesheet" />
<!-- <script src="../resources/js/sys/sys.js"></script> -->
<link href="modules/resources/css/sys/page.public.css" rel="stylesheet" />
<link href="modules/resources/css/sys/page.index.css" rel="stylesheet" />
<link href="modules/resources/css/sys/page.prompt.css" rel="stylesheet" />
<link href="common/style/zTreeStyle/zTreeStyle.css" rel="stylesheet" />
<script src="common/jquery/jquery.prompt/jquery.prompt.js"></script>
<script src="common/jquery/jquery.ztree/jquery.ztree.core-3.5.js"></script>
<script src="common/jquery/jquery.ztree/jquery.ztree.excheck-3.5.js"></script>
<!--[if lt IE 9]>
<link href="../resources/style/ie-style.css" rel="stylesheet" />
<script src="../resources/js-plug/html5.js"></script>
<![endif]-->
<!--[if IE 6]>
<script src="../resources/js-plug/jquery.fix/EvPng.js"></script>
<script type="text/javascript">
EvPNG.fix("#nav-tree li a,#nav-tree li span.button.noline_open,#nav-tree li ul li span.button.switch,#nav-tree li ul li a");
</script>
<![endif]-->
<script type="text/javascript" src="modules/resources/js/sys/main.js"></script>
<script type="text/javascript">
$.ajaxSetup ({cache: false });
$(document).ready(function () { });
function showPrompt(options) {
$.prompt(options);
}
</script>
</head>
<body>
<div class="main_min_width" >
<header class="xyt-m-header ">
<div class="m-header">
<div class="m-header-inner margin_auto">
<div class="m-header-i-logo fn-left">
<div class="m-header-i-logo">
<div class="logo fn-left">
<img src="modules/resources/images/public/c-logo.jpg" alt="" />
</div>
<div class="headerfont fn-left">
<img src="modules/resources/images/public/c-header-left-font,.gif" alt="" />
</div>
<div class="fn-clear"></div>
</div>
<div class="fn-clear"></div>
</div>
<div class="m-header-i-font fn-right">
<div class="m-header-i-fontnum">
<div class="headerfont">
<span>您好,<label id="userNameLabel"></label>,欢迎登录后台管理系统!</span>
</div>
<div class="headerfontnum">
<img src="modules/resources/images/public/c-font.gif" alt="" />
</div>
</div>
</div>
<div class="fn-clear"></div>
</div>
</div>
<div class="m-header-t-nav">
<div class="m-header-nav-inner margin_auto">
<ul class="nav-ul">
<li class="selected"><a href="#" class="nav-list">首页</a></li>
<li class=""><a href="#" class="nav-list">基本设置</a></li>
<li class=""><a href="#" class="nav-list">商品管理</a></li>
<li class=""><a href="#" class="nav-list">商品运营</a></li>
<li class=""><a href="#" class="nav-list">其他服务</a></li>
<li class=""><a href="#" class="nav-list">系统设置</a></li>
<li class=""><a href="#" class="nav-list" onclick="goLogout()">退出系统</a></li>
</ul>
</div>
</div>
</header>
<div class="xyt-m-middle">
<div class="xyt-m-middle-inner margin_auto wrapper">
<div class="fn-left m-middle-layout-west sidebar">
<div class="ui-sidebar">
<div class="ui-nav-tree" id="ui-nav-ztree">
<ul id="nav-tree" class="ztree"></ul>
</div>
</div>
</div>
<div class="m-middle-layout-east content" id="m-middle-layout-east">
<script type="text/javascript">
function SetCwinHeight() {
//$("m-middle-layout-east").height(1000);
var iframeid = document.getElementById("iframeid"); //iframe id
var mlayouteast = $(".m-middle-layout-east");
var mlayoutwest = $(".m-middle-layout-west");
if (document.getElementById) {
if (iframeid && !window.opera) {
var _body = iframeid.contentWindow.document.body || iframeid.contentWindow.body;
if (_body != null) {
//console.log("Here" + iframeid.contentDocument.body);
if (iframeid.contentDocument && iframeid.contentDocument.body.offsetHeight) {
var _offset_height = iframeid.contentDocument.body.offsetHeight;
if (_offset_height <= 600) {
// mlayoutwest.height(600);
} else {
// mlayoutwest.height(_offset_height);
}
iframeid.height = iframeid.contentDocument.body.offsetHeight;
} else if (iframeid.Document && iframeid.Document.body.scrollHeight) {
var _scroll_height = iframeid.Document.body.scrollHeight;
if (_scroll_height <= 600) {
// mlayoutwest.height(600);
} else {
// mlayoutwest.height(_scroll_height);
}
iframeid.height = iframeid.Document.body.scrollHeight;
}
}
}
}
}
function runResizeTask() {
SetCwinHeight();
setTimeout("runResizeTask()", 500);//每隔半秒执行一次
}
runResizeTask();
</script>
<iframe width="100%" id="iframeid" onload="Javascript:SetCwinHeight()" height="1" frameborder="0" src="home.html"></iframe>
</div>
<div class="fn-clear"></div>
</div>
</div>
<footer class="xyt-m-footer">
<div class="xyt-m-footer-bg">
<div class="m-footer-inner margin_0_auto">
<div class="footer">
<a >关于我们 </a>|
<a >联系我们 </a>|
<a >版权声明 </a>|
<a >技术热线</a> |
<a >帮助中心</a>
</div>
<div class="footer">
<span>xxx计算机科技有限公司</span> @ 2014 |
<span>粤ICP备10001145号
</span>
</div>
</div>
</div>
</footer>
</div>
</body>
</html>