Brak opisu

AnnDeal.html 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  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. .hy_loading {
  57. position: fixed;
  58. left: 0;
  59. top: 0;
  60. width: 100%;
  61. height: 100%;
  62. background-color: rgba(0, 0, 0, .3);
  63. z-index: 9998;
  64. transition: all .2s;
  65. }
  66. .hy_loading .loading_img {
  67. position: absolute;
  68. left: 0;
  69. top: 0;
  70. bottom: 0;
  71. right: 0;
  72. overflow: hidden;
  73. margin: auto;
  74. width: 60px;
  75. height: 24px;
  76. z-index: 9999;
  77. }
  78. </style>
  79. </head>
  80. <body>
  81. <div class="hy_loading" id="hy_loading">
  82. <img class="loading_img" src="../images/loading-0.gif" alt="加载中" />
  83. </div>
  84. <div class="mui-content">
  85. <div class="" style="padding: 15px 10px;">
  86. <h4 class="Title"></h4>
  87. <div class="Messge">
  88. <span class="FBR" style="margin-right: 10px;"></span><span class="Times"></span>
  89. </div>
  90. <p class="Content" style=" text-indent:28px"></p>
  91. </div>
  92. <span></span>
  93. </div>
  94. </body>
  95. <script src="../js/zepto.js"></script>
  96. <script src="../Script/Common/huayi.config.js"></script>
  97. <script src="../Script/Common/huayi.http.js"></script>
  98. <script src="../js/mui.min.js"></script>
  99. <script>
  100. mui.init();
  101. var index = helper.request.queryString("index"); //手机号
  102. $.ajax({
  103. type: "get",
  104. url: huayi.config.callcenter_url + 'Notice/GetNotice',
  105. dataType: 'json', //服务器返回json格式数据
  106. data: {
  107. noticeid: index,
  108. openid: helper.cookies.get("openid"),
  109. },
  110. success: function(data) {
  111. if(document.getElementById('hy_loading')) {
  112. document.getElementById('hy_loading').style.opacity = 0;
  113. document.getElementById('hy_loading').remove();
  114. }
  115. var time = data.data.F_CreateOn.substring(0, data.data.F_CreateOn.indexOf(' '));
  116. $(".Title").text(data.data.F_Title);
  117. $(".Content").text(data.data.F_Content);
  118. $(".FBR").text('发布人:' + data.data.F_CreateByName);
  119. $(".Times").text('发布日期:' + time);
  120. },
  121. })
  122. </script>
  123. </html>