Overview of z-paging
mainz-paging is a high-performance paging component for uni-app that simplifies implementing pull-to-refresh and load-more functionality. It is designed to be low-coupling and low-intrusion, meaning it manages pagination logic internally so you don't have to define pagination variables in your component's data or handle complex logic in your page code.
Key Features:
- Simple Configuration: Complete pull-to-refresh and load-more functionality can be achieved in just two steps: binding a network request method and binding the pagination result array.
- High Performance: Uses
wxs+renderjson platforms like App-Vue, H5, WeChat Mini Program, and QQ Mini Program to implement pull-to-refresh in the view layer. It also supports virtual lists for smooth rendering of massive datasets (up to millions of rows). - Flexible Layouts: Supports custom pull-to-refresh/load-more effects, full-screen layouts, or being placed inside arbitrary containers. It also supports internal
scroll-viewscrolling and page scrolling. - Rich Functionality: Includes support for internationalization, automatic empty data state management, theme switching, local pagination, chat-style pagination (no flicker), sticky headers, and 'pull-to-enter second floor' effects.
- Cross-Platform: Compatible with Vue & nvue, Vue 2 & Vue 3, JS & TS, and supports H5, App, HarmonyOS Next, and various mini-programs.