|
@@ -0,0 +1,48 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+ <html>
|
|
|
+ <head>
|
|
|
+ <title>在线客服</title>
|
|
|
+ <meta charset="utf-8"/>
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+ <script>
|
|
|
+ var prm = GetRequest()
|
|
|
+ function GetRequest() {
|
|
|
+ var url = location.search; // 获取url中"?"符后的字串
|
|
|
+ var obj = new Object();
|
|
|
+ if (url.indexOf('?') != -1) {
|
|
|
+ var str = url.substr(1);
|
|
|
+ strs = str.split('&');
|
|
|
+ for (var i = 0; i < strs.length; i++) {
|
|
|
+ obj[strs[i].split('=')[0]] = strs[i].split('=')[1];
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return obj;
|
|
|
+ }
|
|
|
+
|
|
|
+ (function (w, d, n, a, j) {
|
|
|
+ w[n] = w[n] || function () {
|
|
|
+ (w[n].a = w[n].a || []).push(arguments);
|
|
|
+ };
|
|
|
+ j = d.createElement('script');
|
|
|
+ j.async = true;
|
|
|
+ j.src ='https://qiyukf.com/script/98112bcf552907c28ee450c6a58269c3.js';
|
|
|
+ d.body.appendChild(j);
|
|
|
+ })(window, document, 'ysf');
|
|
|
+
|
|
|
+
|
|
|
+ ysf('config', {
|
|
|
+ success: function () {
|
|
|
+ location.href = ysf('url')
|
|
|
+ // window.open(ysf('url'))
|
|
|
+ },
|
|
|
+ error: function () {
|
|
|
+ // 错误回调
|
|
|
+ // handle error
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ </script>
|
|
|
+ </body>
|
|
|
+ </html>
|