common.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml"
  3. xmlns:th="http://www.thymeleaf.org"
  4. xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
  5. <head th:fragment="header(title, link)">
  6. <meta charset="utf-8" />
  7. <link rel="icon" th:href="${portalHost+'/img/ico_logo.ico'}">
  8. <meta name="Keywords" content="" />
  9. <meta name="Description" content="" />
  10. <meta name="viewport"
  11. content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1,user-scalable=no">
  12. <meta http-equiv="x-ua-compatible" content="ie=edge">
  13. <title th:replace="${title}"></title>
  14. <th:block th:replace="${link}" />
  15. <!-- [if lt IE 9]>
  16. <script src="//cdn.bootcss.com/html5shiv/r29/html5.min.js"></script>
  17. <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
  18. <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>
  19. <![endif] -->
  20. </head>
  21. <body>
  22. <th:block th:fragment="nav(mainM,subM)">
  23. <div class="container">
  24. <div class="logo">
  25. <a th:href="${basePath + '/portal/index.html'}"> <img
  26. th:src="${portalHost+'/img/Logo111.png'}" alt="" title="技淘" />
  27. </a>
  28. </div>
  29. <div class="logo_right"></div>
  30. <div class="nav">
  31. <ul>
  32. <li th:classappend="${mainM=='service'}? 'active'"><a
  33. th:href="${basePath + '/portal/service/serviceIndex.html'}">科技服务</a>
  34. <img th:src="${portalHost+'/img/hot.png'}" />
  35. <ol class="subnavigation">
  36. <li><a
  37. th:href="${basePath + '/portal/service/highTechCognizance.html'}">高企认定</a>
  38. </li>
  39. <li><a
  40. th:href="${basePath + '/portal/service/propertyRight.html'}">知识产权</a>
  41. </li>
  42. </ol></li>
  43. <li th:classappend="${mainM=='technologyTrading'}? 'active'">
  44. <a th:href="${basePath + '/portal/technologyTrading/index.html'}">技术交易</a>
  45. <ol class="subnavigation">
  46. <li><a
  47. th:href="${basePath + '/portal/technologyTrading/achievement.html'}">专利产品</a>
  48. </li>
  49. <li><a
  50. th:href="${basePath + '/portal/technologyTrading/achievement.html'}">技术成果</a>
  51. </li>
  52. <li><a
  53. th:href="${basePath + '/portal/technologyTrading/demand.html'}">技术需求</a>
  54. </li>
  55. <li><a
  56. th:href="${basePath + '/portal/technologyTrading/assessMent.html'}">技术评估</a>
  57. </li>
  58. </ol>
  59. </li>
  60. <li th:classappend="${mainM=='thinkTank'}? 'active'"><a
  61. th:href="${basePath + '/portal/thinkTank/index.html'}">智库咨询</a>
  62. <ol class="subnavigation">
  63. <li><a
  64. th:href="${basePath + '/portal/thinkTank/policyList.html'}">智政</a>
  65. </li>
  66. </ol></li>
  67. <li><a th:href="${basePath + '/portal/financial/index.html'}">科技金融</a>
  68. <ol class="subnavigation">
  69. <li><a
  70. th:href="${basePath + '/portal/financial/investmentInstitution.html'}">投资机构</a>
  71. </li>
  72. </ol></li>
  73. <!-- <li><a href="#">科技活动</a></li> <li><a href="#">平台共建</a></li> -->
  74. </ul>
  75. </div>
  76. <div class="nav_right" th:if="${!isLogin}">
  77. <a th:href="${basePath + '/user/signIn.html'}"> <img
  78. th:src="${portalHost+'/img/index_resiter.png'}" alt="" />
  79. </a> <a href="javascript:;" class="head_login">登录</a> <a href="">关于我们</a>
  80. <div></div>
  81. </div>
  82. <div class="nav_right" th:if="${isLogin}">
  83. <a th:href="${basePath + (isAdmin? '/admin/index.html':'/user/account/index.html')}"
  84. th:text="${#strings.isEmpty(userName)?'个人中心':userName}">个人中心</a>
  85. <a th:href="${basePath + '/user/logout'}">退出</a> <a href="">关于我们</a>
  86. <div></div>
  87. </div>
  88. </div>
  89. </th:block>
  90. <th:block th:fragment="banners">
  91. <div id="myCarousel" class="carousel slide"
  92. th:if="${banners!=null && banners.size() > 1}">
  93. <ol class="carousel-indicators">
  94. <th:block th:each="banner,bannerStat:${banners}">
  95. <li data-target="#myCarousel" data-slide-to="0"
  96. th:class="${bannerStat.first?'active':''}"></li>
  97. </th:block>
  98. </ol>
  99. <div class="carousel-inner">
  100. <th:block th:each="banner,bannerStat:${banners}">
  101. <div class="item" th:classappend="${bannerStat.first?'active':''}">
  102. <img th:src="${staticDomain +'/upload'+ banner.imgurl}"
  103. th:alt="${banner.text}">
  104. </div>
  105. </th:block>
  106. </div>
  107. <a class="carousel-control left" href="#myCarousel" data-slide="prev"><span
  108. class="glyphicon glyphicon-chevron-left"></span></a> <a
  109. class="carousel-control right" href="#myCarousel" data-slide="next"><span
  110. class="glyphicon glyphicon-chevron-right"></span></a>
  111. </div>
  112. <div class="banner-item" th:if="${banners!=null && banners.size()==1}">
  113. <img th:src="${staticDomain +'/upload'+ banners[0].imgurl}"
  114. th:alt="${banners[0].text}">
  115. </div>
  116. </th:block>
  117. <th:block th:fragment="copyright">
  118. <div id="bottom">
  119. <div class="bottom">
  120. <div class="bottom_text">
  121. <div class="text_top">
  122. <a href="#">关于公司/</a> <a href="#">联系我们</a>
  123. <p>Copyright &copy 2016-2017 科德 版权所有 湘ICP备15019731号 -2
  124. 技术支持:湖南阿凡提科技有限公司</p>
  125. </div>
  126. <div class="text_center" id="qrCode">
  127. <div class="cont_left">
  128. <img th:src="${portalHost+'/img/dizhi.jpg'}" alt="" />
  129. <p>湖南省长沙市营盘东路19号金山大厦八楼</p>
  130. </div>
  131. <div class="cont_center">
  132. <img th:src="${portalHost+'/img/dianhua.jpg'}" alt="" />
  133. <p>合作电话:0731-85202685</p>
  134. <p>400-8800-962</p>
  135. </div>
  136. <div class="cont_rightapp">
  137. <img th:src="${portalHost+'/img/erweima_iphone.png'}" alt="" />
  138. <p>iPhone版</p>
  139. </div>
  140. <div class="cont_right android">
  141. <img th:src="${portalHost+'/img/erweima_android.jpg'}" alt="" />
  142. <p>Android版</p>
  143. </div>
  144. <div class="cont_right">
  145. <img th:src="${portalHost+'/img/erweima.jpg'}" alt="" />
  146. <p>微信公众号</p>
  147. </div>
  148. </div>
  149. <div class="text_bottom">
  150. <p>友情链接</p>
  151. <a href="http://www.hnst.gov.cn/" target="_blank">湖南省科技厅/</a> <a
  152. href="http://www.cssti.cn/" target="_blank">长沙市科技局/</a> <a
  153. href="http://www.cast.org.cn/" target="_blank">中国科学技术协会/</a> <a
  154. href="http://www.chinatorch.gov.cn/" target="_blank">科技部火炬中心/</a> <a
  155. href="http://www.nosta.gov.cn/web/index.aspx" target="_blank">国家科技成果奖励办/</a> <a
  156. href="http://www.nast.org.cn/" target="_blank">国家科技成果网/</a> <a
  157. href="http://www.hnast.org.cn/portal/comm/index.action" target="_blank">湖南省科学技术协会/</a>
  158. <a href="http://www.hncgw.gov.cn/" target="_blank">湖南省科技成果转化公共服务平台/</a> <a
  159. href="http://www.hnjxw.gov.cn/" target="_blank">湖南省经济信息化委员会/</a> <a
  160. href="http://kyy.hnu.cn/" target="_blank">湖南大学科学技术研究院/</a> <a
  161. href="http://www.gxst.gov.cn/gxkjt/" target="_blank">广西省科技厅/</a> <a
  162. href="http://www.nmkjt.gov.cn/" target="_blank">内蒙古自治区科技厅/</a> <a
  163. href="http://www.cshtz.gov.cn/" target="_blank">长沙市高新区管委会/</a> <a
  164. href="http://www.jxas.ac.cn/" target="_blank">江西省科学院/</a> <a
  165. href="http://www.cnic.cn/front/index.html#/cnicSite/home" target="_blank">中科院计算机网络信息中心/</a>
  166. <a href="http://kxyjb.csu.edu.cn/" target="_blank">中南大学科学研究部/</a> <a
  167. href="http://www.cast.org.cn/" target="_blank">中国科协创新创业服务中心/</a> <a
  168. href="http://www.hbstd.gov.cn/" target="_blank">湖北省科技厅/</a> <a
  169. href="http://www.gdstc.gov.cn/" target="_blank">广东省科技厅/</a> <a
  170. href="http://www.hnkjt.gov.cn/" target="_blank">河南省科技厅/</a> <a
  171. href="http://www.cbtm.gov.cn/" target="_blank">技术合同登记官网</a>
  172. </div>
  173. </div>
  174. </div>
  175. </div>
  176. <div th:if="${!isAdmin}" class="pub_fix">
  177. <span class="index_blur"></span>
  178. <ul class="ret_top">
  179. <li th:classappend="${!isLogin}? 'head_login'"><a
  180. th:if="${!isLogin || userData.lvl == 1}"
  181. th:href="${isLogin?(basePath + '/portal/member') : 'javascript:;'}">
  182. <img th:src="${portalHost+'/img/index_fix0.png'}" alt="" />
  183. <p>申请会员</p>
  184. </a> <a th:if="${isLogin && userData.lvl == 0}"
  185. th:href="${basePath + '/user/certify'}"> <img
  186. th:src="${portalHost+'/img/index_fix0.png'}" alt="" />
  187. <p>实名认证</p>
  188. </a></li>
  189. <li th:if="${!isLogin}" class="head_login"><a href=""> <img
  190. th:src="${portalHost+'/img/index_fix1.png'}" alt="" />
  191. <p>发布需求</p>
  192. </a></li>
  193. <li th:if="${isLogin}"><a
  194. th:href="${basePath + '/user/account/demand.html#techDemand'}">
  195. <img th:src="${portalHost+'/img/index_fix1.png'}" alt="" />
  196. <p>发布需求</p>
  197. </a></li>
  198. <li th:if="${!isLogin}" class="head_login"><a href=""> <img
  199. th:src="${portalHost+'/img/index_fix2.png'}" alt="" />
  200. <p>发布技术</p>
  201. </a></li>
  202. <li th:if="${isLogin}"><a
  203. th:href="${basePath + '/user/account/achievement.html#techAchievement'}">
  204. <img th:src="${portalHost+'/img/index_fix2.png'}" alt="" />
  205. <p>发布技术</p>
  206. </a></li>
  207. <li><a onclick="_MEIQIA('showPanel')"> <img
  208. th:src="${portalHost+'/img/index_fix3.png'}" alt="" />
  209. <p>联系客服</p>
  210. </a></li>
  211. <li><a href="" class="pendent_box"> <img
  212. th:src="${portalHost+'/img/index_fix4.png'}" alt="" />
  213. <p>返回顶部</p>
  214. </a></li>
  215. </ul>
  216. <span class="index_orange"></span>
  217. </div>
  218. <div class="message">
  219. <span></span>
  220. </div>
  221. </th:block>
  222. <th:block th:fragment="login">
  223. <div class="login">
  224. <div class="login_mian">
  225. <div class="login_left">
  226. <div class="login_ewm">
  227. <img th:src="${portalHost+'/img/Android.jpg'}" alt="二维码" />
  228. <p>Android版</p>
  229. <p>客户端</p>
  230. </div>
  231. <div class="login_ewm">
  232. <img th:src="${portalHost+'/img/iPhone.jpg'}" alt="二维码" />
  233. <p>iPhone版</p>
  234. <p>客户端</p>
  235. </div>
  236. </div>
  237. <div class="login_right">
  238. <h5>
  239. 用户登录<a href="/user/signIn.html">免费注册有好礼呦!!</a>
  240. </h5>
  241. <form id="form_login">
  242. <div class="login_uesr">
  243. <label for="uesname"><img
  244. th:src="${portalHost+'/img/login_use.png'}" /></label> <input
  245. type="text" name="mobile" id="Lo_user" placeholder="请输入手机号码" />
  246. <img th:src="${portalHost+'/img/login_del.png'}" class="log_del" />
  247. </div>
  248. <div class="login_pass">
  249. <label for="pass"><img
  250. th:src="${portalHost+'/img/login_password.png'}" /></label> <input
  251. type="password" name="password" id="Lo_pass" placeholder="请输入密码" />
  252. </div>
  253. <div class="login_check">
  254. <label for="checks" class="lab_check"> <input
  255. type="checkbox" name="type" id="checks" value="0" />专家登录
  256. </label> <label for="checkst" class="lab_checkno"> <input
  257. type="checkbox" name="type" id="checkst" value="1" />企业登录
  258. </label> <a href="">忘记密码?</a>
  259. </div>
  260. <input type="submit" value="登 陆" class="login_submit" />
  261. </form>
  262. <img th:src="${portalHost+'/img/login_hua.png'}" alt=""
  263. class="login_hua" /> <img
  264. th:src="${portalHost+'/img/login_shadow.png'}" alt="阴影效果"
  265. class="login_shadow" /> <img
  266. th:src="${portalHost+'/img/login_close.png'}" alt=""
  267. class="login_close" />
  268. </div>
  269. </div>
  270. </div>
  271. <div id="forget">
  272. <div class="forget">
  273. <form id="forget_form">
  274. <div class="forget_top">
  275. <a href="">忘记密码?</a>
  276. <div class="login_check">
  277. <label for="forget_checks" class="lab_check"> <input
  278. type="checkbox" name="type" id="forget_checks" />专家登录
  279. </label> <label for="forget_checkst" class="lab_checkno"> <input
  280. type="checkbox" name="type" id="forget_checkst" />企业登录
  281. </label>
  282. </div>
  283. </div>
  284. <div class="forget_center">
  285. <div class="phone">
  286. <label for="forget_phone"> 手机号码:<input type="text"
  287. name="type" id="forget_phone" placeholder="请输入您的手机号码..." />
  288. </label>
  289. </div>
  290. <div class="yanzheng">
  291. <label for="forget_yanzheng"> 图形验证码:<input type="text"
  292. name="type" id="forget_yanzheng" />
  293. </label>
  294. <div class="yanzhengma_cont_">
  295. <img th:src="${basePath+'/open/getVCode'}" />
  296. </div>
  297. </div>
  298. <div class="cellcode_">
  299. <div>
  300. 验证码:<input type="text" name="cellCode" placeholder="手机验证码"
  301. id="photo_n" />
  302. </div>
  303. <input type="button" id="photo_m" value="获取验证码" disabled />
  304. </div>
  305. <div class="fastener">
  306. <input type="submit" class="forget_sub" value="确认" />
  307. <div class="fastener_right">取消</div>
  308. </div>
  309. </div>
  310. </form>
  311. <img th:src="${portalHost+'/img/login_close.png'}" alt=""
  312. class="login_close" /> <img
  313. th:src="${portalHost+'/img/login_shadow.png'}" alt="阴影效果"
  314. class="login_shadow" />
  315. </div>
  316. </div>
  317. <div id="new_password">
  318. <div class="new_password">
  319. <form id="new_password_form">
  320. <div class="password_top">
  321. <h4>设置新密码</h4>
  322. <span>密码长度为6-20个字符,区分大小写</span>
  323. </div>
  324. <div class="password_center">
  325. <div>
  326. <label for="new_pass"> 新密码:<input type="password"
  327. name="type" id="new_pass" placeholder="请输入您的新密码..." />
  328. </label>
  329. </div>
  330. <div>
  331. <label for="new_pass_again"> 确认密码:<input type="password"
  332. name="type" id="new_pass_again" placeholder="请确认您的密码..." />
  333. </label>
  334. </div>
  335. <div class="fastener">
  336. <input type="submit" class="new_password_sub" value="确认" />
  337. <div class="fastener_right">取消</div>
  338. </div>
  339. </div>
  340. </form>
  341. <img th:src="${portalHost+'/img/login_close.png'}" alt=""
  342. class="login_close" /> <img
  343. th:src="${portalHost+'/img/login_shadow.png'}" alt="阴影效果"
  344. class="login_shadow" />
  345. </div>
  346. </div>
  347. <div class="smg">
  348. <input type="text" name="msg" value="" id="msg" readonly="readonly" />
  349. </div>
  350. </th:block>
  351. <th:block th:fragment="footer(scripts)">
  352. <script th:inline="javascript">
  353. /*<![CDATA[*/
  354. window.globalConfig = {};
  355. globalConfig.context = /*[[${basePath}]]*/'';
  356. globalConfig.portalHost = /*[[${portalHost}]]*/'';
  357. globalConfig.staticDomain = /*[[${staticDomain}]]*/'';
  358. globalConfig.staticHost = /*[[${staticHost}]]*/'';
  359. globalConfig.uploadPath = /*[[${uploadPath}]]*/'';
  360. globalConfig.uploadPrivatePath = /*[[${uploadPrivatePath}]]*/'';
  361. globalConfig.avatarHost = /*[[${avatarHost}]]*/'';
  362. globalConfig.avatarUploadHost = /*[[${avatarUploadHost}]]*/'';
  363. globalConfig.csrfToken = /*[[${csrf}]]*/'';
  364. globalConfig.kfqq = '2035994611';
  365. window.userData = {};
  366. window.adminData = {};
  367. /*]]>*/
  368. </script>
  369. <script th:inline="javascript" th:if="${adminData!=null}">
  370. /*<![CDATA[*/
  371. window.adminData = {
  372. mobile : /*[[${adminData.mobile}]]*/'',
  373. name : /*[[${adminData.name}]]*/'',
  374. email : /*[[${adminData.email}]]*/'',
  375. createTime : /*[[${adminData.createTime}]]*/'',
  376. uid : /*[[${adminData.id}]]*/''
  377. }
  378. window.showUserManage = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/userManage')}]]*/false;
  379. window.showServices = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/services')}]]*/false;
  380. window.showAchievement = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/achievement')}]]*/false;
  381. window.showDemand = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/demand')}]]*/false;
  382. window.showIdea = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/idea')}]]*/false;
  383. window.showCustomer = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/customer')}]]*/false;
  384. window.showUserList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/userList')}]]*/false;
  385. window.showOrgList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/orgList')}]]*/false;
  386. window.showPermissionList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/permissionList')}]]*/
  387. false;
  388. window.showRoleList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/roleList')}]]*/false;
  389. window.showAuditStatus = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/auditStatus')}]]*/false;
  390. window.showSystem = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/system')}]]*/false;
  391. /*]]>*/
  392. </script>
  393. <script th:inline="javascript" th:if="${userData!=null}">
  394. /*<![CDATA[*/
  395. window.userData = {
  396. mobile : /*[[${userData.mobile}]]*/'',
  397. nickname : /*[[${userData == null} ? null : ${userData.nickname}]]*/'',
  398. number : /*[[${userData == null} ? null : ${userData.number}]]*/'',
  399. type : /*[[${userData == null} ? null : ${userData.type}]]*/'',
  400. email : /*[[${userData == null} ? null : ${userData.email}]]*/'',
  401. createTime : /*[[${userData == null} ? null : ${userData.createTime}]]*/'',
  402. lvl : /*[[${userData == null} ? null : ${userData.lvl}]]*/''
  403. }
  404. /*]]>*/
  405. </script>
  406. <th:block th:replace="${scripts}" />
  407. </th:block>
  408. </body>
  409. </html>