vue中与安卓和IOS交互
var userAgent = navigator.userAgent.toLowerCase();
if(userAgent.match(/Android/i) == "android") {
window.jsObj.WebJs_HtmlWeiXinpay_APP("alipay_app", JSON.stringify(this.pay_info),this.jump_url);
}else{ //ios
window.webkit.messageHandlers.WebJs_HtmlWeiXinpay_APP.postMessage({"alipay_app":"alipay_app","pay_info":this.pay_info,"jump_url":this.jump_url});
}