perf: 部分优化

perf: 部分优化
This commit is contained in:
wangdan-fit2cloud 2024-05-28 16:59:39 +08:00 committed by GitHub
commit d907dd3ac5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 3 deletions

View File

@ -15,7 +15,9 @@
:chatId="currentChatId" :chatId="currentChatId"
@refresh="refresh" @refresh="refresh"
@scroll="handleScroll" @scroll="handleScroll"
></AiChat> class="AiChat-embed"
>
</AiChat>
</div> </div>
<el-button type="primary" link class="new-chat-button" @click="newChat"> <el-button type="primary" link class="new-chat-button" @click="newChat">
@ -225,7 +227,7 @@ onMounted(() => {
} }
.new-chat-button { .new-chat-button {
position: absolute; position: absolute;
bottom: 84px; bottom: 80px;
left: 18px; left: 18px;
z-index: 11; z-index: 11;
} }
@ -282,5 +284,13 @@ onMounted(() => {
max-width: var(--app-chat-width, 860px); max-width: var(--app-chat-width, 860px);
margin: 0 auto; margin: 0 auto;
} }
.AiChat-embed {
.ai-chat__operate {
padding-top: 38px;
}
.ai-chat__content {
padding-bottom: 104px
}
}
} }
</style> </style>

View File

@ -144,7 +144,7 @@
<el-input-number <el-input-number
v-model="cloneForm.top_number" v-model="cloneForm.top_number"
:min="1" :min="1"
:max="10" :max="100"
controls-position="right" controls-position="right"
class="w-full" class="w-full"
/> />