common.html 19 KB

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