|
@@ -299,7 +299,7 @@
|
|
|
<div class="search-toggles" :class="{ 'compact': isCompact }">
|
|
|
|
|
|
<div class="left_item" style="display: flex;">
|
|
|
- <div class="search-toggle-item">
|
|
|
+ <div class="search-toggle-item" style="width:33%;">
|
|
|
<div class="toggle-content">
|
|
|
<GlobalOutlined />
|
|
|
<span class="toggle-text" >互联网</span><!-- v-show="!isCompact" -->
|
|
@@ -323,7 +323,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="search-toggle-item">
|
|
|
+ <div class="search-toggle-item" style="width:33%;">
|
|
|
<div class="toggle-content">
|
|
|
<DatabaseOutlined />
|
|
|
<span class="toggle-text" >知识库</span><!-- v-show="!isCompact" -->
|
|
@@ -344,10 +344,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="search-toggle-item">
|
|
|
+ <div class="search-toggle-item" style="width:33%;">
|
|
|
<div class="toggle-content">
|
|
|
<DatabaseOutlined />
|
|
|
- <span class="toggle-text" >推理模式</span><!-- v-show="!isCompact" -->
|
|
|
+ <span class="toggle-text" >智能体</span><!-- v-show="!isCompact" -->
|
|
|
<div class="toggle-switch">
|
|
|
<input
|
|
|
type="checkbox"
|
|
@@ -874,7 +874,7 @@ const isKnowledgeLoading = ref(false);
|
|
|
const formatted_data = ref('')
|
|
|
|
|
|
|
|
|
-// 推理模式
|
|
|
+// 智能体
|
|
|
const inferenceModel = ref(false);
|
|
|
|
|
|
// 检测设备类型
|
|
@@ -1931,12 +1931,12 @@ const updateCollapsedState = () => {
|
|
|
(activeTab.value === 'preview' && attachedFiles.value.length > 0)
|
|
|
)); */
|
|
|
});
|
|
|
- /* // 推理模式
|
|
|
+ /* // 智能体
|
|
|
const handleInferenceModel = () => {
|
|
|
inferenceModel.value = !inferenceModel.value;
|
|
|
}; */
|
|
|
watch(inferenceModel, (newValue) => {
|
|
|
- console.log('推理模式状态:', newValue);
|
|
|
+ console.log('智能体状态:', newValue);
|
|
|
if (newValue) {
|
|
|
// 打开右侧窗口
|
|
|
rightMenuWidth.value = 450;
|
|
@@ -4334,9 +4334,9 @@ button,
|
|
|
background: var(--primary-bg);
|
|
|
color: var(--primary-text);
|
|
|
border-radius: 6px;
|
|
|
- padding: 6px 12px;
|
|
|
+ padding: 6px;
|
|
|
transition: all 0.3s;
|
|
|
- width: 140px;
|
|
|
+/* width: 140px; */
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
width: auto;
|
|
@@ -4731,7 +4731,7 @@ button,
|
|
|
transition: all 0.3s;
|
|
|
outline: none;
|
|
|
margin-left: auto;
|
|
|
- min-width: 80px;
|
|
|
+ width:100%;
|
|
|
|
|
|
&:hover {
|
|
|
border-color: #1677ff;
|
|
@@ -4756,7 +4756,7 @@ button,
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
.model-select {
|
|
|
- width: 80px;
|
|
|
+ /* width: 80px; */
|
|
|
font-size: 12px;
|
|
|
padding: 2px 4px;
|
|
|
}
|