columnNewsDetail.jsp 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/webpage/include/taglibf.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <meta charset="utf-8">
  7. <title>${fns:getConfig("productName")}</title>
  8. <link rel="stylesheet" href="${ctxStaticWeb}/css/base.css" />
  9. <link rel="stylesheet" href="${ctxStaticWeb}/css/second.css" />
  10. <script src="${ctxStaticWeb}/js/jquery-1.8.3.min.js" type="text/javascript"></script>
  11. <script>
  12. $(document).ready(function() {
  13. $('.videoWrapper').bind('contextmenu',function() { return false; });
  14. $('#myvideo').bind('contextmenu',function() { return false; });
  15. var init_num=0;
  16. var myvideo= $("#myvideo")[0];//document.getElementById('myvideo');
  17. })
  18. </script>
  19. <style type="text/css">
  20. video::-internal-media-controls-download-button {
  21. display:none;
  22. }
  23. video::-webkit-media-controls-enclosure {
  24. overflow:hidden;
  25. }
  26. video::-webkit-media-controls-panel {
  27. width: calc(100% + 30px);
  28. }
  29. </style>
  30. </head>
  31. <body>
  32. <%@ include file="/webpage/modules/web/top.jsp"%>
  33. <div class="new w">
  34. <div class="position">当前位置:<a href="${ctx}/">网站首页</a>&nbsp;&#62;&nbsp;<a href="${ctxF}/columnNews">专题专栏</a>&nbsp;&#62;&nbsp;详细页</div>
  35. </div>
  36. <div class="new w" style="border:1px solid #ccc">
  37. <div class="text_top">
  38. <h1>${news.title}</h1>
  39. <hr>
  40. <h2>发布日期:<span><fmt:formatDate value="${news.createDate}" pattern="yyyy-MM-dd"/></span>&nbsp;&nbsp;文章来源:<span>${news.source}</span> </h2>
  41. </div>
  42. <div class="text">
  43. <c:if test="${news.url1 != null && news.url1 !=''}">
  44. <div class="img">
  45. <video scrolling="no" height="100%" controlsList="nodownload" autoplay style="scrolling:no;background-color: black;" width="100%" src='${news.url1}' controls="controls" id="myvideo">
  46. 您的浏览器不支持视频标签.
  47. </video>
  48. </div>
  49. </c:if>
  50. <p>${fns:unescapeHtml(news.content)}</p>
  51. </div>
  52. <%--<div class="text">
  53. <div class="img"><img src="./img/pic_01.png"></div>
  54. <p>${fns:unescapeHtml(news.content)}</p>
  55. </div>--%>
  56. </div>
  57. <div class="footer">
  58. <%@ include file="/webpage/modules/web/footer.jsp"%>
  59. </div>
  60. </body>
  61. </html>