<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta content="telephone=no" name="format-detection"> <meta name="wap-font-scale" content="no"> <title></title> <link rel="stylesheet" href="css/reset.css"> <link rel="stylesheet" href="css/indexLi.css?v='12312352'"> <link rel="stylesheet" href="../../css/background.css" /> <script src="js/fsize.js"></script> <style type="text/css"> .wx-false-btn{ background: #FF57A0; } </style> </head> <body> <div style="width: 10rem;height: 1rem;"></div> <div class="wx-banner"> <p class="wx-p1">WeChat</p> <p class="wx-p2 L-Cn">請先綁定微信</p> <p class="wx-p2 L-En">Please bind WeChat first</p> <p class="wx-p3 L-Cn">綁定的微信將成為你的提現賬戶</p> <p style="text-indent: 0rem;width: 5rem;left: 4rem;position: absolute" class="wx-p3 L-En">The bound WeChat will become your withdrawal account</p> </div> <div class="wx-false-btn L-Cn">綁定微信</div> <div class="wx-false-btn L-En">Bind WeChat</div> </body> <script src="js/jquery-3.2.1.min.js"></script> <script src="../../lib/globalizationJq.js"></script> <script> if(sessionStorage.lang==1)$("title").text("Set WeChat withdrawal") else $("title").text("設置微信提現") //$ip = "http://ceshi.yabolive.tv/web"; $ip = "https://webserver.yabolive.net"; $(".wx-false-btn").on("click", function () { var obj2 = { "cid": 8, "reqCode": new Date().getTime(), "data": { msg: '跳转微信绑定页面' } } var obj = JSON.stringify(obj2); appCollaboration(obj) }) setInterval(function () { $.ajax({ url: $ip + '/withdraw/checkbindway.html', type: "post", data: { os: "WEB", cid: "web_gw", lang: sessionStorage.lang, uid: sessionStorage.bbb, token:sessionStorage.kkk, bindtype:2 }, success: function (msg) { var data=JSON.parse(msg); if(data.code==1){ window.location.href="http://yazhai://_closeweb"; } } }) },500) function appCollaboration(msg) { var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i) == "ipad"; var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os"; var bIsMidp = sUserAgent.match(/midp/i) == "midp"; var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4"; var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb"; var bIsAndroid = sUserAgent.match(/android/i) == "android"; var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce"; var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile"; if (!(bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM)) { } else if (bIsAndroid) { window.yazhai.appCollaboration(msg); } else if (bIsIphoneOs || bIsIpad) { window.webkit.messageHandlers.appCollaboration.postMessage(msg); } } //客户端回调结果 function appCallback(msg) { console.log(msg); } </script> </html>