//js中的location.href有很多种用法:
self.location.href="/url"; //当前页面打开URL页面
location.href="/url"; //当前页面打开URL页面
window.location.href="/url"; //当前页面打开URL页面,前三个用法相同。
this.location.href="/url"; //当前页面打开URL页面
parent.location.href="/url"; //在父页面打开新页面
top.location.href="/url"; //在顶层页面打开新页面