diff --git a/web/index.html b/web/index.html index 50b7d28..4f56dcd 100644 --- a/web/index.html +++ b/web/index.html @@ -4,6 +4,8 @@ 宇恒一号 - 星际探索版 + + diff --git a/web/public/README.md b/web/public/README.md new file mode 100644 index 0000000..2064d77 --- /dev/null +++ b/web/public/README.md @@ -0,0 +1,13 @@ +# `public/` 静态资源目录 + +[Vite 约定](https://cn.vitejs.dev/guide/assets.html#the-public-directory):此目录下的文件会**原样**复制到构建后的站点根目录(`dist/`),访问路径为 **`/<文件名>`**。 + +## 当前文件 + +| 文件 | 用途 | +|------|------| +| `logo.png` | **标签页图标**(`index.html` 的 `rel="icon"` / `apple-touch-icon`)+ **首页与宣传册导航**(`Home.vue`、`BrochurePage.vue`) | + +更新品牌时替换本目录下的 `logo.png` 后重新构建即可(可与 `promotion/logo.png` 保持同图或分别维护)。 + +**注意**:`public` 里的路径不要用 `src/assets` 那种写法;引用时始终用**根路径**,例如 `/logo.png`。 diff --git a/web/public/logo.png b/web/public/logo.png new file mode 100644 index 0000000..c735ba1 Binary files /dev/null and b/web/public/logo.png differ diff --git a/web/src/views/BrochurePage.vue b/web/src/views/BrochurePage.vue index 299accc..e9a6c31 100644 --- a/web/src/views/BrochurePage.vue +++ b/web/src/views/BrochurePage.vue @@ -2,7 +2,10 @@
- YUHENG ONE + + + YUHENG ONE +
首页 · 产品视频 首页 · 联系我们 @@ -275,13 +278,26 @@ watch( border-bottom: 1px solid rgba(0, 212, 255, 0.15); } .logo-link { + display: inline-flex; + align-items: center; + gap: 10px; + text-decoration: none; +} +.logo-link-img { + height: 36px; + width: auto; + max-height: 36px; + object-fit: contain; + flex-shrink: 0; +} +.logo-link-text { font-family: 'Exo 2', sans-serif; font-weight: 900; letter-spacing: 3px; background: linear-gradient(90deg, #00d4ff, #fff, #ff2d95); -webkit-background-clip: text; -webkit-text-fill-color: transparent; - text-decoration: none; + background-clip: text; } .back-home { color: rgba(255, 255, 255, 0.65); diff --git a/web/src/views/Home.vue b/web/src/views/Home.vue index c570bdd..2a1f3fd 100644 --- a/web/src/views/Home.vue +++ b/web/src/views/Home.vue @@ -7,7 +7,10 @@