获取分页

var getUrlParameter = function getURLParameter(name, url) {
    // Create a URL object from the url string
    var urlObj = new URL(url);
    // Get the search parameters object
    var params = urlObj.searchParams;
    // Get the value of the name parameter
    return params.get(name);
  }
$link = $this.attr("href");
$paged = getUrlParameter("teams_paged", $link);