warning-box")
        }
      }
    });
  }

  // 分页条初始化
  function page(currentPage, totalPages){
    if(totalPages < 1) totalPages = 1;
    $("#page").bootstrapPaginator({
      bootstrapMajorVersion: 3, //版本
      currentPage: currentPage, //当前页数
      numberOfPages: 20, //每次显示页数
      totalPages: totalPages, //总页数
      shouldShowPage: true, //是否显示该按钮
      useBootstrapTooltip: false,
      onPageClicked: function (event, originalEvent, type, page)