newsdetil.jsp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
  4. <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
  5. <%
  6. String path = request.getContextPath();
  7. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort() + path+"/";
  8. request.setAttribute("contextPath", basePath);
  9. %>
  10. <!DOCTYPE html>
  11. <html lang="en">
  12. <head>
  13. <meta charset="UTF-8">
  14. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  15. <meta name="apple-mobile-web-app-capable" content="yes">
  16. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  17. <meta name="format-detection" content="telephone=no">
  18. <title>集团公告</title>
  19. <base href="${contextPath}">
  20. <script src="app/lib/flexible.js"></script>
  21. <script type="text/javascript" src="res/js/jquery.min.js"></script>
  22. <script type="text/javascript" src="res/js/layer/layer.min.js"></script>
  23. <script type="text/javascript" src="app/js/public.js"></script>
  24. <link rel="stylesheet" href="app/lib/flexible.css">
  25. <link rel="stylesheet" href="app/css/basem.css">
  26. <link rel="stylesheet" href="app/css/logome.css">
  27. <link rel="stylesheet" href="app/css/public.css">
  28. </head>
  29. <body>
  30. <div class="titbox blubg">
  31. <a class="titreturn left" href="javascript:void(0)" onclick="javascript:history.go(-1)"><img src="app/img/fanhui16@2x.png" alt=""></a>
  32. <h1>详情</h1>
  33. </div>
  34. <div class="whbg top50">
  35. <div class="safe">
  36. <div class="meaboutit">
  37. <h2>${map['news_title']}</h2>
  38. <p class="rightxt smtxt graytxt"><fmt:formatDate value="${map['create_time']}" pattern="yyyy-MM-dd" /></p>
  39. </div>
  40. <div>
  41. ${map['news_content']}
  42. </div>
  43. </div>
  44. </div>
  45. </body>
  46. </html>