直接在当前页面跳转用location.href="www.baidu.com";
打开新页面window.open("www.baidu.com")
if (xxx.indexOf("送") != -1) { location.href="www.baidu.com";}
如有问题请指正