tztg.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>通知公告</title>
  6. <style>
  7. body, html {
  8. margin: 0;
  9. padding: 0;
  10. color: rgba(0, 0, 0, 1);
  11. font-size: 14px;
  12. overflow-x: hidden;
  13. overflow-y: auto;
  14. font-family: Microsoft YaHei, SimSun, Arial, Helvetica, Verdana, sans-serif;
  15. }
  16. .sp-page {
  17. float: left;
  18. width: 100%;
  19. }
  20. .sp-line-gray {
  21. float: left;
  22. width: 100%;
  23. height: 1px;
  24. border-bottom: 1px solid #e7eaec;
  25. margin: 5px 0;
  26. display: block;
  27. clear: both;
  28. }
  29. .sp-pr-10 {
  30. padding-right: 10px;
  31. }
  32. .sp-pl-30 {
  33. padding-left: 30px;
  34. }
  35. .sp-tab {
  36. float: left;
  37. width: calc(100% - 40px);
  38. background-color: #fff;
  39. }
  40. .sp-pull-right {
  41. float: right !important;
  42. }
  43. .newsList {
  44. margin: 0;
  45. padding: 0;
  46. list-style-type: none;
  47. }
  48. .newsList li {
  49. padding: 0;
  50. margin: 0;
  51. list-style: none;
  52. line-height: 25px;
  53. cursor: pointer;
  54. list-style: none;
  55. }
  56. .newsList li span {
  57. display: inline-block;
  58. overflow: hidden;
  59. white-space: nowrap;
  60. text-overflow: ellipsis;
  61. }
  62. </style>
  63. </head>
  64. <body>
  65. <div class="sp-page" style="height: 300px">
  66. <div style="width: calc(100% - 20px);float:left;padding:0 10px;text-align:right ">
  67. <span style="cursor:pointer;color:#0094ff" onclick="postMsg('FZE02-TZGG', '通知公告', 'http://10.233.22.204:8088/glworkweb/tpl/wenjianshow/list3.html?lastReturnPageno=1&val=C01')">更多</span>
  68. <div class="sp-line-gray"></div>
  69. </div>
  70. <div class="sp-tab sp-pl-30 sp-pr-10" id="newsList">
  71. <ul class="newsList">
  72. <li onclick="postMsg('FZE02-TZGG', '通知公告', 'http://10.233.22.204:8088/glworkweb/tpl/tongzhibg/TZGG/detail.html?id=1134445867439239168&formPage=wenjianshow&val=C01')">
  73. <span class="title" style="width: 75%; ">市住房城乡建设委召开党委扩大会议 传达学习贯彻习近平总书记重要讲话、全国两会精神和...</span>
  74. <span class="sp-pull-right">2023-07-28</span>
  75. </li>
  76. <li onclick="postMsg('FZE02-TZGG', '通知公告', 'http://10.233.22.204:8088/glworkweb/tpl/tongzhibg/TZGG/detail.html?id=1112742548788699136&formPage=wenjianshow&val=C01')">
  77. <span class="title" style="width: 75%; ">“中心城区更新提升”专题研讨班开班 市住房城乡建设委主要领导为学员授课</span>
  78. <span class="sp-pull-right">2023-05-29</span>
  79. </li>
  80. <li onclick="postMsg('FZE02-TZGG', '通知公告', 'http://10.233.22.204:8088/glworkweb/tpl/tongzhibg/TZGG/detail.html?id=1112743128001110016&formPage=wenjianshow&val=C01')">
  81. <span class="title" style="width: 75%; ">市住房城乡建设委组织开展义务植树活动</span>
  82. <span class="sp-pull-right">2023-05-28</span>
  83. </li>
  84. </ul>
  85. </div>
  86. </div>
  87. <script>
  88. //id作为标签页唯一标识,title作为标签名称,src为标签内页面路径
  89. function postMsg(id, title, src) {
  90. window.top.postMessage({
  91. id: id, title: title, src: src
  92. }, "*")
  93. }
  94. </script>
  95. </body>
  96. </html>