docs: private void calcNavigatepageNums() {
          //当总页数小于或等于导航页码数时
          if (pages <= navigatePages) {
              navigatepageNums = new int[pages];
              for (int i = 0; i < pages; i++) {
                  navigatepageNums[i] = i + 1;
              }
          } else { //当总页数大于导航页码数时
              navigatepageNums = new int[navigatePages];
              int startNum = pageNum - navigatePages / 2;
              int endNum = pageNum + navigatePages / 2;
  
              if (startNum < 1) {
                  startNum = 1;
                  //(最前navigatePages页
                  for (int i = 0; i < navigatePages; i++) {
                      navigatepageNums[i] = startNum++;
                  }
              } else if (endNum > pages) {
                  endNum = pages;
                  //最后navigatePages页
                  for (int i = navigatePages - 1; i >= 0; i--) {
                      navigatepageNums[i] = endNum--;
                  }
              } else {
                  //所有中间页
                  for (int i = 0; i < navigatePages; i++) {
                      navigatepageNums[i] = startNum++;
                  }
              }
          }
      }