元素 点击 进入新页面 为元素加上click事件 事件内部: window.location.href="*****.html"; //当前页打开; window.open("http://www.csdn.net/"); //新标签页打开