Commit b4717592 by liangjianmin

feat(approve): add skeleton loading and pagination to approval list

- Add skeleton card component with loading animation for initial page load
- Implement independent pagination for pending and done tabs with page tracking
- Add loadMore functionality with infinite scroll on page bottom reach
- Integrate u-loadmore component to display pagination status
- Refactor list rendering with conditional skeleton display and template wrapper
- Add skeleton-card styling with consistent card appearance and shadow
- Update getData method to support paginated API requests with page and limit parameters
- Add resetAndLoad method to reset pagination when switching tabs
- Improve UX by showing loading state during initial data fetch
parent 69e83bda
......@@ -33,6 +33,14 @@
.list-wrap {
padding: 0 28rpx;
.skeleton-card {
background: #ffffff;
border-radius: 16rpx;
margin-bottom: 24rpx;
padding: 28rpx;
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
}
}
.approve-card {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment