//显示模式 普通false 带跳转ture
if (!empty($this->config['redirect'])){
$html = $pageStr;
}else{
//传递参数
if($this->totalPages > 1){
$redirect = " 到第 <form method='get' action=''><input type='text' size='3' maxlength='3' value='" . $this->nowPage ."'/> 页 <input type='submit' value='确定' />";
if ($params){
foreach($params as $k => $v){
$string .= "<input type='hidden' value='" . $v . "'/>";
}
$redirect = $redirect . $string . '</form></div>';
}else{
$redirect = $redirect . '</form></div>';
}
}
//生成Html字符串
$html = $pageStr . $redirect;
}
return $html;
}
}