审计记录

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_tgwp56b3fjuzyqfr.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
			
			.layui-layout-admin .header-demo {
zxt@theyeasy.com committed
30 31
				border: none;
			}
32 33 34 35 36 37 38 39
			
			#chromeTip {
				position: fixed;
				top: 0;
				bottom: 0;
				left: 0;
				right: 0;
				background-color: #fff;
zxt@theyeasy.com committed
40 41 42
				z-index: 10000;
				display: none;
			}
43 44 45 46 47 48 49 50 51 52 53
			
			.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
54
			}
55 56 57 58 59 60 61
			
			.browserhint i {
				position: absolute;
				right: 40px;
				top: 20px;
				color: #fff;
				font-size: 16px;
zxt@theyeasy.com committed
62
			}
63 64 65
			
			.browserhint p {
				line-height: 35px;
zxt@theyeasy.com committed
66
			}
67 68 69 70 71
			
			.browseimg {
				background: url(../res/images/browser.png) no-repeat top -60px left 0px;
				width: 40px;
				height: 40px;
zxt@theyeasy.com committed
72
				vertical-align: middle;
73
				margin: 0 5px;
zxt@theyeasy.com committed
74 75
				display: inline-block;
			}
76 77 78
			
			.fa {
				margin-top: 10px;
zxt@theyeasy.com committed
79 80 81
			}
		</style>
		<script>
82
			/* $(function(){
83 84 85 86 87 88 89
									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
90 91
		</script>
	</head>
92

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

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

zxt@theyeasy.com committed
125 126 127 128 129 130 131 132 133 134 135 136
					<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">
137
						<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>
138
					</ul>
zxt@theyeasy.com committed
139 140 141 142 143 144 145
					<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>
146

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

				var cookie = "Th_xc_30b679eb2c90c60ff8679ce4ca562fcc";

zxt@theyeasy.com committed
173 174 175 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
				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();
206

zxt@theyeasy.com committed
207 208 209 210 211 212
				})
			</script>
		</div>
	</body>

</html>