Browse Source

情绪大模型温度计部分没有生效;点击清空后所有记录清空。

songjie/feature-20250628160649-上线前优化
宋杰 4 days ago
parent
commit
c51201e308
  1. 44
      src/views/AiEmotion.vue
  2. 2
      src/views/components/marketTemperature.vue

44
src/views/AiEmotion.vue

@ -318,6 +318,50 @@ const parsedConclusion = computed(() => {
//
watch(() => emotionStore.stockList, (newStockList) => {
if (newStockList.length === 0) {
//
isPageLoaded.value = false;
//
stopAudio();
// URL
audioUrl.value = '';
emotionAudioStore.resetAudioState();
//
clearTypewriterTimers();
//
hasTriggeredAudio.value = false;
hasTriggeredTypewriter.value = false;
stockTypewriterShown.value.clear();
stockAudioPlayed.value.clear();
//
displayedTexts.value = {
one1: '',
one2: '',
two: '',
three: '',
four: '',
disclaimer: ''
};
displayedTitles.value = {
one: '',
two: '',
three: '',
four: ''
};
//
moduleVisibility.value = {
one: false,
two: false,
three: false,
four: false,
disclaimer: false
};
console.log('股票列表已清空,页面数据已隐藏');
}
}, { deep: true });
//
watch(currentStock, (newStock) => {
if (newStock && newStock.apiData) {

2
src/views/components/marketTemperature.vue

@ -367,7 +367,7 @@ function initChart(raw, klineDataRawValue, WDRLValue) {
textStyle: {
color: 'white'
},
bottom: "5%", //
bottom: "0%", //
},
{
type: 'inside',

Loading…
Cancel
Save