虞城12345_前端

Managment-detail.html 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title></title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
  7. <meta name="apple-mobile-web-app-capable" content="yes">
  8. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  9. <!--标准mui.css-->
  10. <link rel="stylesheet" href="../css/mui.min.css">
  11. <!--App自定义的css-->
  12. <!--<link rel="stylesheet" type="text/css" href="css/app.css" />-->
  13. <style>
  14. .mui-table h4,
  15. .mui-table h5,
  16. .mui-table .mui-h5,
  17. .mui-table .mui-h6,
  18. .mui-table p {
  19. margin-top: 0;
  20. }
  21. .mui-table h4 {
  22. line-height: 21px;
  23. font-weight: 500;
  24. }
  25. .mui-table .oa-icon {
  26. position: absolute;
  27. right: 0;
  28. bottom: 0;
  29. }
  30. .mui-table .oa-icon-star-filled {
  31. color: #f14e41;
  32. }
  33. .mui-bar-nav {
  34. background-color: #00a1cb;
  35. color: #fff;
  36. }
  37. .mui-bar-nav h1 {
  38. color: #fff;
  39. }
  40. .Messge {
  41. font-size: 12px;
  42. margin-top: 10px;
  43. margin-bottom: 10px;
  44. color: #8f8f94;
  45. text-align: center;
  46. }
  47. .Title {
  48. text-align: center;
  49. }
  50. .mui-content {
  51. background-color: #fff;
  52. }
  53. body {
  54. background: #FFF;
  55. }
  56. </style>
  57. </head>
  58. <body>
  59. <header class="mui-bar mui-bar-nav" style="padding-right: 15px;height: 50px;color: #fff;">
  60. <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #fff;"></a>
  61. <h1 class="mui-center mui-title">公告详情</h1>
  62. </header>
  63. <div class="mui-content">
  64. <div class="" style="padding: 15px 10px;">
  65. <h4 class="Title"></h4>
  66. <div class="Messge">
  67. <span class="FBR" style="margin-right: 10px;"></span><span class="Times"></span>
  68. </div>
  69. <p class="Content" style=" text-indent:28px"></p>
  70. </div>
  71. <span></span>
  72. </div>
  73. </body>
  74. <script src="../js/mui.min.js"></script>
  75. <script src="../js/zepto.js"></script>
  76. <script src="../js/huayi.config.js"></script>
  77. <script>
  78. mui.init();
  79. mui.plusReady(function() {
  80. var wv = plus.webview.currentWebview();
  81. var token = wv.token;
  82. var id = wv.name;
  83. mui.ajax(huayi.config.callcenter_url + 'Notice/GetNotice', {
  84. data: {
  85. noticeid: id,
  86. token: token,
  87. },
  88. dataType: 'json', //服务器返回json格式数据
  89. type: 'get', //HTTP请求类型
  90. timeout: 10000, //超时时间设置为10秒;
  91. headers: {
  92. 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
  93. },
  94. success: function(data) {
  95. var time = data.data.F_CreateOn.substring(0, data.data.F_CreateOn.indexOf(' '));
  96. $(".Title").text(data.data.F_Title);
  97. $(".Content").text(data.data.F_Content);
  98. $(".FBR").text('发布人:' + data.data.F_CreateByName);
  99. $(".Times").text('发布日期:' + time);
  100. },
  101. error: function(xhr, type, errorThrown) {
  102. //异常处理;
  103. }
  104. })
  105. });
  106. </script>
  107. </html>