<script type="text/javascript">
//document.getElementById("index").className = "current";
$("#index").addClass("current");
</script>
if(/iphone|ipad|ipod/i.test(navigator.userAgent))
{
$("#footer").css({"position":"static","margin-top":"-40px"});
};
</script>
转载于:https://blog.51cto.com/abin1314/1607040