68 lines
2.0 KiB
HTML
68 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title></title>
|
|
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
|
|
<link rel="shortcut icon" href="/favicon.ico">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
|
<link rel="stylesheet" href="css/sm.css">
|
|
<link rel="stylesheet" href="css/main.css">
|
|
<link rel="stylesheet" href="css/theme-orange.css">
|
|
|
|
<style>
|
|
.contentError img{width:20%;margin-bottom:1.5rem;}
|
|
.contentError em{font-size:1rem;color:#8890a4;margin-bottom:0.5rem;}
|
|
.contentError p{color:#bac0ce;}
|
|
.contentError a{width:50%;margin:0 auto;margin-top:2rem;text-decoration:none;}
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="page-group">
|
|
<div class="page page-current">
|
|
<!--<header class="bar bar-nav barBorder">
|
|
<button class="button button-link button-nav pull-left" onclick="back(),plus.nativeUI.closeWaiting();">
|
|
<span class="icon icon-left"></span>
|
|
</button>
|
|
</header>-->
|
|
<div class="content contentError">
|
|
<img src="images/errorInternet.png">
|
|
<em>网络加载异常</em>
|
|
<p>请返回重试或检查网络设置</p>
|
|
<div class="content-block">
|
|
<p>
|
|
<a onclick="plus.runtime.restart()" class="button button-big button-round theme">重启应用</a>
|
|
<a onclick="again()" class="button button-big button-round theme" id="bakBtn">返回刷新</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript" src="js/common.js" ></script>
|
|
<script>
|
|
var flag;
|
|
document.addEventListener('plusready', onPlusReady, false);
|
|
function onPlusReady() {
|
|
var self = plus.webview.currentWebview();
|
|
flag = self.flag;
|
|
if(flag == null) {
|
|
document.getElementById("bakBtn").setAttribute("style", "display: none;")
|
|
}
|
|
plus.nativeUI.closeWaiting();
|
|
}
|
|
|
|
function again(){
|
|
if(flag){
|
|
back();
|
|
plus.nativeUI.closeWaiting();
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |