diff --git a/vite-tailwindcss/src/components/PhotoGallery.vue b/vite-tailwindcss/src/components/PhotoGallery.vue
index 7bee8a1..c18d7f8 100644
--- a/vite-tailwindcss/src/components/PhotoGallery.vue
+++ b/vite-tailwindcss/src/components/PhotoGallery.vue
@@ -40,8 +40,9 @@
-
![]()
+
@@ -137,6 +138,34 @@ function polaroidTransform(i) {
const s = polaroidShift[i % polaroidShift.length]
return `rotate(${a}deg) translateY(${s}px)`
}
+
+
+function getRevealConfig(imgIdx) {
+ const row = Math.floor(imgIdx / 3)
+ const col = imgIdx % 3
+
+ // 正中心
+ if (imgIdx === 4) {
+ return {
+ variant: 'blur',
+ delay: 200,
+ }
+ }
+
+ // 中间列:上 → down,下 → up
+ if (col === 1) {
+ return {
+ variant: row === 0 ? 'down' : 'up',
+ delay: 80 + imgIdx * 50,
+ }
+ }
+
+ // 左右列
+ return {
+ variant: col === 0 ? 'left' : 'right',
+ delay: 80 + ((imgIdx +80) * 12) ,
+ }
+}