审计记录

WebContent/WEB-INF/jsp/pc/index.jsp 6.0 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
		<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">
14
		<link rel="stylesheet" href="http://at.alicdn.com/t/font_450595_ifme6z69cizwu3di.css">
zxt@theyeasy.com committed
15 16 17 18 19 20 21 22 23
		<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;
			}
24
			
zxt@theyeasy.com committed
25
			.layui-layout-admin .site-demo-body {
26
				top: 70px;
zxt@theyeasy.com committed
27
			}
28 29 30
			.layui-layout-admin .layui-side{
				top: 70px;
			}
31 32
			
			.layui-layout-admin .header-demo {
zxt@theyeasy.com committed
33 34
				border: none;
			}
35 36 37 38 39 40 41 42
			
			#chromeTip {
				position: fixed;
				top: 0;
				bottom: 0;
				left: 0;
				right: 0;
				background-color: #fff;
zxt@theyeasy.com committed
43 44 45
				z-index: 10000;
				display: none;
			}
46 47 48 49 50 51 52 53 54 55 56
			
			.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
57
			}
58 59 60 61 62 63 64
			
			.browserhint i {
				position: absolute;
				right: 40px;
				top: 20px;
				color: #fff;
				font-size: 16px;
zxt@theyeasy.com committed
65
			}
66 67 68
			
			.browserhint p {
				line-height: 35px;
zxt@theyeasy.com committed
69
			}
70 71 72 73 74
			
			.browseimg {
				background: url(../res/images/browser.png) no-repeat top -60px left 0px;
				width: 40px;
				height: 40px;
zxt@theyeasy.com committed
75
				vertical-align: middle;
76
				margin: 0 5px;
zxt@theyeasy.com committed
77 78
				display: inline-block;
			}
79 80 81
			
			.fa {
				margin-top: 10px;
zxt@theyeasy.com committed
82 83 84
			}
		</style>
		<script>
85
			/* $(function(){
86 87 88 89 90 91 92
				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
93 94
		</script>
	</head>
95

zxt@theyeasy.com committed
96
	<body>
97
		<div id="chromeTip">
zxt@theyeasy.com committed
98
			<div class="browserhint">
99 100 101
				<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
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
			</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>
124

zxt@theyeasy.com committed
125 126
						</li>
					</ul>
127

zxt@theyeasy.com committed
128 129 130 131 132 133 134 135 136 137 138 139
					<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">
140
						<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>
141
					</ul>
zxt@theyeasy.com committed
142 143
					<div class="layui-tab-content" style="min-height: 150px; padding: 0; height: auto;">
						<div class="layui-tab-item layui-show">
144
							<iframe src="/zzhnc/banner/bannerList" target="_self" id="baseIframe" data-id="0"></iframe>
zxt@theyeasy.com committed
145 146 147 148
						</div>
					</div>
				</div>
			</div>
149

zxt@theyeasy.com committed
150 151 152 153 154 155
			<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>
156
			<script src="/zzhnc/res/js/navbar.js" charset="utf-8"></script>
zxt@theyeasy.com committed
157 158 159 160
			<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>
161
				layui.use(['element', 'layer'], function() {
162
					var element = layui.element,
zxt@theyeasy.com committed
163
						layer = layui.layer;
164 165 166 167 168 169 170 171
					$(".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
172
				});
173 174 175

				var cookie = "Th_xc_30b679eb2c90c60ff8679ce4ca562fcc";

zxt@theyeasy.com committed
176 177 178 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
				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();
209

zxt@theyeasy.com committed
210 211 212 213 214 215
				})
			</script>
		</div>
	</body>

</html>