修复图片路径问题:删除 /web/BlackFruit-web/ 前缀
All checks were successful
continuous-integration/drone/push Build is passing

- 批量删除所有文件中的 /web/BlackFruit-web/ 前缀
- 将相对路径改为绝对路径(以 / 开头)
- 修改范围:
  - /assets/ 资源路径
  - /css/ 样式文件路径
  - /js/ 脚本文件路径
  - /common/ 公共资源路径
  - /vender/ 第三方库路径
- 解决部署后所有静态资源 404 的问题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
yiqiu
2025-12-25 15:40:46 +08:00
parent 0291ac38ad
commit 60ebfede6c
48 changed files with 458 additions and 458 deletions

View File

@@ -227,12 +227,12 @@ $(function () {
setCommData();
}
// 首页渲染
// $("#header").load("/web/BlackFruit-web/public/header.html", function () {
// $("#header").load("public/header.html", function () {
// initHeader();
// });
initHeader();
// 底部渲染
// $("#footer").load("/web/BlackFruit-web/public/footer.html", function () {
// $("#footer").load("public/footer.html", function () {
// initFooter();
// });
initFooter();