FAQ.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8"/>
  5. <meta http-equiv="Content-Type" content="application/xhtml+xml;charset=UTF-8">
  6. <meta http-equiv="Cache-Control" content="no-cache,no-store,must-revalidate">
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta http-equiv="expires" content="0">
  9. <meta name="description" content=""/>
  10. <meta name="keywords" content="扫码支付,线上投币,运营数据,物联网"/>
  11. <meta name="format-detection" content="telphone=no,email=no"/>
  12. <meta name="viewport"
  13. content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
  14. <title>FAQ-常见问题与解答</title>
  15. <link rel="stylesheet" href="https://cdn.washpayer.com/components/lib/mui.min.css"/>
  16. <link rel="stylesheet" href="../components/custom/css/common.css"/>
  17. <link rel="stylesheet" href="css/xyf.common.min.css"/>
  18. </head>
  19. <style>
  20. html {
  21. width: 100%;
  22. height: 100%;
  23. }
  24. body {
  25. background: url("img/bg1.jpg");
  26. background-size: 100% 100%;
  27. width: 100%;
  28. height: 100%;
  29. }
  30. .title {
  31. font-size: 20px;
  32. color: #fff;
  33. text-align: center;
  34. line-height: 60px;
  35. }
  36. .main {
  37. padding: 14px;
  38. background-image: url("img/bg2.png");
  39. background-size: 100% 100%;
  40. position: relative;
  41. margin: 0 10px;
  42. }
  43. .fqa {
  44. margin: 12px 0;
  45. }
  46. .fqa:first-child {
  47. margin-top: 0;
  48. }
  49. .fqa:last-child {
  50. margin-bottom: 0;
  51. }
  52. .fqa em {
  53. font-size: 16px;
  54. }
  55. .fqa-q {
  56. color: #fff;
  57. font-size: 16px;
  58. }
  59. .fqa-a {
  60. color: #9eedfe;
  61. font-size: 14px;
  62. }
  63. </style>
  64. <body>
  65. <div class="title">
  66. 常见问题与解答
  67. </div>
  68. <div class="main">
  69. <ul>
  70. </ul>
  71. </div>
  72. </body>
  73. <script src="https://cdn.washpayer.com/components/lib/jquery.min.js"></script>
  74. <script src="https://cdn.washpayer.com/components/lib/mui.min.js"></script>
  75. <script src="/components/custom/js/common.js"></script>
  76. <script src="js/xyf.common.js"></script>
  77. <script>
  78. $(function () {
  79. sendRequest("/common/getFAQ", "GET", {}, function (response) {
  80. if (response) {
  81. var list = response.payload || [];
  82. for (var i = 0; i < list.length; i++) {
  83. var item = list[i];
  84. $(".main ul").append("<li class='fqa'><div class='fqa-q'><em>Q:</em>" + item.question + "</div><div class='fqa-a'><em>A:</em>" + item.answer + "</div></li>");
  85. }
  86. if (!list || list.length === 0) {
  87. mui.toast('没有找帮助信息')
  88. setTimeout(function () {
  89. history.back();
  90. }, 1500)
  91. }
  92. }
  93. });
  94. });
  95. </script>
  96. </html>