<!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})">
    <title>知识产权交易首页</title>
    <script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.0&services=true"></script>
	<link th:href="${portalHost+'/vendors.css'}" rel="stylesheet">
	<link th:href="${portalHost+'/newMenu/tradingIndex.css'}" rel="stylesheet"></head>
<body>
  
   	<div th:replace="common::nav('','trading')"></div>
    <div class="carousel">
        <img th:src="${portalHost+'/img/patent/patent_banner.jpg'}" alt="First slide">
    </div>
    <div class="patentHeader">
        <div class="container patentAchievement">
            <div class="patentAchievementImg">
                <img th:src="${portalHost+'/img/patent/patent_top.jpg'}" alt="">
            </div>
            <div class="patentTitle patentTop">
                <h2 id="trandingIndexAchievement">转换技术成果</h2>
                <span></span>
            </div>  
            <a th:href="@{/portal/technologyTrading/achievement}">查看更多成果</a>
        </div>
    </div>
    <div class="container patentAchievementList">
        <div class="patentAchievementListBj">

        </div>
        <div class="patentAchievLeft" th:each="a,aStatus:${achievement}" th:if="${aStatus.index}==0">
            <img th:src="${a.technicalPictureUrl}==null?${portalHost+'/img/initPic/achievementInit.jpg'}:${avatarUploadHost+a.technicalPictureUrl}" alt="">
            <div class="remark">
                <p th:text="${#strings.abbreviate(a.name,15)}"></p>
                <a th:href="@{/portal/technologyTrading/achievementDetail(id=${a.id})}">查看详情</a>
            </div>
        </div>
        <ul>
            <li th:each="a,aStatus:${achievement}" th:if="${aStatus.index}>0">
                <div>
                    <img th:src="${a.technicalPictureUrl}==null?${portalHost+'/img/initPic/achievementInit.jpg'}:${avatarUploadHost+a.technicalPictureUrl}" alt="">
                </div>
                <p th:text="${#strings.abbreviate(a.name,15)}"></p>
                <a th:href="@{/portal/technologyTrading/achievementDetail(id=${a.id})}">查看详情</a>
            </li>
           
        </ul>
    </div>
    <div class="patentTitle">
        <h2 id="trandingIndexDiff">解决技术难题</h2>
        <span></span>
    </div>
    <div class="patentSolve">
        <div class="container patentSolveBody">
            <ul>
                <li th:each="d:${demand}">
                    <div>
                        <img th:src="${d.firstPic}==null?${portalHost+'/img/initPic/demandInit.jpg'}:${avatarUploadHost+d.firstPic}" alt="">
                        <a th:href="@{/portal/technologyTrading/demandDetail(id=${d.id})}">查看详情</a>
                    </div>
                    <p th:text="${#strings.abbreviate(d.name,15)}"></p>
                </li>
            </ul>
            <a th:href="@{/portal/technologyTrading/demand}">查看更多需求</a>
        </div>
    </div>
    <div class="container">
        <div class="patentTitle">
            <h2 id="trandingIndexPolicy">知识产权交易政策</h2>
            <span></span>
        </div>
        <div class="news">
            <div class="policy">
                <img th:src="${portalHost+'/img/index/index_new2.jpg'}" alt="">
                <ul>
                    <li th:each="p,pStatus:${policy}" th:if="${pStatus.index}<2">
                        <a th:href="@{/portal/news/newsDetail(id=${p.id},type=0)}">
                            <div class="time">
                             	<span th:text="${#dates.format(p.releaseDate,'MM-dd')}">03-12</span>
								<span th:text="${#dates.format(p.releaseDate,'yyyy')}">2018</span>
                            </div>
                            <div class="newTxt">
                               	<h5 th:text="${p.title}"></h5>
								<p th:text="${p.summary}"></p>
								</div>
                        </a>
                    </li>
                   
                </ul>
            </div>
            <div class="consultation">
                <ul>
                    <li th:each="p,pStatus:${policy}" th:if="${pStatus.index}>=2">
                        <a th:href="@{/portal/news/newsDetail(id=${p.id},type=0)}">
                            <div class="time">
                               <span th:text="${#dates.format(p.releaseDate,'MM-dd')}">03-12</span>
								<span th:text="${#dates.format(p.releaseDate,'yyyy')}">2018</span>
                            </div>
                            <div class="newTxt">
                                  	<h5 th:text="${p.title}"></h5>
								<p th:text="${p.summary}"></p></div>
                        </a>
                    </li>
        
                </ul>
               
            </div>
        </div>
        <a th:href="@{/portal/thinkTank/policyList}" class="more">MORE
            <span></span>
        </a>
        <div class="expert">
            <h5 id="trandingIndexExpert">权威专家</h5>
        </div>
        <div class="expertList">
            <ul>
               
                <li th:each="e:${expert}">
                    <a th:href="@{/portal/subscriberDetail(uid=${e.uid},type=1)}">
                        <div>
                            <img th:src="${e.headPortraitUrl}==null?${portalHost+'/img/initPic/policyInit.jpg'}:${avatarUploadHost+e.headPortraitUrl}" alt="">
                        </div>
                        <h3 th:text="${e.username}==null?'佚名':${e.username}">佚名<span th:text="${e.professionalTitle}==null?'未知职位':${e.professionalTitle}">副教授</span></h3>
                        <p th:text="${e.introduction}"></p>
                    </a>      
                </li>
            </ul>
            <div class="expertImg">
                <img th:src="${portalHost+'/img/patent/patent_bot.jpg'}" alt="">
            </div>
        </div>
        <a th:href="@{/portal/thinkTank/index}" class="more">MORE
                <span></span>
        </a>   

    </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="${portalHost+'/newMenu/tradingIndex.js'}"></script>
		</div></body>

 <!-- <script src="../../src/js/jquery-2.1.0.js'}"></script>
<script src="../../src/js/public.js'}"></script>
<script src="../../src//js/newMenu/patentList.js'}"></script>
<script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js'}"></script> -->

</html>