<a href="my_order.html?1"> var qs = window.location.search.substring(1);//获得了当前链接的中?号后的参数 转载于:https://www.cnblogs.com/MszBlog/p/6704185.html