Component({ options: { multipleSlots: true }, properties: { variant: { type: String, value: '' }, // '' | 'soft' | 'in' | 'gradient' padded: { type: Boolean, value: true }, customStyle: { type: String, value: '' }, // 入场交错序号(0 起)。组件无从得知自己是页面里的第几张卡,:nth-child 在组件 // 内部又永远命中第 1 个,所以延迟只能由页面显式传入。>3 的一律钳到 3,避免 // 卡片多的页面(如设置页 7 张)最后一张要等 0.65s 才出现。 index: { type: Number, value: 0 } } })