PingAnYeXianSZCG_Web 前端代码

AnnDeal.html 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. <div class="mui-content">
  60. <div class="" style="padding: 15px 10px;">
  61. <h4 class="Title"></h4>
  62. <div class="Messge">
  63. <span class="FBR" style="margin-right: 10px;"></span><span class="Times"></span>
  64. </div>
  65. <p class="Content" style=" text-indent:28px"></p>
  66. </div>
  67. <span></span>
  68. </div>
  69. </body>
  70. <script src="../js/zepto.js"></script>
  71. <script src="../Script/Common/huayi.config.js"></script>
  72. <script src="../Script/Common/huayi.http.js"></script>
  73. <script src="../js/mui.min.js"></script>
  74. <script>
  75. mui.init();
  76. var index=helper.request.queryString("index");//手机号
  77. $.ajax({
  78. type:"get",
  79. url:huayi.config.callcenter_url + 'Notice/GetNotice',
  80. dataType: 'json', //服务器返回json格式数据
  81. data: {
  82. noticeid: index,
  83. openid: helper.cookies.get("openid"),
  84. },
  85. success: function(data) {
  86. var time = data.data.F_CreateOn.substring(0, data.data.F_CreateOn.indexOf(' '));
  87. $(".Title").text(data.data.F_Title);
  88. $(".Content").text(data.data.F_Content);
  89. $(".FBR").text('发布人:' + data.data.F_CreateByName);
  90. $(".Times").text('发布日期:' + time);
  91. },
  92. })
  93. </script>
  94. </html>