refactor(components): 优化卡片组件并更新运行时配置

- 移除多个卡片组件的懒加载属性以提升首屏性能
- 使用ImagePlaceholder组件统一骨架屏实现
- 修复DemoCard组件中的拼写错误
- 标准化runtime.ts中的JSON格式
- 更新package.json中的包管理器配置
This commit is contained in:
SongPro
2025-07-03 23:09:05 +08:00
parent b30589628a
commit 7f22bc87b5
6 changed files with 9 additions and 11 deletions

View File

@@ -134,7 +134,6 @@ const AggregateCard: React.FC<AggregateCardProps> = ({
src={first.poster}
alt={first.title}
fill
loading='lazy'
className={`object-cover transition-transform duration-500 cubic-bezier(0.4,0,0.2,1) group-hover:scale-110
${
isLoaded