This commit is contained in:
toom1996
2026-09-22 21:39:45 +08:00
parent 9473f00c98
commit a8fcafac10
15 changed files with 816 additions and 716 deletions

View File

@ -10,7 +10,7 @@ import { getI18n } from "@/lib/i18n"
interface Props {
/** SSR 首屏图片(前 PREVIEW_LIMIT 张),需带 thumb 供左栏缩略图条使用 */
images: { thumb: string }[]
/** 缩略图比例:走秀 look 为 2/3,街拍为 3/4 */
/** 缩略图比例。后端素材统一 2:3(说明见 DetailGalleryView 的 aspect prop),默认值即可 */
aspect?: "2/3" | "3/4"
}
const { images, aspect = "2/3" } = Astro.props