newsDetail.jsp 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. <!DOCTYPE html>
  5. <html>
  6. <head>
  7. <%
  8. String basePath = request.getScheme() + "://"
  9. + request.getServerName() + ":" + request.getServerPort()
  10. + request.getContextPath() + "/";
  11. %>
  12. <meta name="viewport"
  13. content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
  14. <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
  15. <link rel="apple-touch-startup-image"
  16. href="images/apple-touch-startup-image-320x460.png" />
  17. <title>企业新闻</title>
  18. <base href="<%=basePath%>jsps/mobile/" />
  19. <link
  20. href='http://fonts.useso.com/css?family=Source+Sans+Pro:400,300,700,900'
  21. rel='stylesheet' type='text/css' />
  22. <style type="text/css">
  23. #content {
  24. font-size: 14px;
  25. width: 100%;
  26. bottom: 50px;
  27. height: 80% !important;
  28. }
  29. html {
  30. overflow-x: hidden;
  31. overflow-y: auto;
  32. }
  33. img {
  34. max-width: 100%;
  35. }
  36. .bottombar {
  37. background-color: #0972b9;
  38. position: fixed;
  39. bottom: 0px;
  40. width: 100%;
  41. height: 50px;
  42. }
  43. </style>
  44. </head>
  45. <script type="text/javascript"
  46. src="<%=basePath%>resource/jquery/jquery-1.8.0.min.js"></script>
  47. <script type="text/javascript"
  48. src="<%=basePath%>resource/bootstrap/bootstrap.min.js"></script>
  49. <script type="text/javascript">
  50. var basePath = "<%=basePath%>";
  51. </script>
  52. <script type="text/javascript"
  53. src="<%=basePath%>resource/jquery/jquery-1.8.0.min.js"></script>
  54. <body>
  55. <div id="content">${news.ne_content}</div>
  56. <!-- 按钮触发模态框 -->
  57. <div style="height: 50px;"></div>
  58. <!-- <div class="bottombar">
  59. <div class="navbar_home_link">
  60. <a href="javascript:history.go(-1);" data-panel="left"
  61. class="open-panel"><img src="../../resource/images/user.png"
  62. alt="" title="" /></a>
  63. </div>
  64. <div class="navbar_page_center">企业新闻</div>
  65. <div class="menu_open_icon_white">
  66. <a id="selectpos" href="javascript:showMenu();"><img
  67. src="../../resource/images/menu_open.png" alt="" title="" /> </a>
  68. </div>
  69. </div> -->
  70. </body>
  71. </html>