在index文件上加上一句代码,话不多说上代码:
<script>
if (/Android|webOS| iPhone | iPad | iPod |BlackBerry|opera mini|opera
mobile|appleWebkit.*mobile|mobile/i.test(
navigator.userAgent)) {
window.location.href = "你的url地址";
}
在index文件上加上一句代码,话不多说上代码:
<script>
if (/Android|webOS| iPhone | iPad | iPod |BlackBerry|opera mini|opera
mobile|appleWebkit.*mobile|mobile/i.test(
navigator.userAgent)) {
window.location.href = "你的url地址";
}