<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1,minimal-ui">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>充值</title>

</head>

<body>

<style>
html{    background: #E2E2E2; height:100%;}
body {letter-spacing: 0.05em; padding-top:1px; background:#fff; min-height:100%; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC","Helvetica Neue",STHeiti,"Microsoft Yahei",Tahoma,Simsun,sans-serif;  position:relative;  max-width:650px;min-width:320px; margin:0 auto; font-family: arial,"微软雅黑",STHeiti,"Microsoft Yahei",tahoma,'Hiragino Sans GB',sans-serif;}
a{ text-decoration:none;}
.pay_suc{}
.pay_suc{ text-align:center; width:80%; padding:40px 0px; margin:0 auto;}
.pay_suc img{ width:30%; max-width:150px;}
.pay_suc span{ font-size:18px; color:#333; width:90%; display:block; margin: 20px auto; line-height:25px;}
.pay_suc h3{ font-size:20px; color:#333; font-weight:bold; height:50px;     margin-top:30px; border-bottom:1px dashed #e7e7e7; color:#0bc8a6;}
.pay_suc p{ color: #999;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 80%;
	max-width:210px!important;
    font-size: 0.8em;
    display: block;
    margin: 0 auto;}
.pay_suc a{width: 80%;
max-width:300px;
border: 1px solid #999;
    color: #999;
    border-radius: 3px;
    height: 45px;
    line-height: 45px;
    display: block;
    margin: 0 auto; margin-top:40px;}
.pay_suc a:hover{ background:#999; color:#fff;}

</style>
<div class="news_area" style="padding:0px;">
<input type="hidden" value="{$Scheme}" id="scheme"/>

<!--未绑定-->
<div class="pay_suc">
<img src="__IMG__/my_fail.png">
<h3>支付失败</h3>
<!-- <p>商品名称: 赤月传说</p> -->
<!-- <p>商品金额: 8887845</p> -->
<a href="javascript:void(0)" id="back">返回</a>
</div>
<!--未绑定结束-->

</div>

</body>
</html>
<script src="__JS__/jquery-1.11.1.min.js"></script>

<script type="text/javascript">

$(function(){
	var u = navigator.userAgent;
	var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
	try{
	    if(isAndroid){
	        window.mengchuang.getPayResult('fail');
	    }else{
	         window.webkit.messageHandlers.exchangeResult.postMessage(0);
	    }
	}catch(err){
	    /* setTimeout(function () {
	        window.location.href= "/mobile.php?s=/User/index.html";
	    },1000) */
	}
	
	// location.href = $("#scheme").val()+"://showWapPayResult_btnType_?0&ss";
	
	$("#back").click(function() {
		var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
		if (isAndroid) {
			window.mengchuang.getPayResult('fail');
		} else {
			window.location.href = "{$Scheme}://showWapPayResult_btnType_?0&back";
		}
	});
})
</script>