|
|
|
@ -137,28 +137,19 @@ $("#back_success").click(function() {
|
|
|
|
|
}catch(err){
|
|
|
|
|
|
|
|
|
|
} */
|
|
|
|
|
var Scheme=$('.Scheme').val();
|
|
|
|
|
var orderno=$('.orderno').val();
|
|
|
|
|
var u = navigator.userAgent;
|
|
|
|
|
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
|
|
|
|
|
if(isAndroid){
|
|
|
|
|
window.mengchuang.getPayResult('succeed');
|
|
|
|
|
}else{
|
|
|
|
|
<if condition="get_wx_type() neq 1">
|
|
|
|
|
|
|
|
|
|
window.location.href = Scheme+"://1&back";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<else/>
|
|
|
|
|
|
|
|
|
|
window.location.href = "mengchuang://showWapPayResult_btnType_?1&back";
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
// var Scheme=$('.Scheme').val();
|
|
|
|
|
// var orderno=$('.orderno').val();
|
|
|
|
|
// var u = navigator.userAgent;
|
|
|
|
|
// var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
|
|
|
|
|
// if(isAndroid){
|
|
|
|
|
// window.mengchuang.getPayResult('succeed');
|
|
|
|
|
// }else{
|
|
|
|
|
window.location.href = '/mobile.php?s=/User/index.html';
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
$("#back_error").click(function() {
|
|
|
|
|
|
|
|
|
|
window.location.href = '/mobile.php?s=/User/index.html';
|
|
|
|
|
/* var orderno=$('.orderno').val();
|
|
|
|
|
var u = navigator.userAgent;
|
|
|
|
|
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
|
|
|
|
@ -171,22 +162,22 @@ $("#back_error").click(function() {
|
|
|
|
|
}catch(err){
|
|
|
|
|
|
|
|
|
|
} */
|
|
|
|
|
var Scheme=$('.Scheme').val();
|
|
|
|
|
var orderno=$('.orderno').val();
|
|
|
|
|
var u = navigator.userAgent;
|
|
|
|
|
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
|
|
|
|
|
if(isAndroid){
|
|
|
|
|
window.mengchuang.getPayResult('fail');
|
|
|
|
|
}else{
|
|
|
|
|
<if condition="get_wx_type() neq 1">
|
|
|
|
|
if (!Scheme)
|
|
|
|
|
;
|
|
|
|
|
else
|
|
|
|
|
window.location.href = Scheme+"://0&back";
|
|
|
|
|
<else/>
|
|
|
|
|
window. location.href = "mengchuang://showWapPayResult_btnType_?0&back";
|
|
|
|
|
</if>
|
|
|
|
|
}
|
|
|
|
|
// var Scheme=$('.Scheme').val();
|
|
|
|
|
// var orderno=$('.orderno').val();
|
|
|
|
|
// var u = navigator.userAgent;
|
|
|
|
|
// var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
|
|
|
|
|
// if(isAndroid){
|
|
|
|
|
// window.mengchuang.getPayResult('fail');
|
|
|
|
|
// }else{
|
|
|
|
|
// <if condition="get_wx_type() neq 1">
|
|
|
|
|
// if (!Scheme)
|
|
|
|
|
// ;
|
|
|
|
|
// else
|
|
|
|
|
// window.location.href = Scheme+"://0&back";
|
|
|
|
|
// <else/>
|
|
|
|
|
// window. location.href = "mengchuang://showWapPayResult_btnType_?0&back";
|
|
|
|
|
// </if>
|
|
|
|
|
// }
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|