var u = navigator.userAgent, app = navigator.appVersion;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //android终端或者uc浏览器
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
if(isAndroid){
window.location.href = 'com.helowin.portal://view?memberBid=' + result.memberBid + '&targetPath=0&verified='+ verified;
}
if(isiOS){
window.webkit.messageHandlers.Share.postMessage({title: '测试分享的用户id', memberBid: result.memberBid, targetPath: 0,verified:verified});
}