diff --git a/src/components/CollectionCard.astro b/src/components/CollectionCard.astro new file mode 100644 index 0000000..9243cf0 --- /dev/null +++ b/src/components/CollectionCard.astro @@ -0,0 +1,44 @@ +--- +/** + * 列表卡片(走秀 / 街拍通用)。 + * + * 标记沿用 look-grid.css 的 .showscard-* 系列——与 .snapscard-* 是成对定义、样式完全 + * 相同的两套类名(见 look-grid.css 顶部注释),故统一用 showscard 不影响街拍视觉。 + * + * 组件本身不接收「数据」prop:它被放在父级