style: 设置前端logo样式
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VITE_WEB_TITLE = chat-template
|
VITE_WEB_TITLE = 意心AI
|
||||||
|
|
||||||
# 页面英文标题
|
# 页面英文标题
|
||||||
VITE_WEB_TITLE_EN = chat-template
|
VITE_WEB_TITLE_EN = 意心AI
|
||||||
|
|
||||||
# 本地环境配置
|
# 本地环境配置
|
||||||
VITE_WEB_ENV = 'development'
|
VITE_WEB_ENV = 'development'
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VITE_WEB_TITLE = chat-template
|
VITE_WEB_TITLE = 意心AI
|
||||||
|
|
||||||
# 页面英文标题
|
# 页面英文标题
|
||||||
VITE_WEB_TITLE_EN = chat-template
|
VITE_WEB_TITLE_EN = 意心AI
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
VITE_WEB_ENV = 'production'
|
VITE_WEB_ENV = 'production'
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 9.0 KiB |
@@ -7,15 +7,16 @@ import { useUserStore } from '@/stores';
|
|||||||
const greeting = useTimeGreeting();
|
const greeting = useTimeGreeting();
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
|
|
||||||
const username = computed(() => userStore.userInfo?.username ?? '我是 Element Plus X');
|
const username = computed(() => userStore.userInfo?.username ?? '意心Ai,一心一意,只为打造更良心的AI平台');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="welcome-text w-full flex flex-wrap items-center justify-center text-center text-lg font-semibold mb-32px mt-12px font-size-32px line-height-32px"
|
class="welcome-text w-full flex flex-wrap items-center justify-center text-center text-lg font-semibold mb-32px mt-12px font-size-32px line-height-32px"
|
||||||
>
|
>
|
||||||
|
<!-- :content="`${greeting}好,${username}`"-->
|
||||||
<Typewriter
|
<Typewriter
|
||||||
:content="`${greeting}好,${username}`"
|
:content="`${username}`"
|
||||||
:typing="{
|
:typing="{
|
||||||
step: 2,
|
step: 2,
|
||||||
interval: 45,
|
interval: 45,
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ function handleMenuCommand(command: string, item: ConversationItem<ChatSessionVo
|
|||||||
<div v-if="!designStore.isCollapse" class="aside-header">
|
<div v-if="!designStore.isCollapse" class="aside-header">
|
||||||
<div class="flex items-center gap-8px hover:cursor-pointer" @click="handleCreatChat">
|
<div class="flex items-center gap-8px hover:cursor-pointer" @click="handleCreatChat">
|
||||||
<el-image :src="logo" alt="logo" fit="cover" class="logo-img" />
|
<el-image :src="logo" alt="logo" fit="cover" class="logo-img" />
|
||||||
<span class="logo-text max-w-150px text-overflow">Element Plus X</span>
|
<span class="logo-text max-w-150px text-overflow">意心AI</span>
|
||||||
</div>
|
</div>
|
||||||
<Collapse class="ml-auto" />
|
<Collapse class="ml-auto" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user