click(){
if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
// ios
window.location = 'https://........'
} else if (/(Android)/i.test(navigator.userAgent)) {
// android
window.location = 'https://......'
}
}
分享页面跳转判断IOS和Android跳转下载页面
最新推荐文章于 2023-06-14 17:12:54 发布