mirror of
https://gitee.com/godoos/godoos.git
synced 2026-11-20 07:49:34 +08:00
Merge branch 'master' of https://gitee.com/godoos/godoos
This commit is contained in:
@@ -108,11 +108,9 @@
|
||||
@media screen and (max-width: 768px) {
|
||||
.chat-bot{
|
||||
.input-area{
|
||||
padding: 0;
|
||||
.file-btn{
|
||||
margin-left: vw(-20);
|
||||
}
|
||||
.websearch-btn{
|
||||
margin-left: vw(-5);
|
||||
margin-left: vw(-10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ import { ElScrollbar } from "element-plus";
|
||||
import { getSystemConfig } from "@/system/config";
|
||||
import { Vue3Lottie } from "vue3-lottie";
|
||||
import { file } from "jszip";
|
||||
import { isMobileDevice } from "@/util/device";
|
||||
const chatStore = useAiChatStore();
|
||||
const modelStore = useModelStore();
|
||||
const isPadding = ref(false); //是否发送中
|
||||
@@ -242,7 +243,7 @@ const uploadImage = async (event: any) => {
|
||||
</el-col>
|
||||
<el-col :span="17">
|
||||
<el-input v-model="userMessage" :placeholder="t('aichat.askme')" size="large" clearable
|
||||
@keydown="handleKeydown" autofocus class="ai-input-area" />
|
||||
@keydown="handleKeydown" :autofocus="isMobileDevice() ? false : true" class="ai-input-area" />
|
||||
</el-col>
|
||||
<el-col :span="2">
|
||||
<el-button v-if="!isPadding" @click="sendMessage" icon="Promotion" type="info" size="large" circle />
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -74,8 +74,34 @@
|
||||
text-align: right;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.container {
|
||||
flex-direction: column;
|
||||
}
|
||||
.nav {
|
||||
width: 25%;
|
||||
background-color: #f9f9f9;
|
||||
width: 100%;
|
||||
}
|
||||
.nav ul {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.nav li {
|
||||
flex: 1;
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
}
|
||||
.nav li.active {
|
||||
background-color: #fff;
|
||||
}
|
||||
.nav li.active:hover {
|
||||
background-color: #fff;
|
||||
}
|
||||
.nav li.active::after {
|
||||
background-color: #80bbe9;
|
||||
}
|
||||
.setting {
|
||||
margin-top: 20px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.setting-item:first-child {
|
||||
margin-top: 0px !important;
|
||||
|
||||
Reference in New Issue
Block a user