From 2d6011abf638ba9c02c35c3009b7475f179b9604 Mon Sep 17 00:00:00 2001 From: kuekhaoyang Date: Sat, 29 Nov 2025 22:45:31 +0800 Subject: [PATCH] feat: enhance loading and empty states with new UI elements and remove explicit rounding from video card images. --- components/adult/AdultContentGrid.tsx | 49 +++++++++++++++++++++------ 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/components/adult/AdultContentGrid.tsx b/components/adult/AdultContentGrid.tsx index 4200437..517972c 100644 --- a/components/adult/AdultContentGrid.tsx +++ b/components/adult/AdultContentGrid.tsx @@ -45,14 +45,14 @@ export function AdultContentGrid({ }} > -
+
{video.vod_pic ? ( {video.vod_name} @@ -87,25 +87,54 @@ export function AdultContentGrid({ {/* Prefetch Trigger */} {hasMore && !loading &&
} + {/* Loading Indicator */} {loading && ( -
-
+
+
+
+

加载中...

+
)} {/* Intersection Observer Target */} {hasMore && !loading &&
} + {/* No More Content */} {!loading && !hasMore && videos.length > 0 && ( -

- 没有更多内容了 -

+
+

没有更多内容了

+
)} + {/* Empty State */} {!loading && videos.length === 0 && ( -

- 暂无内容 -

+
+
+ + + + + + + + + + +
+

暂无内容

+
)}
);