build(assets): 替换更新项目logo与站点图标

1. 新增并替换多份logo、站点图标资源文件
2. 配置别名简化logo资源导入路径
3. 更新图标引用路径与后端租户配置
This commit is contained in:
zhangtao
2026-05-29 00:36:36 +08:00
parent f44a7163ef
commit e6c9e52e5f
12 changed files with 8 additions and 4 deletions
@@ -25,7 +25,7 @@
}, },
{ {
"config_key": "tenant_favicon", "config_key": "tenant_favicon",
"config_value": "https://service.fastapiadmin.com/api/v1/static/image/favicon.png", "config_value": "https://service.fastapiadmin.com/api/v1/static/image/favicon.ico",
"config_type": "string", "config_type": "string",
"tenant_id": 1 "tenant_id": 1
}, },
Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 128 KiB

+1 -1
View File
@@ -9,7 +9,7 @@
name="keywords" name="keywords"
content="vue,element-plus,typescript,vue-element-admin,vue3-element-admin" content="vue,element-plus,typescript,vue-element-admin,vue3-element-admin"
/> />
<link rel="shortcut icon" type="image/x-icon" href="src/assets/fa_logo/favicon.png" /> <link rel="shortcut icon" type="image/x-icon" href="src/assets/fa_logo/favicon.ico" />
<style> <style>
/* 防止 Vue 加载前出现白屏:背景色与主题初始 class 同步 */ /* 防止 Vue 加载前出现白屏:背景色与主题初始 class 同步 */
Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

@@ -12,7 +12,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import defaultLogoUrl from "@icons/vite.svg"; import defaultLogoUrl from "@fa_logo/logo.png";
defineOptions({ name: "FaLogo" }); defineOptions({ name: "FaLogo" });
+3 -1
View File
@@ -25,7 +25,9 @@
"@stores/*": ["./src/store/*"], "@stores/*": ["./src/store/*"],
"@plugins": ["./src/plugins"], "@plugins": ["./src/plugins"],
"@styles": ["./src/styles"], "@styles": ["./src/styles"],
"@api/*": ["./src/api/*"] "@api/*": ["./src/api/*"],
"@fa_logo/*": ["./src/assets/fa_logo/*"],
"@fa_logo": ["./src/assets/fa_logo"],
} }
}, },
"include": [ "include": [
+2
View File
@@ -82,6 +82,8 @@ export default ({ mode }: { mode: string }) => {
"@plugins": resolvePath("src/plugins"), "@plugins": resolvePath("src/plugins"),
"@styles": resolvePath("src/styles"), "@styles": resolvePath("src/styles"),
"@api": resolvePath("src/api"), "@api": resolvePath("src/api"),
"@fa_logo": resolvePath("src/assets/fa_logo"),
"@fa_logo/*": resolvePath("src/assets/fa_logo/*"),
}, },
}, },
build: { build: {