<!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>
	<link th:href="${portalHost+'/dll/dll.css'}" rel="stylesheet">
	<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="Entrance container">
        <ul>
            <li>
                <a th:href="@{/portal/technologyTrading/achievementList}">
                    <img th:src="${portalHost+'/img/patent/tradingIndex_index001.jpg'}" alt="">
                    <span>技术成果</span>
                </a>
            </li>
            <li>
                <a th:href="@{/portal/technologyTrading/demandList}">
                    <img th:src="${portalHost+'/img/patent/tradingIndex_index002.jpg'}" alt="">
                    <span>技术需求</span>
                </a>
            </li>
        </ul>
    </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>  
            
        </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 or ${a.technicalPictureUrl}==''?${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>
        <div class="patentAchievRight">
	        <ul>
	            <li th:each="a,aStatus:${achievement}" th:if="${aStatus.index}>0">
	            	<a th:href="@{/portal/technologyTrading/achievementDetail(id=${a.id})}">
		                <div>
		                    <img th:src="${a.technicalPictureUrl}==null or ${a.technicalPictureUrl}=='' ?${portalHost+'/img/initPic/achievementInit.jpg'}:${avatarUploadHost+a.technicalPictureUrl}" alt="">
		                </div>
		                <p th:text="${#strings.abbreviate(a.name,15)}"></p>
	                </a>
	            </li>
	        </ul>
	        <div class="achievementJump">
		        <a th:href="@{/portal/technologyTrading/achievementList}">查看更多成果</a>
		        <!-- <span class="hasAchievement">我要发布成果</span> -->
		    </div>
        </div>
    </div>
    <div class="patentTitle">
        <h2 id="trandingIndexDiff">解决技术难题</h2>
        <span></span>
    </div>
    <div class="patentSolve">
        <div class="container patentSolveBody">
        	<div>
	            <ul>
	                <li th:each="d:${demand}">
	                    <a th:href="@{/portal/technologyTrading/demandDetail(id=${d.id})}">
		                    <div>	                  
		                        <img th:src="${d.firstPic}==null or ${d.firstPic}==''?${portalHost+'/img/initPic/demandInit.jpg'}:${avatarUploadHost+d.firstPic}" alt="" />	                       
		                    </div>
	                   	    <p th:text="${#strings.abbreviate(d.name,15)}"></p>
	                    </a>
	                </li>
	            </ul>
	            <div class='demandJump'>
	            	 <a th:href="@{/portal/technologyTrading/demandList}">查看更多需求</a>
	            	 <!-- <span class="hasDemand" id="sytz">我要发布需求</span> -->
	            </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 + '/dll/dll.js'}"></script>
    	<script type="text/javascript" th:src="${portalHost + '/vendors.js'}"></script>
		<script type="text/javascript" th:src="${portalHost+'/newMenu/tradingIndex.js'}"></script>
	</div>
</body>

</html>