let type = uni.getSystemInfoSync().platform
//判断是苹果还是安卓
if (type === 'android') {
//只需要更换对应app的Package和Scheme
//Package 包名 Scheme app的打开路径
window.location.href =`intent://#Intent;package=${Package};scheme=${Scheme};end`
} else if (uni.getSystemInfoSync().platform === 'ios') {
plus.runtime.openURL(scheme);
}
07-16
4442
06-11
585
09-15