<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">

<head th:fragment="header(title, link)">
<meta charset="utf-8" />
<link rel="icon" th:href="${portalHost+'/img/ico_logo.ico'}">
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<meta name="viewport"
	content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1,user-scalable=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>技淘--我的技术和科技服务交易平台</title>
<th:block th:replace="${link}" />
<body>
	<th:block th:fragment="nav(mainM,subM)">
		<div class="container">
			<div class="logo">
				<a th:href="${basePath + '/portal/index.html'}"> <img
					th:src="${portalHost+'/img/Logo111.png'}" alt="" title="技淘" />
				</a>
			</div>
			<div class="logo_right"></div>
			<div class="nav">
				<ul>
					<li th:classappend="${mainM=='service'}? 'active'"><a
						th:href="${basePath + '/portal/service/serviceIndex.html'}">科技服务</a>
						<img th:src="${portalHost+'/img/hot.png'}" />
						<ol class="subnavigation">
							<li><a
								th:href="${basePath + '/portal/service/highTechCognizance.html'}">高企认定</a>
							</li>
							<li><a
								th:href="${basePath + '/portal/service/propertyRight.html'}">知识产权</a>
							</li>
						</ol></li>
					<li th:classappend="${mainM=='technologyTrading'}? 'active'">
						<a th:href="${basePath + '/portal/technologyTrading/index.html'}">技术交易</a>
						<ol class="subnavigation">
							<li><a
								th:href="${basePath + '/portal/technologyTrading/achievement.html'}">专利产品</a>
							</li>
							<li><a
								th:href="${basePath + '/portal/technologyTrading/achievement.html'}">技术成果</a>
							</li>
							<li><a
								th:href="${basePath + '/portal/technologyTrading/demand.html'}">技术需求</a>
							</li>
							<li><a
								th:href="${basePath + '/portal/technologyTrading/assessMent.html'}">技术评估</a>
							</li>
						</ol>
					</li>
					<li th:classappend="${mainM=='thinkTank'}? 'active'"><a
						th:href="${basePath + '/portal/thinkTank/index.html'}">智库咨询</a>
						<ol class="subnavigation">
							<li><a
								th:href="${basePath + '/portal/thinkTank/policyList.html'}">智政</a>
							</li>
							<li><a
								th:href="${basePath + '/portal/thinkTank/index.html#zizone'}">智者</a>
							</li>
						</ol></li>
					<!-- <li><a th:href="${basePath + '/portal/financial/index.html'}">科技金融</a>
						<ol class="subnavigation">
							<li><a
								th:href="${basePath + '/portal/financial/investmentInstitution.html'}">投资机构</a>
							</li>
						</ol></li> -->
					<li><a th:href="${basePath + '/portal/aboutUs.html'}">关于公司</a>
						<ol class="subnavigation">
							<li><a
								th:href="${basePath + '/portal/contactUs.html'}">联系我们</a>
							</li>
					</ol></li>						
					<!-- <li><a href="#">科技活动</a></li> <li><a href="#">平台共建</a></li> 	-->
				</ul>
			</div>
			<div class="nav_right" th:if="${!isLogin}">
				<a th:href="${basePath + '/user/signIn.html'}"> <img
					th:src="${portalHost+'/img/index_resiter.png'}" alt="" />
				</a> 
				<a href="javascript:;" class="head_login">登录</a> 
				<div></div>
			</div>
			<div class="nav_right" th:if="${isLogin}">
				<a th:href="${basePath + (isAdmin? '/admin/index.html':'/user/account/index.html')}"
					th:text="${#strings.isEmpty(userName)?'个人中心':userName}">个人中心</a> 
				<a th:href="${basePath + '/user/logout'}">退出</a> 
				<a th:href="${basePath + '/portal/aboutUs.html'}">关于公司</a>
				<div></div>
			</div>
		</div>
	</th:block>

	<th:block th:fragment="banners">
		<div id="myCarousel" class="carousel slide"
			th:if="${banners!=null && banners.size() > 1}">
			<ol class="carousel-indicators">
				<th:block th:each="banner,bannerStat:${banners}">
					<li data-target="#myCarousel" data-slide-to="0"
						th:class="${bannerStat.first?'active':''}"></li>
				</th:block>
			</ol>
			<div class="carousel-inner">
				<th:block th:each="banner,bannerStat:${banners}">
					<div class="item" th:classappend="${bannerStat.first?'active':''}">
						<img th:src="${staticDomain +'/upload'+  banner.imgurl}"
							th:alt="${banner.text}">
					</div>
				</th:block>
			</div>
			<a class="carousel-control left" href="#myCarousel" data-slide="prev"><span
				class="glyphicon glyphicon-chevron-left"></span></a> <a
				class="carousel-control right" href="#myCarousel" data-slide="next"><span
				class="glyphicon glyphicon-chevron-right"></span></a>
		</div>
		<div class="banner-item" th:if="${banners!=null && banners.size()==1}">
			<img th:src="${staticDomain +'/upload'+  banners[0].imgurl}"
				th:alt="${banners[0].text}">
		</div>
	</th:block>

	<th:block th:fragment="copyright">
		<div id="bottom">
			<div class="bottom">
				<div class="bottom_text">
					<div class="text_top">
						<a th:href="${basePath + '/portal/aboutUs.html'}">关于公司</a>
						<a th:href="${basePath + '/portal/contactUs.html'}">联系我们</a>
						<p>Copyright &copy 2016-2017 科德 版权所有 湘ICP备15019731号 -2
							技术支持：湖南阿凡提科技有限公司</p>
					</div>
					<div class="text_center" id="qrCode">
						<div class="cont_left">
							<img th:src="${portalHost+'/img/dizhi.jpg'}" alt="" />
							<p>湖南省长沙市营盘东路19号金山大厦八楼</p>
						</div>
						<div class="cont_center">
							<img th:src="${portalHost+'/img/dianhua.jpg'}" alt="" />
							<p>合作电话：400-8800-962</p>
						</div>
						<div class="cont_guanli">
							<a th:href="${basePath + '/admin/login'}">
								<img th:src="${portalHost+'/img/guanli.png'}" alt="" />
								<p>管理员入口</p>
							</a>
						</div>
						<div class="cont_rightapp">
							<img th:src="${portalHost+'/img/erweima_iphone.png'}" alt="" />
							<p>iPhone版</p>
						</div>
						<div class="cont_right android">
							<img th:src="${portalHost+'/img/erweima_android.jpg'}" alt="" />
							<p>Android版</p>
						</div>
						<div class="cont_right">
							<img th:src="${portalHost+'/img/erweima.jpg'}" alt="" />
							<p>微信公众号</p>
						</div>
					</div>
					<div class="text_bottom">
						<p>友情链接</p>
						<a href="http://www.hnst.gov.cn/" target="_blank">湖南省科技厅/</a> <a
							href="http://www.cssti.cn/" target="_blank">长沙市科技局/</a> <a
							href="http://www.cast.org.cn/" target="_blank">中国科学技术协会/</a> <a
							href="http://www.chinatorch.gov.cn/" target="_blank">科技部火炬中心/</a> <a
							href="http://www.nosta.gov.cn/web/index.aspx" target="_blank">国家科技成果奖励办/</a> <a
							href="http://www.nast.org.cn/" target="_blank">国家科技成果网/</a> <a
							href="http://www.hnast.org.cn/portal/comm/index.action" target="_blank">湖南省科学技术协会/</a>
						<a href="http://www.hncgw.gov.cn/" target="_blank">湖南省科技成果转化公共服务平台/</a> <a
							href="http://www.hnjxw.gov.cn/" target="_blank">湖南省经济信息化委员会/</a> <a
							href="http://kyy.hnu.cn/" target="_blank">湖南大学科学技术研究院/</a> <a
							href="http://www.gxst.gov.cn/gxkjt/" target="_blank">广西省科技厅/</a> <a
							href="http://www.nmkjt.gov.cn/" target="_blank">内蒙古自治区科技厅/</a> <a
							href="http://www.cshtz.gov.cn/" target="_blank">长沙市高新区管委会/</a> <a
							href="http://www.jxas.ac.cn/" target="_blank">江西省科学院/</a> <a
							href="http://www.cnic.cn/front/index.html#/cnicSite/home" target="_blank">中科院计算机网络信息中心/</a>
						<a href="http://kxyjb.csu.edu.cn/" target="_blank">中南大学科学研究部/</a> <a
							href="http://www.cast.org.cn/" target="_blank">中国科协创新创业服务中心/</a> <a
							href="http://www.hbstd.gov.cn/" target="_blank">湖北省科技厅/</a> <a
							href="http://www.gdstc.gov.cn/" target="_blank">广东省科技厅/</a> <a
							href="http://www.hnkjt.gov.cn/" target="_blank">河南省科技厅/</a> <a
							href="http://www.cbtm.gov.cn/" target="_blank">技术合同登记官网</a>
					</div>
				</div>
			</div>
		</div>
		<div onclick="_MEIQIA('showPanel')" id="lxkf" style="display:none"></div>
		<div th:if="${!isAdmin}" class="pub_fix">
			<span class="index_blur"></span>
			<ul class="ret_top">
				<li th:classappend="${!isLogin}? 'head_login'"><a
					th:if="${!isLogin || userData.lvl == 1}"
					th:href="${isLogin?(basePath + '/portal/member') : 'javascript:;'}">
						<img th:src="${portalHost+'/img/index_fix0.png'}" alt="" />
						<p>申请会员</p>
				</a> <a th:if="${isLogin && userData.lvl == 0}"
					th:href="${basePath + '/user/certify'}"> <img
						th:src="${portalHost+'/img/index_fix0.png'}" alt="" />
						<p>实名认证</p>
				</a></li>
				<li><a onclick="_MEIQIA('showPanel')"> <img
						th:src="${portalHost+'/img/index_fix3.png'}" alt="" />
						<p>联系客服</p>
				</a></li>
				<li><a href="" class="pendent_box"> <img
						th:src="${portalHost+'/img/index_fix4.png'}" alt="" />
						<p>返回顶部</p>
				</a></li>
			</ul>
			<span class="index_orange"></span>
		</div>
		<div class="message">
			<span></span>
		</div>
	</th:block>
	<th:block th:fragment="login">
		<div class="login">
			<div class="login_mian">
				<div class="login_left">
					<div class="login_ewm">
						<img th:src="${portalHost+'/img/Android.jpg'}" alt="二维码" />
						<p>Android版</p>
						<p>客户端</p>
					</div>
					<div class="login_ewm">
						<img th:src="${portalHost+'/img/iPhone.jpg'}" alt="二维码" />
						<p>iPhone版</p>
						<p>客户端</p>
					</div>
				</div>
				<div class="login_right">
					<h5>
						用户登录<a href="/user/signIn.html">免费注册有好礼呦!!</a>
					</h5>
					<form id="form_login">
						<div class="login_uesr">
							<label for="uesname"><img
								th:src="${portalHost+'/img/login_use.png'}" /></label> <input
								type="text" name="username" id="Lo_user" placeholder="请输入用户名" />
							<img th:src="${portalHost+'/img/login_del.png'}" class="log_del" />
						</div>
						<div class="login_pass">
							<label for="pass"><img
								th:src="${portalHost+'/img/login_password.png'}" /></label> <input
								type="password" name="password" id="Lo_pass" placeholder="请输入密码" />
						</div>
						<div class="login_check">
							 <a href="">忘记密码？</a>
						</div>
						<input type="submit" value="登 陆" class="login_submit" />
					</form>
					<img th:src="${portalHost+'/img/login_hua.png'}" alt=""
						class="login_hua" /> <img
						th:src="${portalHost+'/img/login_shadow.png'}" alt="阴影效果"
						class="login_shadow" /> <img
						th:src="${portalHost+'/img/login_close.png'}" alt=""
						class="login_close" />
				</div>
			</div>
		</div>
		<div id="forget">
			<div class="forget">
				<form id="forget_form">
					<div class="forget_top">
						<a href="">忘记密码？</a>
						<div class="login_check">
							<label for="forget_checks" class="lab_check"> <input
								type="checkbox" name="type" id="forget_checks" />专家登录
							</label> <label for="forget_checkst" class="lab_checkno"> <input
								type="checkbox" name="type" id="forget_checkst" />企业登录
							</label>
						</div>
					</div>
					<div class="forget_center">
						<div class="phone">
							<label for="forget_phone"> 手机号码：<input type="text"
								name="type" id="forget_phone" placeholder="请输入您的手机号码..." />
							</label>
						</div>
						<div class="yanzheng">
							<label for="forget_yanzheng"> 图形验证码：<input type="text"
								name="type" id="forget_yanzheng" />
							</label>
							<div class="yanzhengma_cont_">
								<img th:src="${basePath+'/open/getVCode'}" />
							</div>
						</div>
						<div class="cellcode_">
							<div>
								验证码：<input type="text" name="cellCode" placeholder="手机验证码"
									id="photo_n" />
							</div>
							<input type="button" id="photo_m" value="获取验证码" disabled />
						</div>
						<div class="fastener">
							<input type="submit" class="forget_sub" value="确认" />
							<div class="fastener_right">取消</div>
						</div>
					</div>
				</form>
				<img th:src="${portalHost+'/img/login_close.png'}" alt=""
					class="login_close" /> <img
					th:src="${portalHost+'/img/login_shadow.png'}" alt="阴影效果"
					class="login_shadow" />
			</div>
		</div>
		<div id="new_password">
			<div class="new_password">
				<form id="new_password_form">
					<div class="password_top">
						<h4>设置新密码</h4>
						<span>密码长度为6-20个字符，区分大小写</span>
					</div>
					<div class="password_center">
						<div>
							<label for="new_pass"> 新密码：<input type="password"
								name="type" id="new_pass" placeholder="请输入您的新密码..." />
							</label>
						</div>
						<div>
							<label for="new_pass_again"> 确认密码：<input type="password"
								name="type" id="new_pass_again" placeholder="请确认您的密码..." />
							</label>
						</div>
						<div class="fastener">
							<input type="submit" class="new_password_sub" value="确认" />
							<div class="fastener_right">取消</div>
						</div>
					</div>
				</form>
				<img th:src="${portalHost+'/img/login_close.png'}" alt=""
					class="login_close" /> <img
					th:src="${portalHost+'/img/login_shadow.png'}" alt="阴影效果"
					class="login_shadow" />
			</div>
		</div>

		<div class="smg">
			<input type="text" name="msg" value="" id="msg" readonly="readonly" />
		</div>
	</th:block>

	<th:block th:fragment="footer(scripts)">
		<script th:inline="javascript">
			/*<![CDATA[*/
			window.globalConfig = {};
			globalConfig.context = /*[[${basePath}]]*/'';
			globalConfig.portalHost = /*[[${portalHost}]]*/'';
			globalConfig.staticDomain = /*[[${staticDomain}]]*/'';
			globalConfig.staticHost = /*[[${staticHost}]]*/'';
			globalConfig.uploadPath = /*[[${uploadPath}]]*/'';
			globalConfig.uploadPrivatePath = /*[[${uploadPrivatePath}]]*/'';
			globalConfig.avatarHost = /*[[${avatarHost}]]*/'';
			globalConfig.avatarUploadHost = /*[[${avatarUploadHost}]]*/'';
			globalConfig.csrfToken = /*[[${csrf}]]*/'';
			globalConfig.kfqq = '2035994611';
			window.userData = {};
			window.adminData = {};
			/*]]>*/
		</script>
		<script th:inline="javascript" th:if="${adminData!=null}">
			/*<![CDATA[*/
			window.adminData = {
				mobile : /*[[${adminData.mobile}]]*/'',
				name : /*[[${adminData.name}]]*/'',
				email : /*[[${adminData.email}]]*/'',
				createTime : /*[[${adminData.createTime}]]*/'',
				uid : /*[[${adminData.id}]]*/'',
				departmentId : /*[[${adminData.departmentId}]]*/'',
				isSuperAdmin : /*[[${shiro.hasRole('999999')}]]*/false,
				isApprovalDecision : /*[[${shiro.hasRole('99999')}]]*/false
			}
			window.showUserManage = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/userManage')}]]*/false;
			window.showServices = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/services')}]]*/false;
			window.showAchievement = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/achievement')}]]*/false;
			window.showDemand = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/demand')}]]*/false;
			window.showIdea = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/idea')}]]*/false;
			window.showCustomer = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/customer')}]]*/false;
			window.showUserList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/userList')}]]*/false;
			window.showOrgList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/orgList')}]]*/false;
			window.showPermissionList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/permissionList')}]]*/
			false;
			window.showRoleList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/roleList')}]]*/false;
			window.showAuditStatus = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/auditStatus')}]]*/false;

			window.showUserOrderList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/userOrder')}]]*/false;
			window.showSystem = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/system')}]]*/false;
			/*]]>*/
		</script>
		<script th:inline="javascript" th:if="${userData!=null}">
			/*<![CDATA[*/
			window.userData = {
				mobile : /*[[${userData.mobile}]]*/'',
				nickname : /*[[${userData == null} ? null : ${userData.nickname}]]*/'',
				number : /*[[${userData == null} ? null : ${userData.number}]]*/'',
				type : /*[[${userData == null} ? null : ${userData.type}]]*/'',
				email : /*[[${userData == null} ? null : ${userData.email}]]*/'',
				createTime : /*[[${userData == null} ? null : ${userData.createTime}]]*/'',
				lvl : /*[[${userData == null} ? null : ${userData.lvl}]]*/''
			}
			/*]]>*/
		</script>
		<th:block th:replace="${scripts}" />
	</th:block>

</body>
</html>
