perf: 部分优化

This commit is contained in:
wangdan-fit2cloud 2024-05-28 16:58:12 +08:00
parent 916e5a949d
commit 23b9cac75f
2 changed files with 13 additions and 3 deletions

View File

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

View File

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