审计记录

WebContent/WEB-INF/jsp/pc/index.jsp 6.2 KB
zxt@theyeasy.com committed
1 2 3 4 5 6 7 8 9
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
10
		<title>华南城小程序后台</title>
zxt@theyeasy.com committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24
		<link rel="stylesheet" href="/zzhnc/res/plugins/layui/css/layui.css">
		<link rel="stylesheet" href="/zzhnc/res/css/Layuiglobal.css">
		<link rel="stylesheet" href="/zzhnc/res/plugins/font-awesome/css/font-awesome.min.css">
		<link rel="stylesheet" href="http://at.alicdn.com/t/font_191348_9fd7twf7my3hxgvi.css">
		<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_450595_edbottoi4nu0izfr.css">
		<script src='http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js'></script>
		<style>
			.container {
				padding: 16px;
			}
			
			.layui-nav-tree .layui-nav-more {
				right: 30px;
			}
25
			
zxt@theyeasy.com committed
26
			.layui-layout-admin .site-demo-body {
27
				top: 70px;
zxt@theyeasy.com committed
28
			}
29 30
			
			.layui-layout-admin .header-demo {
zxt@theyeasy.com committed
31 32
				border: none;
			}
33 34 35 36 37 38 39 40
			
			#chromeTip {
				position: fixed;
				top: 0;
				bottom: 0;
				left: 0;
				right: 0;
				background-color: #fff;
zxt@theyeasy.com committed
41 42 43
				z-index: 10000;
				display: none;
			}
44 45 46 47 48 49 50 51 52 53 54
			
			.browserhint {
				width: 800px;
				margin: 0 auto;
				border-radius: 4px;
				height: 100px;
				top: 50%;
				margin-top: -50px;
				position: relative;
				color: #666;
				text-align: center;
zxt@theyeasy.com committed
55
			}
56 57 58 59 60 61 62
			
			.browserhint i {
				position: absolute;
				right: 40px;
				top: 20px;
				color: #fff;
				font-size: 16px;
zxt@theyeasy.com committed
63
			}
64 65 66
			
			.browserhint p {
				line-height: 35px;
zxt@theyeasy.com committed
67
			}
68 69 70 71 72
			
			.browseimg {
				background: url(../res/images/browser.png) no-repeat top -60px left 0px;
				width: 40px;
				height: 40px;
zxt@theyeasy.com committed
73
				vertical-align: middle;
74
				margin: 0 5px;
zxt@theyeasy.com committed
75 76
				display: inline-block;
			}
77 78 79
			
			.fa {
				margin-top: 10px;
zxt@theyeasy.com committed
80 81 82
			}
		</style>
		<script>
83 84 85 86 87 88 89 90
			/* $(function(){
						var tipObj = document.getElementById('chromeTip');
						if(tipObj){
							if( navigator.userAgent.indexOf('Chrome') == -1 || navigator.userAgent.indexOf('Edge') != -1){
								tipObj.style.display = 'block';
							}
						}
					}) */
zxt@theyeasy.com committed
91 92
		</script>
	</head>
93

zxt@theyeasy.com committed
94
	<body>
95
		<div id="chromeTip">
zxt@theyeasy.com committed
96
			<div class="browserhint">
97 98 99
				<p>由于您正在使用非谷歌内核的浏览器,微易互动将无法为您提供最佳体验。<br /> 建议您更换:
					<a href="http://rj.baidu.com/soft/detail/14744.html?ald" target="_blank" style="color:#ff8400;text-decoration: underline;"><span class="browseimg"></span>谷歌浏览器</a>
				</p>
zxt@theyeasy.com committed
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
			</div>
		</div>
		<div class="layui-layout layui-layout-admin">
			<div class="layui-header header header-demo">
				<div class="layui-main">
					<div class="admin-login-box">
						<a class="logo">

							<img src="/zzhnc/res/images/logo.png" />
						</a>
						<div class="admin-side-toggle">
							<i class="fa fa-bars" aria-hidden="true"></i>
						</div>
						<div class="admin-side-full">
							<i class="fa fa-life-bouy" aria-hidden="true"></i>
						</div>
					</div>
					<ul class="layui-nav admin-header-item" style="right:80px;">
						<li class="layui-nav-item">
							<a href="javascript:;" class="admin-header-user loginnamebtn">
								<span class="loginname">admin</span>
							</a>
122

zxt@theyeasy.com committed
123 124
						</li>
					</ul>
125

zxt@theyeasy.com committed
126 127 128 129 130 131 132 133 134 135 136 137
					<div class="layui-nav-item" style="position: absolute;top:0;right:10px;">
						<a class="signOut" style="color:#999;padding:0 12px;line-height:25px;margin-top:20px;border:1px solid #999;border-radius:20px;display:inline-block; cursor: pointer;">退出</a>
					</div>
				</div>
			</div>
			<!--侧方导航-->
			<div class="layui-side layui-bg-black" id="admin-side">
				<div class="layui-side-scroll" id="admin-navbar-side" lay-filter="side"></div>
			</div>
			<div class="layui-body layui-tab-content site-demo site-demo-body" style="bottom: 0;" id="admin-body">
				<div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab">
					<ul class="layui-tab-title">
138 139
						<li lay-id="0" class="layui-this"><i class="iconfont icon-xiangmu"></i><cite>项目管理</cite><i class="layui-icon layui-unselect layui-tab-close" data-id="0"></i></li>
						<!-- </li>
zxt@theyeasy.com committed
140 141 142 143
						<li class="layui-this">
							<i class="fa fa-dashboard" aria-hidden="true"></i>
							<cite>项目管理</cite>
						</li>-->
144
					</ul>
zxt@theyeasy.com committed
145 146 147 148 149 150 151
					<div class="layui-tab-content" style="min-height: 150px; padding: 0; height: auto;">
						<div class="layui-tab-item layui-show">
							<iframe src="/zzhnc/project/projectIndex" target="_self" id="baseIframe" data-id="0"></iframe>
						</div>
					</div>
				</div>
			</div>
152

zxt@theyeasy.com committed
153 154 155 156 157 158
			<div class="site-tree-mobile layui-hide">
				<i class="layui-icon">&#xe602;</i>
			</div>
			<div class="site-mobile-shade"></div>
			<script src='/zzhnc/res/js/jquery.min.js'></script>
			<script src="/zzhnc/res/plugins/layui/layui.js" charset="utf-8"></script>
159
			<script src="/zzhnc/res/js/navbar.js" charset="utf-8"></script>
zxt@theyeasy.com committed
160 161 162 163
			<script type="text/javascript" src="/zzhnc/res/plugins/datas/nav.js"></script>
			<script src="/zzhnc/res/js/index.js"></script>
			<script src="/zzhnc/res/js/me.js"></script>
			<script>
164 165
				layui.use(['element', 'layer'], function() {
					var element = layui.element(),
zxt@theyeasy.com committed
166
						layer = layui.layer;
167 168 169 170 171 172 173 174
					$(".fa-dashboard").on("click", function() {
						if($(this).attr("lay-id") == "0") {
							var src = $("iframe[data-id='0']")[0].src;
							window.parent.location.reload(src)
						}

					})

zxt@theyeasy.com committed
175
				});
176 177 178

				var cookie = "Th_xc_30b679eb2c90c60ff8679ce4ca562fcc";

zxt@theyeasy.com committed
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
				function setCookie(name, value) {
					var Days = 0;
					var exp = new Date();
					exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
					document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString() + ";path=/";
				}

				var merchantid = null;
				layui.use('layer', function() {
					var $ = layui.jquery;
					var layer = layui.layer;

					var globalNum = {
						account: '',
						phone: '',
						nickname: ''
					};

					//退出
					$(".signOut").click(function() {
						$.post("/zzhnc/exit", function(data) {
							if(data.code == 0) {
								//setCookie(cookie, "");
							}
						});
						location.href = "/zzhnc"
					})

					// 初始化
					function init() {

					}
					init();
212

zxt@theyeasy.com committed
213 214 215 216 217 218
				})
			</script>
		</div>
	</body>

</html>