|
|
@ -78,7 +78,7 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-else v-for="history in categoryHistory" :key="history.name"> |
|
|
|
<div class="categoryName"> |
|
|
|
<div class="categoryName" v-if="history.list.length!=0"> |
|
|
|
{{ history.name }} |
|
|
|
</div> |
|
|
|
<div |
|
|
@ -241,7 +241,7 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-else v-for="history in categoryHistory" :key="history.name"> |
|
|
|
<div class="categoryName"> |
|
|
|
<div class="categoryName" v-if="history.list.length!=0"> |
|
|
|
{{ history.name }} |
|
|
|
</div> |
|
|
|
<div |
|
|
@ -667,6 +667,15 @@ const selectRecord = async (record) => { |
|
|
|
}); |
|
|
|
|
|
|
|
if (result && result.data) { |
|
|
|
if (props.isMobile) { |
|
|
|
// 如果手机,收起历史记录 |
|
|
|
isCollapsed.value = true; |
|
|
|
if (props.currentType == "AIchat") { |
|
|
|
chatStore.aiChatCall = false; |
|
|
|
} else if (props.currentType == "AiEmotion") { |
|
|
|
chatStore.aiEmotionCall = false; |
|
|
|
} |
|
|
|
} |
|
|
|
historyData.value = result.data; |
|
|
|
chatStore.dbqbClickRecord = historyData.value; |
|
|
|
// 构造股票数据对象,保持与现有结构一致 |
|
|
@ -908,6 +917,7 @@ onMounted(() => { |
|
|
|
width: 100%; |
|
|
|
/* padding: 20px; */ |
|
|
|
overflow: hidden; |
|
|
|
min-height: 0; |
|
|
|
} |
|
|
|
|
|
|
|
.head-container { |
|
|
|