|
@@ -2,7 +2,7 @@
|
|
<html>
|
|
<html>
|
|
<head>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta charset="utf-8" />
|
|
- <title></title>
|
|
|
|
|
|
+ <title>双子星云手机</title>
|
|
<meta name="x5-orientation" content="portrait" />
|
|
<meta name="x5-orientation" content="portrait" />
|
|
<meta name="screen-orientation" content="portrait" />
|
|
<meta name="screen-orientation" content="portrait" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
@@ -827,7 +827,6 @@
|
|
$('#upload').on('click', function () {
|
|
$('#upload').on('click', function () {
|
|
decodeWoker.postMessage('close');
|
|
decodeWoker.postMessage('close');
|
|
decodeWoker.terminate();
|
|
decodeWoker.terminate();
|
|
- webSocketWorker.terminate();
|
|
|
|
quit();
|
|
quit();
|
|
});
|
|
});
|
|
|
|
|
|
@@ -978,7 +977,6 @@
|
|
$.toast('画面异常,请重新进入', 'text');
|
|
$.toast('画面异常,请重新进入', 'text');
|
|
decodeWoker.postMessage('close');
|
|
decodeWoker.postMessage('close');
|
|
decodeWoker.terminate();
|
|
decodeWoker.terminate();
|
|
- webSocketWorker.terminate();
|
|
|
|
quit();
|
|
quit();
|
|
}
|
|
}
|
|
};
|
|
};
|
|
@@ -1285,7 +1283,6 @@
|
|
wsss.close();
|
|
wsss.close();
|
|
decodeWoker.postMessage('close');
|
|
decodeWoker.postMessage('close');
|
|
decodeWoker.terminate();
|
|
decodeWoker.terminate();
|
|
- webSocketWorker.terminate();
|
|
|
|
};
|
|
};
|
|
function quit() {
|
|
function quit() {
|
|
if (navigator.userAgent.toLowerCase().includes('toutiaomicroapp')) {
|
|
if (navigator.userAgent.toLowerCase().includes('toutiaomicroapp')) {
|
|
@@ -1297,8 +1294,8 @@
|
|
url: '/pages/home/home',
|
|
url: '/pages/home/home',
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
- uni.webView.navigateTo({
|
|
|
|
- url: '/pages/index/index',
|
|
|
|
|
|
+ uni.webView.navigateBack({
|
|
|
|
+ delta: 1
|
|
});
|
|
});
|
|
}
|
|
}
|
|
}
|
|
}
|