feat: logo

This commit is contained in:
wangdan-fit2cloud 2023-12-18 14:42:13 +08:00
parent a82d282255
commit abe916ea4c
6 changed files with 9 additions and 31 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -1,19 +0,0 @@
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17.5 2.5H12.5V6.25H13.75V8.75H6.875C5.49429 8.75 4.375 9.86929 4.375 11.25V25C4.375 26.3807 5.49429 27.5 6.875 27.5H23.125C24.5057 27.5 25.625 26.3807 25.625 25V11.25C25.625 9.86929 24.5057 8.75 23.125 8.75H16.25V6.25H17.5V2.5ZM8.75 16.25H12.5V20H8.75V16.25ZM21.25 16.25V20H17.5V16.25H21.25Z" fill="url(#paint0_linear_1514_13484)"/>
<path d="M2.5 15H0V21.25H2.5V15Z" fill="url(#paint1_linear_1514_13484)"/>
<path d="M27.5 15H30V21.25H27.5V15Z" fill="url(#paint2_linear_1514_13484)"/>
<defs>
<linearGradient id="paint0_linear_1514_13484" x1="15" y1="2.5" x2="15" y2="27.5" gradientUnits="userSpaceOnUse">
<stop stop-color="#3370FF"/>
<stop offset="1" stop-color="#7F3BF5"/>
</linearGradient>
<linearGradient id="paint1_linear_1514_13484" x1="15" y1="2.5" x2="15" y2="27.5" gradientUnits="userSpaceOnUse">
<stop stop-color="#3370FF"/>
<stop offset="1" stop-color="#7F3BF5"/>
</linearGradient>
<linearGradient id="paint2_linear_1514_13484" x1="15" y1="2.5" x2="15" y2="27.5" gradientUnits="userSpaceOnUse">
<stop stop-color="#3370FF"/>
<stop offset="1" stop-color="#7F3BF5"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -32,11 +32,10 @@ defineProps({
.title { .title {
font-size: 32px; font-size: 32px;
.logo { .logo {
background-image: url('@/assets/logo.svg'); background-image: url('@/assets/logo.png');
background-size: 100% 100%; background-size: 100% 100%;
width: 45px; width: 45px;
height: 45px; height: 45px;
background-position: center -2px;
} }
} }
.sub-title { .sub-title {

View File

@ -50,11 +50,10 @@ defineExpose({ open })
font-size: 24px; font-size: 24px;
} }
.logo { .logo {
background-image: url('@/assets/logo.svg'); background-image: url('@/assets/logo.png');
background-size: 100% 100%; background-size: 100% 100%;
width: 32px; width: 35px;
height: 32px; height: 35px;
background-position: center -2px;
} }
.about-ui { .about-ui {
width: 200px; width: 200px;

View File

@ -28,11 +28,10 @@ const defaultTitle = import.meta.env.VITE_APP_TITLE
.app-title-container { .app-title-container {
margin-right: 45px; margin-right: 45px;
.app-title-icon { .app-title-icon {
background-image: url('@/assets/logo.svg'); background-image: url('@/assets/logo.png');
background-size: 100% 100%; background-size: 100% 100%;
width: 30px; width: 35px;
height: 30px; height: 35px;
background-position: center -1px;
} }
.app-title-text { .app-title-text {

View File

@ -9,7 +9,7 @@
> >
<el-form-item label="知识库名称" prop="name"> <el-form-item label="知识库名称" prop="name">
<el-input <el-input
v-model.trim="form.name" v-model="form.name"
placeholder="请输入知识库名称" placeholder="请输入知识库名称"
maxlength="64" maxlength="64"
show-word-limit show-word-limit
@ -17,7 +17,7 @@
</el-form-item> </el-form-item>
<el-form-item label="知识库描述" prop="desc"> <el-form-item label="知识库描述" prop="desc">
<el-input <el-input
v-model.trim="form.desc" v-model="form.desc"
type="textarea" type="textarea"
placeholder="描述知识库的内容详尽的描述将帮助AI能深入理解该知识库的内容能更准确的检索到内容提高该知识库的命中率。" placeholder="描述知识库的内容详尽的描述将帮助AI能深入理解该知识库的内容能更准确的检索到内容提高该知识库的命中率。"
maxlength="500" maxlength="500"