20161021 1、带参数打开新窗口 $window.open("/bdfence/bdfence-division/bdfence.html?vehicleId="+ id ); 2、获取参数 var afterUrl = window.location.search.substring(1);(问号以后的字符串) var afterEqual = afterUrl.substring(afterUrl.indexof('=')+1).toUpperCase();(等号以后的字符串,及你所要的参数)