Application scenario: In the paging list, we need to obtain the current page number to determine when it is on the first page, so that you can customize some effects before paging has begun, please accept the current page number acquisition method below.
Find Core / library / think / paginator / driver / mobile.php This may be the paging method on the mobile side
Find $ pageArr = array (); and add a new method below
if (in_array('current', $listitemArr)) {
array_push($pageArr, $this->currentPage);
}
Foreground call
{eyou:pagelist listitem="current"}