123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8"/>
- <meta http-equiv="Content-Type" content="application/xhtml+xml;charset=UTF-8">
- <meta http-equiv="Cache-Control" content="no-cache,no-store,must-revalidate">
- <meta http-equiv="pragma" content="no-cache">
- <meta http-equiv="expires" content="0">
- <meta name="description" content=""/>
- <meta name="keywords" content="扫码支付,线上投币,运营数据,物联网"/>
- <meta name="format-detection" content="telphone=no,email=no"/>
- <meta name="viewport"
- content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
- <title>FAQ-常见问题与解答</title>
- <link rel="stylesheet" href="https://cdn.washpayer.com/components/lib/mui.min.css"/>
- <link rel="stylesheet" href="../components/custom/css/common.css"/>
- <link rel="stylesheet" href="css/xyf.common.min.css"/>
- </head>
- <style>
- html {
- width: 100%;
- height: 100%;
- }
- body {
- background: url("img/bg1.jpg");
- background-size: 100% 100%;
- width: 100%;
- height: 100%;
- }
- .title {
- font-size: 20px;
- color: #fff;
- text-align: center;
- line-height: 60px;
- }
- .main {
- padding: 14px;
- background-image: url("img/bg2.png");
- background-size: 100% 100%;
- position: relative;
- margin: 0 10px;
- }
- .fqa {
- margin: 12px 0;
- }
- .fqa:first-child {
- margin-top: 0;
- }
- .fqa:last-child {
- margin-bottom: 0;
- }
- .fqa em {
- font-size: 16px;
- }
- .fqa-q {
- color: #fff;
- font-size: 16px;
- }
- .fqa-a {
- color: #9eedfe;
- font-size: 14px;
- }
- </style>
- <body>
- <div class="title">
- 常见问题与解答
- </div>
- <div class="main">
- <ul>
- </ul>
- </div>
- </body>
- <script src="https://cdn.washpayer.com/components/lib/jquery.min.js"></script>
- <script src="https://cdn.washpayer.com/components/lib/mui.min.js"></script>
- <script src="/components/custom/js/common.js"></script>
- <script src="js/xyf.common.js"></script>
- <script>
- $(function () {
- sendRequest("/common/getFAQ", "GET", {}, function (response) {
- if (response) {
- var list = response.payload || [];
- for (var i = 0; i < list.length; i++) {
- var item = list[i];
- $(".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>");
- }
- if (!list || list.length === 0) {
- mui.toast('没有找帮助信息')
- setTimeout(function () {
- history.back();
- }, 1500)
- }
- }
- });
- });
- </script>
- </html>
|