永城市12345 (县级市)- 来源于虞城县12345 - 所有县级统一API

WTlist.html 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. }
  46. .title{
  47. font-size: 18px;
  48. color: #000;
  49. }
  50. .mui-content{
  51. background-color: #fff;
  52. }
  53. body{
  54. background: #FFF;
  55. }
  56. .content{
  57. font-size: 16px;
  58. }
  59. h4{
  60. font-size: 20px;
  61. font-weight: 500;
  62. }
  63. </style>
  64. </head>
  65. <body>
  66. <header class="mui-bar mui-bar-nav" style="padding-right: 15px;height: 50px;color: #fff;">
  67. <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #fff;"></a>
  68. <h1 class="mui-center mui-title">问题详情</h1>
  69. </header>
  70. <div class="mui-content">
  71. <div class="" style="padding: 20px 15px;">
  72. <h4 class="Title"></h4>
  73. <h5 style="margin-top: 15px;"><span class="time"></span><span></span></h5>
  74. <div class="Messge">
  75. <span class='title'></span>
  76. <div class="content">
  77. </div>
  78. </div>
  79. </div>
  80. <span></span>
  81. </div>
  82. </body>
  83. <script src="../js/mui.min.js"></script>
  84. <script src="../js/zepto.js"></script>
  85. <script src="../js/huayi.config.js"></script>
  86. <script>
  87. mui.init();
  88. mui.plusReady(function() {
  89. var wv = plus.webview.currentWebview();
  90. var token = wv.token;
  91. var id=wv.name;
  92. mui.ajax(huayi.config.callcenter_url + 'FAQ/GetInfo', {
  93. data: {
  94. infoid:id,
  95. token: token,
  96. },
  97. dataType: 'json', //服务器返回json格式数据
  98. type: 'get', //HTTP请求类型
  99. timeout: 10000, //超时时间设置为10秒;
  100. headers: {
  101. 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
  102. },
  103. success: function(data) {
  104. var time = data.data.F_CreateTime.substring(0, data.data.F_CreateTime.indexOf(' '));
  105. $(".time").text(time);
  106. $(".Title").text(data.data.F_QuestionTitle);
  107. $(".title").text(data.data.F_QuestionContent);
  108. $(".content").val(data.data.F_AnswerContent);
  109. },
  110. error: function(xhr, type, errorThrown) {
  111. //异常处理;
  112. }
  113. })
  114. });
  115. </script>
  116. </html>