<script>
var count=3; //这里设置的是3秒
window.setInterval(go,1000);
function go(){
count--;
if(count==0) window.location.href="$!url";
}
</script>