Brak opisu

Setting-SZ.html 2.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. <style>
  13. .mui-bar-nav {
  14. background-color: #cd0000!important;
  15. height: 50px;
  16. color: #fff;
  17. }
  18. .mui-input-row{
  19. padding: 0 15px;
  20. }
  21. .mui-input-row h5{
  22. text-align: center;
  23. color: #000;
  24. font-weight: bold;
  25. }
  26. .mui-input-row h6{
  27. color: #000;
  28. font-weight: bold;
  29. }
  30. .mui-input-row p{
  31. text-indent: 2em;
  32. }
  33. </style>
  34. </head>
  35. <body>
  36. <header class="mui-bar mui-bar-nav">
  37. <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #fff;"></a>
  38. <h1 class="mui-center mui-title">服务守则</h1>
  39. </header>
  40. <div class="mui-content" style="margin-top: 15px;">
  41. <div class="mui-input-row">
  42. <h5>用户服务守则</h5>
  43. <h6>一、特别提示</h6>
  44. <p>使用本APP的双汇业务员信息发生变动时,需要及时进行更新,人员有变动时请对应负责人及时更新;业务员处理消费者投诉时,如果消费者没有打400电话,需要业务员打400电话进行备案
  45. </p>
  46. <h6 p style="text-align: right; line-height: 60px;">双汇投资发展
  47. 有限公司</h6>
  48. </div>
  49. </div>
  50. </body>
  51. <script src="../js/mui.min.js"></script>
  52. <script src="../js/zepto.js"></script>
  53. <script src="../js/huayi.config.js"></script>
  54. <script>
  55. mui.init();
  56. mui.plusReady(function() {
  57. var wv = plus.webview.currentWebview();
  58. var token = wv.token;
  59. var id = wv.name;
  60. mui.ajax(huayi.config.callcenter_url + "Article/GetInfoByTitle", {
  61. data: {
  62. title: $('.mui-title').text(),
  63. token: localStorage.getItem('token')
  64. },
  65. dataType: 'json', //服务器返回json格式数据
  66. type: 'get', //HTTP请求类型
  67. timeout: 10000, //超时时间设置为10秒;
  68. headers: {
  69. 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
  70. },
  71. success: function(data) {
  72. if(data.state == "success") {
  73. $('.mui-title').text(data.data.F_Title);
  74. $('.content').text(data.data.F_Content);
  75. } else {
  76. mui.toast("数据获取失败。");
  77. }
  78. },
  79. error: function(xhr, type, errorThrown) {
  80. //异常处理;
  81. }
  82. })
  83. });
  84. </script>
  85. </html>