common.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
  3. <head th:fragment="header(title, link)">
  4. <meta charset="utf-8" />
  5. <link rel="icon" th:href="${portalHost+'/img/ico_logo.ico'}">
  6. <meta name="Keywords" content=""/>
  7. <meta name="Description" content=""/>
  8. <meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1,user-scalable=no">
  9. <meta http-equiv="x-ua-compatible" content="ie=edge">
  10. <title th:replace="${title}"></title>
  11. <th:block th:replace="${link}" />
  12. <!-- [if lt IE 9]>
  13. <script src="//cdn.bootcss.com/html5shiv/r29/html5.min.js"></script>
  14. <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
  15. <script>(function(w){if(!("WebSocket" in w&&2===w.WebSocket.CLOSING)){var d=document.createElement("div");d.className="browsehappy";d.innerHTML='<div style="font-weight:200;width:100%;height:40px;font-size:16px;line-height:40px;text-align:center;background-color:#79b5ff;color:#fff;">\u60A8\u7684\u6D4F\u89C8\u5668\u7248\u672C\u8FC7\u4F4E\uFF0C\u8BF7\u4F7F\u7528Chrome\u6216\u5176\u4ED6\u73B0\u4EE3\u6D4F\u89C8\u5668\uFF0C360\u7B49\u56FD\u4EA7\u6D4F\u89C8\u5668\u8BF7\u5C1D\u8BD5\u5F00\u542F<a target="_blank" style="text-decoration:none;background-image:none;font-weight:bold;color:#fff;" href="http://jingyan.baidu.com/article/22a299b539f4b19e18376a5b.html">\u6781\u901f\u6a21\u5f0f</a></div>';var f=function(){var s=document.getElementsByTagName("body")[0];if("undefined"==typeof(s)){setTimeout(f,10)}else{s.insertBefore(d,s.firstChild)}};f()}}(window));</script>
  16. <![endif] -->
  17. </head>
  18. <body>
  19. <th:block th:fragment="nav(mainM,subM)">
  20. <div class="container">
  21. <div class="logo">
  22. <a th:href="${basePath + '/portal/index.html'}">
  23. <img th:src="${portalHost+'/img/Logo111.png'}" alt="" title="技淘"/>
  24. </a>
  25. </div>
  26. <div class="nav">
  27. <ul>
  28. <li th:classappend="${mainM=='service'}? 'active'">
  29. <a th:href="${basePath + '/portal/service/serviceIndex.html'}">科技服务</a>
  30. <img th:src="${portalHost+'/img/hot.png'}"/>
  31. <ol class="subnavigation">
  32. <li>
  33. <a th:href="${basePath + '/portal/service/propertyRight.html'}">知识产权</a>
  34. </li>
  35. <li>
  36. <a th:href="${basePath + '/portal/service/highTechCognizance.html'}">高企认定</a>
  37. </li>
  38. </ol>
  39. </li>
  40. <li th:classappend="${mainM=='technologyTrading'}? 'active'">
  41. <a th:href="${basePath + '/portal/technologyTrading/index.html'}">技术交易</a>
  42. <ol class="subnavigation">
  43. <li>
  44. <a th:href="${basePath + '/portal/technologyTrading/achievement.html'}">专利交易</a>
  45. </li>
  46. <li>
  47. <a th:href="${basePath + '/portal/technologyTrading/achievement.html'}">成果交易</a>
  48. </li>
  49. <li>
  50. <a th:href="${basePath + '/portal/technologyTrading/demand.html'}">技术需求</a>
  51. </li>
  52. </ol>
  53. </li>
  54. <li th:classappend="${mainM=='thinkTank'}? 'active'">
  55. <a th:href="${basePath + '/portal/thinkTank/index.html'}">智库咨询</a>
  56. <ol class="subnavigation">
  57. <li>
  58. <a th:href="${basePath + '/portal/thinkTank/policyList.html'}">智政</a>
  59. </li>
  60. </ol>
  61. </li>
  62. <li>
  63. <a th:href="${basePath + '/portal/financial/index.html'}">科技金融</a>
  64. <ol class="subnavigation">
  65. <li>
  66. <a th:href="${basePath + '/portal/financial/investmentInstitution.html'}">投资机构</a>
  67. </li>
  68. </ol>
  69. </li>
  70. <!-- <li><a href="#">科技活动</a></li>
  71. <li><a href="#">平台共建</a></li> -->
  72. </ul>
  73. </div>
  74. <div class="nav_right" th:if="${!isLogin}">
  75. <a th:href="${basePath + '/user/signIn.html'}">注册</a>
  76. <a href="javascript:;" class="head_login">登录</a>
  77. <a href="">关于我们</a>
  78. </div>
  79. <div class="nav_right" th:if="${isLogin}">
  80. <a th:href="${basePath + (isAdmin? '/admin/index.html':'/user/account/index.html')}" th:text="${userName}">个人中心</a>
  81. <a th:href="${basePath + '/user/logout'}">退出</a>
  82. <a href="">关于我们</a>
  83. </div>
  84. </div>
  85. </th:block>
  86. <th:block th:fragment="banners">
  87. <div id="myCarousel" class="carousel slide" th:if="${banners!=null && banners.size() > 1}">
  88. <ol class="carousel-indicators">
  89. <th:block th:each="banner,bannerStat:${banners}">
  90. <li data-target="#myCarousel" data-slide-to="0" th:class="${bannerStat.first?'active':''}"></li>
  91. </th:block>
  92. </ol>
  93. <div class="carousel-inner">
  94. <th:block th:each="banner,bannerStat:${banners}">
  95. <div class="item" th:classappend="${bannerStat.first?'active':''}">
  96. <img th:src="${staticDomain +'/upload'+ banner.imgurl}" th:alt="${banner.text}">
  97. </div>
  98. </th:block>
  99. </div>
  100. <a class="carousel-control left" href="#myCarousel" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a>
  101. <a class="carousel-control right" href="#myCarousel" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a>
  102. </div>
  103. <div class="banner-item" th:if="${banners!=null && banners.size()==1}">
  104. <img th:src="${staticDomain +'/upload'+ banners[0].imgurl}" th:alt="${banners[0].text}">
  105. </div>
  106. </th:block>
  107. <th:block th:fragment="copyright">
  108. <div id="bottom">
  109. <div class="bottom">
  110. <div class="bottom_text">
  111. <div class="text_top">
  112. <a href="#">关于公司/</a> <a href="#">联系我们</a>
  113. <p>Copyright &copy 2016-2017 科德 版权所有 湘ICP备15019731号 -2
  114. 技术支持:湖南阿凡提科技有限公司</p>
  115. </div>
  116. <div class="text_center">
  117. <div class="cont_left">
  118. <img th:src="${portalHost+'/img/dizhi.jpg'}" alt="" />
  119. <p>湖南省长沙市营盘东路19号金山大厦</p>
  120. </div>
  121. <div class="cont_center">
  122. <img th:src="${portalHost+'/img/dianhua.jpg'}" alt="" />
  123. <p>合作电话:0731-85202685</p>
  124. <p>400-8800-962八楼</p>
  125. </div>
  126. <div class="cont_rightapp">
  127. <img th:src="${portalHost+'/img/erweima_app.jpg'}" alt="" />
  128. <p>安卓APP</p>
  129. </div>
  130. <div class="cont_right">
  131. <img th:src="${portalHost+'/img/erweima.jpg'}" alt="" />
  132. <p>科德公众号</p>
  133. </div>
  134. </div>
  135. <div class="text_bottom">
  136. <p>友情链接</p>
  137. <a href="http://www.hnst.gov.cn/">湖南省科技厅/</a> <a
  138. href="http://www.cssti.cn/">长沙市科技局/</a> <a
  139. href="http://www.cast.org.cn/">中国科学技术协会/</a> <a
  140. href="http://www.chinatorch.gov.cn/">科技部火炬中心/</a> <a
  141. href="http://www.nosta.gov.cn/web/index.aspx">国家科技成果奖励办/</a> <a
  142. href="http://www.nast.org.cn/">国家科技成果网/</a> <a
  143. href="http://www.hnast.org.cn/portal/comm/index.action">湖南省科学技术协会/</a>
  144. <a href="http://www.hncgw.gov.cn/">湖南省科技成果转化公共服务平台/</a> <a
  145. href="http://www.hnjxw.gov.cn/">湖南省经济信息化委员会/</a> <a
  146. href="http://kyy.hnu.cn/">湖南大学科学技术研究院/</a> <a
  147. href="http://www.gxst.gov.cn/gxkjt/">广西省科技厅/</a> <a
  148. href="http://www.nmkjt.gov.cn/">内蒙古自治区科技厅/</a> <a
  149. href="http://www.cshtz.gov.cn/">长沙市高新区管委会/</a> <a
  150. href="http://www.jxas.ac.cn/">江西省科学院/</a> <a
  151. href="http://www.cnic.cn/front/index.html#/cnicSite/home">中科院计算机网络信息中心/</a>
  152. <a href="http://kxyjb.csu.edu.cn/">中南大学科学研究部/</a> <a
  153. href="http://www.cast.org.cn/">中国科协创新创业服务中心/</a> <a
  154. href="http://www.hbstd.gov.cn/">湖北省科技厅/</a> <a
  155. href="http://www.gdstc.gov.cn/">广东省科技厅/</a> <a
  156. href="http://www.hnkjt.gov.cn/">河南省科技厅/</a> <a
  157. href="http://www.cbtm.gov.cn/">技术合同登记官网</a>
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. <div class="pub_fix">
  163. <span class="index_blur"></span>
  164. <ul class="ret_top">
  165. <li><a th:href="${basePath + '/portal/member'}"> <img
  166. th:src="${portalHost+'/img/index_fix0.png'}" alt="" />
  167. <p>申请会员</p>
  168. </a></li>
  169. <li th:if="${!isLogin}"><a href=""> <img
  170. th:src="${portalHost+'/img/index_fix1.png'}" alt="" />
  171. <p>发布需求</p>
  172. </a></li>
  173. <li th:if="${isLogin}"><a th:href="${basePath + '/user/account/demand.html#techDemand'}"> <img
  174. th:src="${portalHost+'/img/index_fix1.png'}" alt="" />
  175. <p>发布需求</p>
  176. </a></li>
  177. <li th:if="${!isLogin}"><a href=""> <img
  178. th:src="${portalHost+'/img/index_fix2.png'}" alt="" />
  179. <p>发布技术</p>
  180. </a></li>
  181. <li th:if="${isLogin}"><a th:href="${basePath + '/user/account/achievement.html#techAchievement'}"> <img
  182. th:src="${portalHost+'/img/index_fix2.png'}" alt="" />
  183. <p>发布技术</p>
  184. </a></li>
  185. <li><a
  186. href="tencent://Message/?Uin=2035994611&websiteName=q-zone.qq.com&Menu=yes">
  187. <img th:src="${portalHost+'/img/index_fix3.png'}" alt="" />
  188. <p>联系客服</p>
  189. </a></li>
  190. <li><a href="" class="pendent_box"> <img
  191. th:src="${portalHost+'/img/index_fix4.png'}" alt="" />
  192. <p>返回顶部</p>
  193. </a></li>
  194. </ul>
  195. <span class="index_orange"></span>
  196. </div>
  197. </th:block>
  198. <th:block th:fragment="login">
  199. <div class="login">
  200. <div class="login_mian">
  201. <div class="login_left">
  202. <div class="login_ewm">
  203. <img th:src="${portalHost+'/img/login_ewm.png'}" alt="二维码" />
  204. </div>
  205. <p>扫描二维码下载官方</p>
  206. <p>技淘APP</p>
  207. </div>
  208. <div class="login_right">
  209. <h5>
  210. 用户登录<a href="">免费注册有好礼呦!!</a>
  211. </h5>
  212. <form id="form_login">
  213. <div class="login_uesr">
  214. <label for="uesname"><img th:src="${portalHost+'/img/login_use.png'}" /></label> <input
  215. type="text" name="mobile" id="Lo_user" placeholder="用户名/邮箱/手机" /> <img
  216. th:src="${portalHost+'/img/login_del.png'}" class="log_del" />
  217. </div>
  218. <div class="login_pass">
  219. <label for="pass"><img th:src="${portalHost+'/img/login_password.png'}" /></label>
  220. <input type="password" name="password" id="Lo_pass" placeholder="请输入密码" />
  221. </div>
  222. <div class="login_check">
  223. <label for="checks" class="lab_check">
  224. <input type="checkbox" name="type" id="checks" value="0" />专家
  225. </label>
  226. <label for="checkst" class="lab_checkno">
  227. <input type="checkbox" name="type" id="checkst" value="1"/>企业
  228. </label>
  229. <u><a href="">忘记密码?</a></u>
  230. </div>
  231. <input type="submit" value="登 陆" class="login_submit" />
  232. </form>
  233. <img th:src="${portalHost+'/img/login_hua.png'}" alt="" class="login_hua" />
  234. <img th:src="${portalHost+'/img/login_shadow.png'}" alt="阴影效果" class="login_shadow"/>
  235. <img th:src="${portalHost+'/img/login_close.png'}" alt="" class="login_close" />
  236. </div>
  237. </div>
  238. </div>
  239. <div class="smg"><input type="text" name="msg" value="" id="msg" readonly="readonly"/></div>
  240. </th:block>
  241. <th:block th:fragment="footer(scripts)">
  242. <script th:inline="javascript">
  243. /*<![CDATA[*/
  244. window.globalConfig = {};
  245. globalConfig.context = /*[[${basePath}]]*/ '';
  246. globalConfig.portalHost = /*[[${portalHost}]]*/ '';
  247. globalConfig.staticDomain = /*[[${staticDomain}]]*/ '';
  248. globalConfig.staticHost = /*[[${staticHost}]]*/ '';
  249. globalConfig.uploadPath = /*[[${uploadPath}]]*/ '';
  250. globalConfig.uploadPrivatePath = /*[[${uploadPrivatePath}]]*/ '';
  251. globalConfig.avatarHost = /*[[${avatarHost}]]*/ '';
  252. globalConfig.avatarUploadHost = /*[[${avatarUploadHost}]]*/ '';
  253. globalConfig.csrfToken = /*[[${csrf}]]*/ '';
  254. globalConfig.kfqq = '2035994611';
  255. window.userData = {};
  256. window.adminData = {};
  257. /*]]>*/
  258. </script>
  259. <script th:inline="javascript" th:if="${adminData!=null}">
  260. /*<![CDATA[*/
  261. window.adminData = {
  262. mobile: /*[[${adminData.mobile}]]*/ '',
  263. name: /*[[${adminData.name}]]*/ '',
  264. email: /*[[${adminData.email}]]*/ '',
  265. createTime: /*[[${adminData.createTime}]]*/ '',
  266. uid: /*[[${adminData.id}]]*/ ''
  267. }
  268. window.showUserManage = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/userManage')}]]*/ false;
  269. window.showServices = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/services')}]]*/ false;
  270. window.showAchievement = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/achievement')}]]*/ false;
  271. window.showDemand = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/demand')}]]*/ false;
  272. window.showIdea = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/idea')}]]*/ false;
  273. window.showCustomer = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/customer')}]]*/ false;
  274. window.showUserList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/userList')}]]*/ false;
  275. window.showOrgList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/orgList')}]]*/ false;
  276. window.showPermissionList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/permissionList')}]]*/
  277. false;
  278. window.showRoleList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/roleList')}]]*/ false;
  279. window.showAuditStatus = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/auditStatus')}]]*/ false;
  280. window.showSystem = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/system')}]]*/ false;
  281. /*]]>*/
  282. </script>
  283. <script th:inline="javascript" th:if="${userData!=null}">
  284. /*<![CDATA[*/
  285. window.userData = {
  286. mobile: /*[[${userData.mobile}]]*/ '',
  287. nickname: /*[[${userData == null} ? null : ${userData.nickname}]]*/ '',
  288. number: /*[[${userData == null} ? null : ${userData.number}]]*/ '',
  289. type: /*[[${userData == null} ? null : ${userData.type}]]*/ '',
  290. email: /*[[${userData == null} ? null : ${userData.email}]]*/ '',
  291. createTime: /*[[${userData == null} ? null : ${userData.createTime}]]*/ '',
  292. lvl: /*[[${userData == null} ? null : ${userData.lvl}]]*/ ''
  293. }
  294. /*]]>*/
  295. </script>
  296. <th:block th:replace="${scripts}" />
  297. </th:block>
  298. </body>
  299. </html>