浏览代码

no message

Ryuiso 1 年之前
父节点
当前提交
b8a24fc35f
共有 4 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      app/components/chat.module.scss
  2. 1 1
      next.config.mjs
  3. 0 0
      public/bg_d.jpg
  4. 0 0
      public/bg_w.jpg

+ 1 - 1
app/components/chat.module.scss

@@ -302,7 +302,7 @@
   padding-bottom: 40px;
   position: relative;
   overscroll-behavior: none;
-  background-image: url("../assets/bg_d.jpg");
+  background-image: url("/bg_d.jpg");
   background-size: cover; /* 使背景图片按比例填充容器 */
   background-position: center; /* 居中显示背景图片 */
   background-repeat: no-repeat; /* 避免重复 */

+ 1 - 1
next.config.mjs

@@ -21,7 +21,7 @@ const nextConfig = {
     config.resolve.fallback = {
       child_process: false,
     };
-
+    
     return config;
   },
   output: mode,

+ 0 - 0
app/assets/bg_d.jpg → public/bg_d.jpg


+ 0 - 0
app/assets/bg_w.jpg → public/bg_w.jpg