fix: 更新 API 地址与依赖项版本

* 将 API 地址从 `https://cfapi.searchgal.homes` 更新为 `https://cf.api.searchgal.homes`,确保一致性。
* 更新 `package.json` 中的依赖项版本,包括 `@eslint/js`、`@tailwindcss/vite`、`@types/node`、`@typescript-eslint`、`vite`、`vue` 等,提升项目稳定性和性能。
* 替换 `lazysizes` 为 `lozad.js` 以优化图片懒加载,提升用户体验。
* 更新文档,确保 API 地址和使用示例的一致性。
This commit is contained in:
AdingApkgg
2025-12-13 07:42:13 +08:00
parent 052f9c5ed9
commit 942f658648
26 changed files with 994 additions and 692 deletions

View File

@@ -48,5 +48,16 @@
img[loading="lazy"] {
transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Lozad.js 懒加载样式 */
.lozad {
opacity: 0;
transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.lozad-loaded,
.lozad[data-loaded="true"] {
opacity: 1;
}
}