|
|
|
@ -41,6 +41,7 @@ border: 1px solid #999;
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
<div class="news_area" style="padding:0px;">
|
|
|
|
|
<input type="hidden" value="{$Scheme}" id="scheme"/>
|
|
|
|
|
|
|
|
|
|
<!--未绑定-->
|
|
|
|
|
<div class="pay_suc">
|
|
|
|
@ -48,7 +49,7 @@ border: 1px solid #999;
|
|
|
|
|
<h3>支付失败</h3>
|
|
|
|
|
<!-- <p>商品名称: 赤月传说</p> -->
|
|
|
|
|
<!-- <p>商品金额: 8887845</p> -->
|
|
|
|
|
<a href="mengchuang://showWapPayResult_btnType_?0&back">返回</a>
|
|
|
|
|
<a href="{$Scheme}://showWapPayResult_btnType_?0&back">返回</a>
|
|
|
|
|
</div>
|
|
|
|
|
<!--未绑定结束-->
|
|
|
|
|
|
|
|
|
@ -62,8 +63,21 @@ border: 1px solid #999;
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
|
location.href = "mengchuang://showWapPayResult_btnType_?0&ss";
|
|
|
|
|
|
|
|
|
|
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";
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|