<!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:replace="common::header(~{::title},~{::link})">

<link th:href="${portalHost + '/vendors.css'}" rel="stylesheet">
<link th:href="${staticHost+'/dll/dll.css'}" rel="stylesheet">
<link th:href="${portalHost + '/thinkTank/thinkerDetail.css'}"
	rel="stylesheet">
	<title>用户详情页</title>
</head>
<body>
	<header>
		<div th:replace="common::nav('','')"></div>
	</header>
	<div class="banner">
		<img th:src="${portalHost + '/img/thinkerDetail_banner01.jpg'}" alt="" />
	</div>
	<div class="think_man">
		<img th:src="${portalHost + '/img/thinkTank_er1.png'}" alt="" />			
		<div th:if="${rePartnerDetail.personPortraitUrl == null or rePartnerDetail.personPortraitUrl == ''}" class="man_img">
			<img th:src="${portalHost+ '/img/initPic/policyInit.jpg'}" alt="" />
		</div>
		<div th:if="${rePartnerDetail.personPortraitUrl != null and rePartnerDetail.personPortraitUrl != ''}" class="man_img">
			<img th:src="${avatarUploadHost+ rePartnerDetail.personPortraitUrl}" alt="" />
		</div>
		<div class="man_name" th:text="${rePartnerDetail.username}"></div>
	</div>
	<div class="think_basc">
		<div class="basc_img">
			<div class="bacs-img" th:if="${rePartnerDetail.personPortraitUrl != null and rePartnerDetail.personPortraitUrl !=''}">
				<img
						th:src="${avatarUploadHost + rePartnerDetail.personPortraitUrl}"
						alt="" />
			</div>
			<div class="bacs-img" th:if="${rePartnerDetail.personPortraitUrl == null or rePartnerDetail.personPortraitUrl ==''}">
				<img
						th:src="${portalHost + '/img/initPic/policyInit.jpg'}"
						alt="" />
			</div>
			<div class="collection">
            	 <p><span th:class="${interested}==null?'heart':'heart active'"></span><span>关注</span></p>
       		</div>
		</div>
		<div class="basc_p">
			<h4>关于智者</h4>
			<p th:text="${rePartnerDetail.achievement}">
			</p>
			<div>毕业院校：<span th:text="${rePartnerDetail.graduate_school}"></span></div>
			<div>专业类别：<span th:text="${rePartnerDetail.major_category}"></span></div>
			<div>职业资格：<span th:text="${rePartnerDetail.qualification}"></span></div>
			<div>就职单位：<span th:text="${rePartnerDetail.workUnit}"></span></div>
			<div>从事行业类别：<span th:text="${rePartnerDetail.engagedField}"></span></div>
			<div>职&nbsp;&nbsp;&nbsp;&nbsp;称：<span th:text="${rePartnerDetail.position}?${rePartnerDetail.position}:''"></span></div>
		</div>
	</div>
	<div class="think_achieve">
		<!-- <h3>技术成果</h3>
		<div class="achieve_cont" th:if="${showflg} == 1 ">
			<a th:each="partnerAchievementList:${partnerAchievementList}">
				<div>
					<span></span>
					<p th:text="${partnerAchievementList.introduction}"></p>
				</div>
			</a>
		</div> -->
		<div class="achieve_btn">
			<a onclick="openZoosUrl('chatwin');">
						<span class="glyphicon glyphicon-user"></span>
								<span >在线咨询</span>
					</a>
	
			<input type="hidden" th:isLogin="${!isLogin}" id="isLogin" />
		</div>
	</div>
	<div class="think_about">
		<h3>相关智者</h3>
		<div>
			<div th:each="reuserPartner:${reuserPartner}">
					<a th:href="@{/portal/subscriberDetail.html(uid=${reuserPartner.uid},type=${reuserPartner.type})}">
						<img th:src="${reuserPartner.personPortraitUrl}?${avatarUploadHost+reuserPartner.personPortraitUrl}:${portalHost+ '/img/initPic/policyInit.jpg'}"
								alt="" />
						<div class="about_name">
							<span class="about_man" th:text="${reuserPartner.username}?${reuserPartner.username}:佚名"></span>
							<span class="about_manp" th:text="${reuserPartner.position}?${reuserPartner.position}:未公开"></span>
						</div>
						<div class="about_p" th:text="${reuserPartner.personalProfile}?${reuserPartner.personalProfile}:暂无简介">
						</div>
					</a>		
			</div>
		</div>
	</div>
	<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="myModalLabel">咨询订单提交</h4>
				</div>
				<div class="modal-body" id="modal-content"></div>
				<div class="modal-footer">
					<input type="hidden" th:value="${uid}" id="userId" />
					<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
					<button type="button" class="btn btn-primary" id="submitOrder">提交订单</button>
				</div>
			</div>
		</div>
	</div>
	<footer>
		<div th:replace="common::copyright"></div>
		<div th:replace="common::login"></div>
	</footer>
	
	<div th:replace="common::footer(~{::script})">
		<script type="text/javascript" th:src="${portalHost + '/vendors.js'}"></script>
		<script type="text/javascript" th:src="${staticHost+'/dll/dll.js'}"></script>
		<script type="text/javascript"
			th:src="${portalHost + '/thinkTank/thinkerDetail.js'}"></script>
	</div>
</body>
</html>