[html]js打开指定页面 1.在当前窗口打开 location.href = "http://www.baidu.com"; 2.可以设置开发方式 window.open("http://www.baidu.com" "_blank");