news_view.jsp 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  4. <%
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme() + "://"
  7. + request.getServerName() + ":" + request.getServerPort()
  8. + path + "/";
  9. %>
  10. <!DOCTYPE html>
  11. <html>
  12. <head>
  13. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  14. <link rel="stylesheet"
  15. href="<%=basePath%>resource/bootstrap/bootstrap.min.css" />
  16. <style>
  17. body,button,input,select,textarea {
  18. font: 12px/1.5 Tahoma, Arial, 'Microsoft Yahei', sans-serif;
  19. }
  20. body {
  21. z-index: 1;
  22. /* background-color: #dceaed; */
  23. }
  24. a {
  25. color: #6c6c6c;
  26. }
  27. .f14 {
  28. font-size: 14px;
  29. }
  30. .f18 {
  31. font-size: 18px;
  32. }
  33. .f24 {
  34. font-size: 24px;
  35. }
  36. .f36 {
  37. font-size: 36px;
  38. }
  39. .text-inverse {
  40. color: #f40;
  41. }
  42. .text-default {
  43. color: #3498db;
  44. }
  45. .text-bold {
  46. font-weight: bold;
  47. color: #333;
  48. }
  49. .main {
  50. position: absolute;
  51. left: 0;
  52. top: 0;
  53. right: 0;
  54. bottom: 0;
  55. width: 100%;
  56. bottom: 0;
  57. border-top: 1px solid #dcdcdc;
  58. background-repeat: no-repeat;
  59. background-position: center top;
  60. background-attachment: scroll;
  61. background-image:
  62. url("<%=basePath%>resource/images/screens/news_bg.jpg");
  63. }
  64. .main .q-wrap {
  65. position: absolute;
  66. top: 0;
  67. left: 0;
  68. bottom: 0;
  69. width: 340px;
  70. height: 100%;
  71. border-right: 1px solid #dcdcdc;
  72. }
  73. .q-wrap .header {
  74. width: 100%;
  75. height: 46px;
  76. line-height: 45px;
  77. padding-left: 20px;
  78. border-bottom: 1px solid #dcdcdc;
  79. position: relative;
  80. }
  81. .q-wrap .header strong {
  82. margin-right: 20px;
  83. }
  84. .q-wrap .header .dropdown-toggle {
  85. padding: 15px 0 16px 0;
  86. }
  87. .q-wrap .header .dropdown-toggle>i {
  88. padding: 0 20px;
  89. }
  90. .q-wrap .header .dropdown-menu {
  91. line-height: 1.68;
  92. }
  93. .q-wrap .header .dropdown-menu .form-group {
  94. margin-left: 15px;
  95. }
  96. .q-wrap .list {
  97. position: absolute;
  98. /* background-color: #fff; */
  99. left: 0;
  100. top: 46px;
  101. bottom: 47px;
  102. width: 100%;
  103. overflow-x: hidden;
  104. overflow-y: auto;
  105. }
  106. .q-wrap .list .item {
  107. position: relative;
  108. border-bottom: 1px solid #d9d9d9;
  109. padding: 5px 20px;
  110. cursor: pointer;
  111. }
  112. .q-wrap .list .item:hover {
  113. background-color: #f0f0f0
  114. }
  115. .q-wrap .list .item.active {
  116. background-color: #c2e0f4;
  117. }
  118. .q-wrap .list .item .title {
  119. height: 20px;
  120. line-height: 20px;
  121. font-size: 14px;
  122. max-width: 180px;
  123. color: #0a0a0a;
  124. text-overflow: ellipsis;
  125. white-space: nowrap;
  126. overflow: hidden;
  127. }
  128. .q-wrap .list .item .tool>i {
  129. display: none;
  130. }
  131. .q-wrap .list .item:hover .tool>i {
  132. display: inline-block;
  133. }
  134. .q-wrap .list .item .tool {
  135. position: absolute;
  136. color: #3498db;
  137. top: 6px;
  138. right: 15px;
  139. }
  140. .q-wrap .desc {
  141. margin-top: 5px;
  142. height: 20px;
  143. line-height: 20px;
  144. text-overflow: ellipsis;
  145. white-space: nowrap;
  146. line-height: 16px;
  147. overflow: hidden;
  148. height: 20px;
  149. }
  150. .q-wrap .footer {
  151. position: absolute;
  152. left: 0;
  153. bottom: 0;
  154. width: 100%;
  155. height: 47px;
  156. line-height: 45px;
  157. padding: 0 20px;
  158. border-top: 1px solid #dcdcdc;
  159. cursor: pointer;
  160. }
  161. .q-wrap .footer .btn {
  162. border: 1px solid transparent;
  163. border-radius: 500px;
  164. font-size: 12px;
  165. color: #555;
  166. padding: 3px;
  167. background-color: transparent;
  168. -webkit-transition: all .12s ease-in;
  169. transition: all .12s ease-in;
  170. }
  171. .q-wrap .footer .btn>i {
  172. width: 18px;
  173. height: 18px;
  174. }
  175. .q-wrap .footer .btn:hover {
  176. background-color: #3498db;
  177. border-color: #3498db;
  178. color: #fff;
  179. }
  180. .content-wrap {
  181. position: absolute;
  182. top: 0;
  183. left: 340px;
  184. right: 0;
  185. bottom: 0;
  186. height: 100%;
  187. overflow-x: hidden;
  188. overflow-y: hidden;
  189. }
  190. .content-wrap .tbar {
  191. width: 100%;
  192. height: 46px;
  193. line-height: 45px;
  194. border-bottom: 1px solid #dcdcdc;
  195. padding: 0 15px;
  196. position: relative;
  197. }
  198. .tbar .btn {
  199. border-color: #e6e7ec;
  200. border-radius: 0;
  201. }
  202. .tbar .btn:hover {
  203. border-color: #ccc;
  204. }
  205. .tbar .btn>span {
  206. margin-right: 5px;
  207. }
  208. .tbar .dropdown:hover>.dropdown-menu {
  209. margin-top: -3px;
  210. }
  211. .comment {
  212. padding: 15px;
  213. position: absolute;
  214. top: -500px;
  215. left: 0;
  216. right: 0;
  217. height: 148px;
  218. z-index: 100;
  219. border-bottom: 1px solid #dcdcdc;
  220. -webkit-transition: top 0.3s ease-in-out;
  221. -moz-transition: top 0.3s ease-in-out;
  222. transition: top 0.3s ease-in-out;
  223. }
  224. .comment-wrap .item {
  225. position: relative;
  226. line-height: normal;
  227. border-bottom: 1px dashed #eee;
  228. }
  229. .comment-wrap .item .title {
  230. margin-top: 10px;
  231. margin-bottom: 5px;
  232. }
  233. .comment-wrap .item .desc {
  234. margin-bottom: 10px;
  235. }
  236. .content-wrap .content {
  237. position: absolute;
  238. top: 46px;
  239. left: 0;
  240. width: 100%;
  241. bottom: 0;
  242. z-index: 10;
  243. -webkit-transition: top 0.3s ease-in-out;
  244. -moz-transition: top 0.3s ease-in-out;
  245. transition: top 0.3s ease-in-out;
  246. overflow-x: hidden;
  247. overflow-y: auto;
  248. }
  249. .content .header {
  250. padding: 15px;
  251. height: 74px;
  252. border-bottom: 1px solid #dcdcdc;
  253. }
  254. .header .header_top {
  255. position: relative;
  256. }
  257. .header_top .title {
  258. font-size: 14px;
  259. font-weight: bold;
  260. height: 22px;
  261. }
  262. .header_top .feedback {
  263. position: absolute;
  264. right: 15px;
  265. top: 0;
  266. padding: 0 0 0 55px;
  267. text-align: right;
  268. color: #777;
  269. padding: 0 0 0 55px;
  270. }
  271. .content .body {
  272. padding: 25px 15px;
  273. /* background-color: #fff; */
  274. }
  275. .content .attach {
  276. padding: 25px;
  277. border-top: 1px solid #dcdcdc;
  278. }
  279. .attach .item {
  280. position: relative;
  281. cursor: pointer;
  282. width: 180px;
  283. height: 180px;
  284. border: 1px solid #d6d6d6;
  285. margin-bottom: 25px;
  286. margin-right: 25px;
  287. -webkit-box-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
  288. -moz-box-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
  289. box-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
  290. zoom: 1;
  291. }
  292. .attach .item .title {
  293. position: absolute;
  294. bottom: 0;
  295. left: 0;
  296. width: 100%;
  297. height: 30px;
  298. line-height: 30px;
  299. text-align: center;
  300. padding: 0 5px;
  301. color: #222;
  302. border-top: 1px solid #ccc;
  303. background-color: #fff;
  304. z-index: 10;
  305. text-overflow: ellipsis;
  306. white-space: nowrap;
  307. overflow: hidden;
  308. }
  309. .attach .item .bg {
  310. position: absolute;
  311. width: 100%;
  312. height: 149px;
  313. line-height: 149px;
  314. left: 0;
  315. top: 0;
  316. overflow: hidden;
  317. text-align: center;
  318. vertical-align: middle;
  319. background-color: #f6f6f9;
  320. color: #999;
  321. }
  322. .attach .item .download {
  323. position: absolute;
  324. left: 0;
  325. top: 119px;
  326. width: 0;
  327. height: 30px;
  328. line-height: 30px;
  329. background: #090909;
  330. opacity: 0;
  331. text-align: center;
  332. z-index: 99;
  333. -webkit-transition: width 0.2s ease-in-out;
  334. -moz-transition: width 0.2s ease-in-out;
  335. transition: width 0.2s ease-in-out;
  336. }
  337. .attach .item:hover .download {
  338. width: 100%;
  339. opacity: .5;
  340. }
  341. .attach .download a {
  342. color: #fff;
  343. }
  344. .bg .global_icon {
  345. margin: 20px auto;
  346. }
  347. .attach .summary {
  348. line-height: 20px;
  349. padding: 5px;
  350. border-top: 1px solid #ddd;
  351. border-bottom: 1px solid #ddd;
  352. position: relative;
  353. overflow: hidden;
  354. zoom: 1;
  355. }
  356. /*dropdown*/
  357. .dropdown>.dropdown-toggle {
  358. border-style: solid;
  359. border-width: 0 1px;
  360. border-color: transparent;
  361. }
  362. .dropdown:hover>.dropdown-toggle {
  363. position: relative;
  364. background-color: #ffffff;
  365. border: 1px solid #eee;
  366. border-top: 0;
  367. border-bottom: 0;
  368. z-index: 100001;
  369. }
  370. .dropdown:hover>.dropdown-menu {
  371. display: block;
  372. position: absolute;
  373. border-color: #eee;
  374. webkit-box-shadow: none;
  375. box-shadow: none;
  376. margin-top: -1px;
  377. min-width: 100%;
  378. font-size: 12px;
  379. }
  380. .pull-right .dropdown-menu {
  381. border-radius: 4px 0 0 4px;
  382. }
  383. .btn .caret {
  384. margin-left: 15px;
  385. }
  386. .global_icon {
  387. background: url("<%=basePath%>resource/images/merge/full_ico.png")
  388. no-repeat bottom right;
  389. }
  390. .global_icon.larger {
  391. height: 118px;
  392. width: 118px;
  393. }
  394. .icon_xls_l {
  395. background-position: 0 -855px;
  396. }
  397. .icon_pdf_l {
  398. background-position: -120px -735px;
  399. }
  400. .icon_doc_l {
  401. background-position: -282px -495px;
  402. }
  403. .icon_txt_l {
  404. background-position: -360px -735px;
  405. }
  406. .icon_zip_l {
  407. background-position: -120px -855px;
  408. }
  409. .icon_image_l {
  410. background-position: -120px -615px;
  411. }
  412. .icon_undefined_l {
  413. background-position: 0 -735px;
  414. }
  415. </style>
  416. </head>
  417. <script type="text/javascript">
  418. function $(id) {
  419. return document.getElementById(id);
  420. }
  421. </script>
  422. <body>
  423. <div class="main">
  424. <!-- 新闻列表 Start -->
  425. <div class="q-wrap">
  426. <div class="header">
  427. <div class="pull-left title">
  428. <strong class="f14">内部新闻</strong>已发布${totalCount}个
  429. </div>
  430. <div class="pull-right dropdown">
  431. <a class="dropdown-toggle"><i class="glyphicon glyphicon-list"></i></a>
  432. <div class="dropdown-menu" style="padding: 15px; width: 180px;">
  433. <form>
  434. <label><i class="glyphicon glyphicon-flag"></i>&nbsp;分页设置</label>
  435. <div class="form-group">
  436. <label class="radio-inline"> <input type="radio"
  437. name="pageSize" value="10" checked> 10
  438. </label> <label class="radio-inline"> <input type="radio"
  439. name="pageSize" value="20"> 20
  440. </label> <label class="radio-inline"> <input type="radio"
  441. name="pageSize" value="50"> 50
  442. </label>
  443. </div>
  444. <div class="checkbox">
  445. <label> <input type="checkbox" checked> 显示新闻快照
  446. </label>
  447. </div>
  448. <button class="btn btn-default btn-block btn-sm" type="submit">确
  449. 定</button>
  450. </form>
  451. </div>
  452. </div>
  453. </div>
  454. <!-- 新闻展示 Start -->
  455. <script type="text/javascript">
  456. function getNews(id) {
  457. window.location.href = "<%=basePath%>oa/news/view.action?page=${page}&ne_id=" + id;
  458. }
  459. </script>
  460. <div class="list">
  461. <c:forEach items="${snapshot}" var="shot">
  462. <c:if test="${shot.ne_id == current.ne_id}">
  463. <div class="item active" onclick="getNews(${shot.ne_id})">
  464. <div class="title">${shot.ne_theme}</div>
  465. <div class="tool">${shot.ne_datestr}</div>
  466. <div>${shot.ne_releaser}</div>
  467. <div class="desc text-muted">${shot.ne_content}</div>
  468. </div>
  469. </c:if>
  470. <c:if test="${shot.ne_id != current.ne_id}">
  471. <div class="item" onclick="getNews(${shot.ne_id})">
  472. <div class="title">${shot.ne_theme}</div>
  473. <div class="tool">${shot.ne_datestr}</div>
  474. <div>${shot.ne_releaser}</div>
  475. <div class="desc text-muted">${shot.ne_content}</div>
  476. </div>
  477. </c:if>
  478. </c:forEach>
  479. </div>
  480. <!-- 新闻展示 End -->
  481. <!-- 分页 Start -->
  482. <div class="footer">
  483. <div class="pull-left">第${page}页,共${totalPage}页</div>
  484. <div class="pull-right">
  485. <c:if test="${page == 1 || totalPage == 1}">
  486. <a href="<%=basePath %>oa/news/view.action?page=1&pageSize=${pageSize}" class="btn" disabled>
  487. <i class="glyphicon glyphicon-step-backward"></i>
  488. </a>
  489. <a href="<%=basePath %>oa/news/view.action?page=${page-1}&pageSize=${pageSize}" class="btn" disabled>
  490. <i class="glyphicon glyphicon-chevron-left"></i>
  491. </a>
  492. </c:if>
  493. <c:if test="${page > 1}">
  494. <a href="<%=basePath %>oa/news/view.action?page=1&pageSize=${pageSize}" class="btn">
  495. <i class="glyphicon glyphicon-step-backward"></i>
  496. </a>
  497. <a href="<%=basePath %>oa/news/view.action?page=${page-1}&pageSize=${pageSize}" class="btn">
  498. <i class="glyphicon glyphicon-chevron-left"></i>
  499. </a>
  500. </c:if>
  501. <c:if test="${page == totalPage || totalPage == 1}">
  502. <a href="<%=basePath %>oa/news/view.action?page=${page+1}&pageSize=${pageSize}" class="btn" disabled>
  503. <i class="glyphicon glyphicon-chevron-right"></i>
  504. </a>
  505. <a href="<%=basePath %>oa/news/view.action?page=${totalPage}&pageSize=${pageSize}" class="btn" disabled>
  506. <i class="glyphicon glyphicon-step-forward"></i>
  507. </a>
  508. </c:if>
  509. <c:if test="${page < totalPage}">
  510. <a href="<%=basePath %>oa/news/view.action?page=${page+1}&pageSize=${pageSize}" class="btn">
  511. <i class="glyphicon glyphicon-chevron-right"></i>
  512. </a>
  513. <a href="<%=basePath %>oa/news/view.action?page=${totalPage}&pageSize=${pageSize}" class="btn">
  514. <i class="glyphicon glyphicon-step-forward"></i>
  515. </a>
  516. </c:if>
  517. </div>
  518. </div>
  519. <!-- 分页 End -->
  520. </div>
  521. <!-- 新闻反馈列表 End -->
  522. <!-- 新闻内容 Start -->
  523. <div class="content-wrap">
  524. <script type="text/javascript">
  525. var isCommentShow = false;
  526. function showCommentPane() {
  527. if(!isCommentShow) {
  528. $('comment').style.top = '46px';
  529. $('content').style.top = '194px';
  530. isCommentShow = true;
  531. } else
  532. hideCommentPane();
  533. }
  534. function hideCommentPane() {
  535. $('comment').style.top = '-500px';
  536. $('content').style.top = '46px';
  537. isCommentShow = false;
  538. }
  539. </script>
  540. <div class="tbar">
  541. <div class="pull-left">
  542. <a class="btn btn-default" href="javascript:showCommentPane();"><span
  543. class="glyphicon glyphicon-edit"></span>评论</a> <a
  544. class="btn btn-default"><span
  545. class="glyphicon glyphicon-trash"></span>删除</a>
  546. </div>
  547. <div class="pull-right dropdown">
  548. <a class="btn btn-default dropdown-toggle"><span
  549. class="glyphicon glyphicon-share"></span>查看评论<span class="caret"></span></a>
  550. <div class="dropdown-menu dropdown-menu-right comment-wrap"
  551. style="padding: 15px; width: 280px;">
  552. <c:if test="${current.comments.size() > 0}">
  553. <ul class="list-unstyled">
  554. <c:forEach items="${current.comments}" var="comment">
  555. <li class="item">
  556. <div class="title">
  557. <span class="text-bold">${comment.nc_caster}</span><span
  558. class="text-muted pull-right">${comment.nc_datestr}</span>
  559. </div>
  560. <div class="desc">${comment.nc_comment}</div>
  561. </li>
  562. </c:forEach>
  563. </ul>
  564. </c:if>
  565. <c:if test="${current.comments.size() == 0}">
  566. 暂无评论<a href="javascript:showCommentPane()" class="pull-right">我来评论下</a>
  567. </c:if>
  568. </div>
  569. </div>
  570. </div>
  571. <div id="comment" class="comment">
  572. <form class="form-horizontal" method="post"
  573. action="<%=basePath%>oa/news/view/sendComment.action">
  574. <div class="form-group">
  575. <div class="col-sm-12">
  576. <textarea rows="3" class="form-control" name="nc_comment"
  577. placeholder="我要评论" autofocus="autofocus" required="required"></textarea>
  578. </div>
  579. </div>
  580. <input type="hidden" name="nc_neid" value="${current.ne_id}">
  581. <div class="form-group">
  582. <div class="col-sm-12">
  583. <div class="pull-right">
  584. <button type="submit" class="btn btn-info">发表</button>
  585. <a href="javascript:hideCommentPane();" class="btn btn-default">取消</a>
  586. </div>
  587. </div>
  588. </div>
  589. </form>
  590. </div>
  591. <div id="content" class="content">
  592. <div class="header">
  593. <div class="header_top">
  594. <div class="title">${current.ne_theme}</div>
  595. <div class="feedback">${current.ne_datestr}</div>
  596. </div>
  597. <div class="text-muted">编辑:${current.ne_releaser}</div>
  598. </div>
  599. <div class="body">${current.ne_content}</div>
  600. <c:if test="${attachs != null}">
  601. <div class="attach">
  602. <ul class="list-unstyled list-inline">
  603. <c:forEach items="${attachs}" var="attach">
  604. <li class="item" title="${attach.fp_name}">
  605. <div class="bg">
  606. <c:choose>
  607. <c:when test="${attach.fp_type == 'pdf' }">
  608. <div class="global_icon larger icon_pdf_l"></div>
  609. </c:when>
  610. <c:when
  611. test="${attach.fp_type == 'xls' || attach.fp_type == 'xlsx' || attach.fp_type == 'et' }">
  612. <div class="global_icon larger icon_xls_l"></div>
  613. </c:when>
  614. <c:when
  615. test="${attach.fp_type == 'doc' || attach.fp_type == 'docx' }">
  616. <div class="global_icon larger icon_doc_l"></div>
  617. </c:when>
  618. <c:when test="${attach.fp_type == 'txt' }">
  619. <div class="global_icon larger icon_txt_l"></div>
  620. </c:when>
  621. <c:when
  622. test="${attach.fp_type == 'zip' || attach.fp_type == 'rar' }">
  623. <div class="global_icon larger icon_zip_l"></div>
  624. </c:when>
  625. <c:when
  626. test="${attach.fp_type == 'png' || attach.fp_type == 'jpg' || attach.fp_type == 'jpeg' || attach.fp_type == 'bmp' || attach.fp_type == 'gif' }">
  627. <div class="global_icon larger icon_image_l"></div>
  628. </c:when>
  629. <c:otherwise>
  630. <div class="global_icon larger icon_undefined_l"></div>
  631. </c:otherwise>
  632. </c:choose>
  633. </div>
  634. <div class="title">${attach.fp_name}</div>
  635. <div class="download">
  636. <a
  637. href="<%=basePath %>common/downloadbyId.action?id=${attach.fp_id}">下载</a>
  638. </div>
  639. </li>
  640. </c:forEach>
  641. </ul>
  642. <div class="summary">
  643. <span class="glyphicon glyphicon-paperclip"></span>&nbsp;&nbsp;共${attachs.size()}个附件
  644. <a class="pull-right btn btn-default btn-xs"> <span
  645. class="glyphicon glyphicon-save"></span>&nbsp;&nbsp;全部下载
  646. </a>
  647. </div>
  648. </div>
  649. </c:if>
  650. </div>
  651. </div>
  652. <!-- 新闻内容 End -->
  653. </div>
  654. </body>
  655. <script>
  656. function getUrlParam(name){
  657. var reg=new RegExp("(^|&)"+name+"=([^&]*)(&|$)");
  658. var r=window.location.search.substr(1).match(reg);
  659. if (r!=null) return decodeURI(r[2]);
  660. return null;
  661. }
  662. function autoScrollTo(ne_id){
  663. document.getElementsByClassName('active')[0].scrollIntoView(true);
  664. }
  665. var isJumpFromIndex = getUrlParam('isJumpFromIndex');
  666. if(isJumpFromIndex){
  667. var neid = getUrlParam('ne_id');
  668. autoScrollTo(neid);
  669. }
  670. </script>
  671. </html>