<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>

<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="utf-8">
	<meta name="author" content="" />
	<meta name="viewport" content="width=device-width,height=device-height, user-scalable=no,initial-scale=1, minimum-scale=1, maximum-scale=1,target-densitydpi=device-dpi ">
	<meta name="robots" content="" />
	<title>首页</title>
	<script type="text/javascript" src="${ctx }/scripts/jquery/jquery-1.9.1.min.js"></script>
	<script  type="text/javascript" src="https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js" ></script>
	<script type="text/javascript" src="${ctx }/scripts/lib/template-native.js"></script>
	<script type="text/javascript" src="${ctx }/scripts/lib/dropdown/dropload.min.js"></script>
	<script type="text/javascript" src="${ctx }/scripts/visitor/controlOptionMenu.js?v=4.0"></script>
	<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
	<script type="text/javascript" src="<c:url value='/plugin/layer_mobile/layer.js?v=4.5'/>"></script>
	<script type="text/javascript" src="${ctx }/plugin/swiper/swiper_js/swiper-3.4.1.min.js"></script>
	<link rel="stylesheet" type="text/css" href="${ctx }/plugin/swiper/swiper_css/swiper-3.4.1.min.css" />
	<%-- <link rel="stylesheet" type="text/css" href="${ctx }/styles/userset/address_index.css?ver=2.0" /> --%>
	<%-- <script type="text/javascript" src="${ctx }/scripts/servicehome/ordAddress.js?v=9.2111111122222"></script> --%>
	<%-- 	<script type="text/javascript" src="${ctx }/plugin/flex/index.min.js"></script> --%>
	<link rel="stylesheet" href="${ctx }/styles/common/reset.css?ver=5.2" type="text/css">
	<link rel="stylesheet" href="${ctx }/scripts/lib/dropdown/dropload.css" type="text/css">
	<link rel="stylesheet" type="text/css" href="${ctx }/styles/wechat/chooseItem.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/styles/servicehome/superdesthome_two.css?2019-7-22" />
	<script type="text/javascript" src="${ctx }/scripts/servicehome/zepto.js"></script>
	<script type="text/javascript" src="${ctx }/scripts/servicehome/city.js"></script>
  <script type="text/javascript" src="${ctx}/plugin/vconsole/vconsole.min.js"></script>
</head>
<style>

    html, body {
        height: 100%;
        width: 100%;
        overflow: hidden;
    }
     iframe {
        border: 0;
        z-index: 10000;
        position: fixed;
        width: 100%;
        height: 100%;
    }
    #mainContent{
      display: none
    }
  .ball {
	  position: fixed;
    line-height: 34px;
    width: 50px;
    height: 50px;
    padding: .5rem;
    text-align: center;
    border-radius: 50px;
    color: #fff;
    /*border: 1rem solid transparent;*/
    /* background-color: #ed424b; */
    background-color: rgba(0,0,0,0.3);
    background-clip: padding-box;
    text-decoration: none;
    top: 2em;
    z-index: 10000;
}
</style>
<script type="text/javascript">
	/* $(function () {
		wexConfig();
		var organizationId = $("#organizationId").val();
		var userStatus = $("#userStatus").val();
		if ((organizationId == "" || organizationId == null) && userStatus != 1) {
			loadProvincecityByCity();
			var buildingtimer = setTimeout(function () {
				$(".buildingmask").show().find(".selectbuilding").animate({
					bottom: 0
				}, 500);
			}, 500);
		}
	}); */

	/* $(function () {
		var swipers = new Swiper('.banner_up_service', {
			slidesPerView: 'auto',
			spaceBetween: 15,
			slidesOffsetBefore: 15,
			slidesOffsetAfter: 15,
		});

		wexConfig();
		var organizationId = $("#organizationId").val();
		var userStatus = $("#userStatus").val();
		if ((organizationId == "" || organizationId == null) && userStatus != 1) {
			loadProvincecityByCity();
			var buildingtimer = setTimeout(function () {
				$(".buildingmask").show().find(".selectbuilding").animate({
					bottom: 0
				}, 500);
			}, 500);
		}
	}); */

	/* $(function () {
		var mySwiper = new Swiper('.swiper-container', {
			loop: true,
			autoplay: 2000,
			// 如果需要分页器
			pagination: '.swiper-pagination',
		});
		wexConfig();
		var organizationIds = $("#organizationId").val();
		var userStatus = $("#userStatus").val();
		if ((organizationIds == "" || organizationIds == null) && userStatus != 1) {
			loadProvincecityByCity();
			var buildingtimer = setTimeout(function () {
				$(".buildingmask").show().find(".selectbuilding").animate({
					bottom: 0
				}, 500);
			}, 500);
		}
	}); */

	/**
	 * 定位校区
	 */
	/* function initOrgSelect(lat, lng) {
		if (lat == null || lng == null || lat == "" || lng == "") {
			return;
		}
		var developId = $("#developId").val();
		$.ajax({
			url: $("#contextPath").val() + "/wechat/index/initOrgSelect",
			type: "POST",
			dataType: "json",
			data: {
				latitude: lat,
				longitude: lng,
				developId: developId
			},
			timeout: 100000,
			beforeSend: function (xhr) {

			},
			success: function (data) {
				if (data != null && data != "") {
					$("#locationiconName").html(data.name);
					$("#locationiconId").val(data.id);
					$("#cityCode").val(data.cityCode);
				}

			}

		});
	}
 */
	/* function serviceHomeLoadPorject() {
		var userStatus = $("#userStatus").val();
		if (userStatus == 1) {
			return;
		}
		loadProvincecityByCity();
		$(".buildingmask").show().find(".selectbuilding").animate({
			bottom: 0
		}, 500);
	} */

	/**
	 * 跳转申请新的校区
	 */
	function saveProject() {
		var params = "?developId=" + $("#developId").val() + "&userId=" + $("#userId").val() + "&openId=" + $("#openId").val();
		location.href = $("#contextPath").val() + "/wechat/property/organizationView" + params;
	}
</script>

<body>
	<input type="hidden" id="openId" value="${openId }" />
	<input type="hidden" id="developId" value="${developId }" />
	<input type="hidden" id="register" value="${register }" />
	<input type="hidden" id="userId" value="${userId }" />
	<input type="hidden" id="contextPath" value="${ctx }" />
	<input type="hidden" id="userStatus" value="${userStatus }" />
	<input type="hidden" id="publicId" value="${publicId}" />
	<input type="hidden" id="cityCode" value="" />
	<input type="hidden" id="organId" value="${organization.id}" />
	<input type="hidden" id="orgName" value="${organization.name}" />
	<input type="hidden" id="nickName" value="${wxUser.nickName}" />
	<input type="hidden" id="nickPic" value="${wxUser.headimgUrl}" />
	<input type="hidden" id="telephone" value="${organization.telephone}" />
	<input type="hidden" id="accountType" value="${organization.accountType}" />
  <input type="hidden" id="passType" value="${organization.passType}" />
  <!-- <iframe id="mainContent"></iframe> -->
	<div class="wx-index-wp first-wx-index">
		<div class="wx-index-con">
			<div class="logo">
				<%-- <img src="${ctx }/images/index_v1.0/logo.png" alt=""> --%>
				<span class="place_icon"></span>
				<span class="org-name"></span>
				<i class="icon_menu"></i>
			</div>
			<div class="banner_up">

			</div>
			<div class="service-list">

			</div>
			<div class="information-wp">
				<div class="infortion-top">
					<h2 class="title">公告资讯</h2>
					<h2 class="border"></h2>
					<h2 class="notice">NOTICE</h2>
					<span class="more">more »</span>
				</div>
				<div class="new-infor-list">

				</div>
			</div>
		</div>
		<div class="nav-wp">
			<a href="javascript:void(0)" class="nav-btn home active">
				<span class="icon"></span>
				<div class="name">首页</div>

			</a>
			<a href="javascript:void(0)" class="nav-btn service ">
				<span class="icon"></span>
				<div class="name">服务</div>

			</a>
			<a href="javascript:void(0)" class="nav-btn trade_area ">
				<span class="icon"></span>
				<div class="name"></div>
			</a>
			<a href="javascript:void(0)" class="nav-btn mine" onclick="getUserInfo('${organization.id}')">
				<span class="icon"></span>
				<div class="name">我的</div>
			</a>
		</div>
	</div>
	<div class="wx-index-wp second-wx-index">
		<div class="wx-index-con">
			<div class="headerS">
				<div class="wx-index-top">
					<div class="logo-icon"></div>
					<div class="func-icon address-icon"></div>
				</div>
				<div class="wx-org-name"></div>
				<a href="javascript:void(0)" class="hide aboutUs"></a>
				<div class="wx-index-tip">欢迎您，${wxUser.nickName}</div>
				<div class="wx-index-date"></div>
			</div>


			<div class="second-service-wp"></div>
			<div class="second-infor-wp"></div>
		</div>
		<div class="nav-wp">
			<a href="javascript:void(0)" class="nav-btn home active">
				<span class="icon"></span>
				<div class="name">首页</div>

			</a>
			<a href="javascript:void(0)" class="nav-btn service ">
				<span class="icon"></span>
				<div class="name">服务</div>

			</a>
			<a href="javascript:void(0)" class="nav-btn trade_area ">
				<span class="icon"></span>
				<div class="name"></div>
			</a>
			<a href="javascript:void(0)" class="nav-btn mine" onclick="getUserInfo('${organization.id}')">
				<span class="icon"></span>
				<div class="name">我的</div>
			</a>
		</div>
  </div>
	<!-- 选择楼宇0710 -->
	<%-- 	<div class="buildingmask">
			<div class="selectbuilding">
				<!-- 搜索栏 -->
				<div class="searchbar" id="opSearchbar">
					<a href="javascript: void(0);" title="搜索" class="searchbuild"><i></i></a>
					<h3 class="buildingname">选择公司名称</h3>
					<a href="javascript: void(0);" title="关闭" class="closebuild"><i></i></a>
				</div>

				<div class="searchbarentry" id="opSearchbarentry">
					<div class="seachentry">
						<input type="text" class="js_searchinput" id="opName">
						<i class="iconclear" id="opIconclear"></i>
					</div>
				</div>
				<!-- 搜索信息 -->
				<div class="outerbuildinglist">
					<div class="buildinglistwrap">
						<div class="location">
							<strong class="locationicon"><i></i></strong> <em>深圳市中航中心</em>
						</div>
						<ul class="buildinglist">
							<li>
								<div class="buildingcity">
									<span>深圳市</span> <strong class="arrowcity"><i></i></strong>
								</div>
								<ul class="projectlist">
									<li>深圳中航中心</li>
									<li>深圳中航中心</li>
								</ul>
							</li>
							<li>
								<div class="buildingcity">
									<span>北京市</span> <strong class="arrowcity"><i></i></strong>
								</div>
								<ul class="projectlist">
									<li>深圳中航中心</li>
									<li>深圳中航中心</li>
								</ul>
							</li>
							<li>
								<div class="buildingcity">
									<span>成都市</span> <strong class="arrowcity"><i></i></strong>
								</div>
								<ul class="projectlist">
									<li>深圳中航中心</li>
									<li>深圳中航中心</li>
								</ul>
							</li>
							<li>
								<div class="buildingcity">
									<span>成都市</span> <strong class="arrowcity"><i></i></strong>
								</div>
								<ul class="projectlist">
									<li>深圳中航中心</li>
									<li>深圳中航中心</li>
								</ul>
							</li>
							<li>
								<div class="buildingcity">
									<span>成都市</span> <strong class="arrowcity"><i></i></strong>
								</div>
								<ul class="projectlist">
									<li>深圳中航中心</li>
									<li>深圳中航中心</li>
								</ul>
							</li>
							<li>
								<div class="buildingcity">
									<span>成都市</span> <strong class="arrowcity"><i></i></strong>
								</div>
								<ul class="projectlist">
									<li>深圳中航中心</li>
									<li>深圳中航中心</li>
								</ul>
							</li>
							<li>
								<div class="buildingcity">
									<span>成都市</span> <strong class="arrowcity"><i></i></strong>
								</div>
								<ul class="projectlist">
									<li>深圳中航中心</li>
									<li>深圳中航中心</li>
								</ul>
							</li>
							<li>
								<div class="buildingcity">
									<span>成都市</span> <strong class="arrowcity"><i></i></strong>
								</div>
								<ul class="projectlist">
									<li>深圳中航中心</li>
									<li>深圳中航中心</li>
								</ul>
							</li>
							<li>
								<div class="buildingcity">
									<span>成都市</span> <strong class="arrowcity"><i></i></strong>
								</div>
								<ul class="projectlist">
									<li>深圳中航中心</li>
									<li>深圳中航中心</li>
								</ul>
							</li>

							<li>
								<div class="buildingcity">
									<span>成都市</span> <strong class="arrowcity"><i></i></strong>
								</div>
								<ul class="projectlist">
									<li>深圳中航中心</li>
									<li>深圳中航中心</li>
								</ul>
							</li>
						</ul>
						<!-- 申请入驻公司 -->
						<a href="javaScript:void(0)" class="application" onclick="saveProject()">
							<img src="${ctx }/images/userlogin/build.jpg" alt="" />
						</a>
					</div>
				</div>
			</div>
		</div> --%>
  <script type="text/javascript" src="${ctx }/scripts/servicehome/superdesthome.js?2019-8-28-3"></script>
  <!-- <script type="text/javascript" src="${ctx }/scripts/servicehome/Inertia.js?2019-6-3"></script> -->
  <script>
    // window.onload = function() {
    //   var mainContent = document.getElementById('mainContent');
    //   mainContent.src = "https://www.baidu.com/"//嵌套网址
    //   // new Inertia(document.getElementById('ball'),{edge:false});
    // }

    // var vConsole = new VConsole();
  </script>
</body>

</html>