3 Commits

  1. 48
      src/views/deepNine.vue

48
src/views/deepNine.vue

@ -41,6 +41,10 @@ import logo2 from "@/assets/img/AIchat/开启无限财富.png";
import getCountAll from "../assets/img/homePage/get-count-all.png"; import getCountAll from "../assets/img/homePage/get-count-all.png";
import voice from "../assets/img/homePage/tail/voice.png"; import voice from "../assets/img/homePage/tail/voice.png";
import voiceNoActive from "../assets/img/homePage/tail/voice-no-active.png"; import voiceNoActive from "../assets/img/homePage/tail/voice-no-active.png";
import { useChatStore } from "../store/chat";
const homepageChatStore = useChatStore();
const chatStore = useDeepNineStore(); const chatStore = useDeepNineStore();
const audioStore = useDeepNineAudioStore(); const audioStore = useDeepNineAudioStore();
const dataStore = useDataStore(); const dataStore = useDataStore();
@ -1515,7 +1519,10 @@ watch(
audioPreloadStatus.three.url audioPreloadStatus.three.url
); );
if (chatStore.currentUserIndex == chatStore.inputUserIndex) { if (chatStore.currentUserIndex == chatStore.inputUserIndex) {
addToAudioQueue(audioPreloadStatus.three.url, "API2-第一个");
addToAudioQueue(
audioPreloadStatus.three.url,
"API2-第一个"
);
} else { } else {
chatStore.messages[ chatStore.messages[
chatStore.inputUserIndex chatStore.inputUserIndex
@ -1557,23 +1564,25 @@ watch(
"", "",
50 50
); );
const ac31 = result22.data.dXTSC;
const ac32 = result22.data.dXTSC2;
const ac33 = result22.data.zJQSSC1;
const ac3 = `<p>${result23.data.dXTSC}</p><p>${result23.data.dXTSC2}</p><p>${result23.data.zJQSSC1}</p>`;
const ac3Arr=[];
if(ac31!=""){
ac3Arr.push("")
ac3Arr.push(`<p>${ac31}</p>`);
}
if(ac32!=""){
ac3Arr.push("")
const ac31 = `<p style="margin:0;color:#FFD700;font-weight:bold;display:flex;justify-content:center;font-size:22px">【资金异动信号】</p><p>`;
const ac32 = result22.data.DXTSC;
const ac33 = result22.data.DXTSC2;
const ac34 = `<p style="margin:0;color:#FFD700;font-weight:bold;display:flex;justify-content:center;font-size:22px">【资金趋势导航】</p><p>`;
const ac35 = result22.data.ZJQSSC1;
const ac3 = `<p>${result23.data.DXTSC}</p><p>${result23.data.DXTSC2}</p><p>${result23.data.ZJQSSC1}</p>`;
const ac3Arr = [];
ac3Arr.push(ac31);
if (ac32 != "") {
ac3Arr.push(`<p>${ac32}</p>`); ac3Arr.push(`<p>${ac32}</p>`);
} }
if(ac33!=""){
ac3Arr.push("")
if (ac33 != "") {
ac3Arr.push("");
ac3Arr.push(`<p>${ac33}</p>`); ac3Arr.push(`<p>${ac33}</p>`);
} }
ac3Arr.push(ac34);
if (ac35 != "") {
ac3Arr.push(`<p>${ac35}</p>`);
}
// //
const aiMessage3 = reactive({ const aiMessage3 = reactive({
sender: "ai", sender: "ai",
@ -1621,10 +1630,7 @@ watch(
audioPreloadStatus.five.url audioPreloadStatus.five.url
); );
if (chatStore.currentUserIndex == chatStore.inputUserIndex) { if (chatStore.currentUserIndex == chatStore.inputUserIndex) {
addToAudioQueue(
audioPreloadStatus.five.url,
"API3-第一个"
);
addToAudioQueue(audioPreloadStatus.five.url, "API3-第一个");
} else { } else {
chatStore.messages[ chatStore.messages[
chatStore.inputUserIndex chatStore.inputUserIndex
@ -2293,7 +2299,7 @@ function KlineCanvsEcharts(containerId) {
formatter: `${item[1]}`, formatter: `${item[1]}`,
textStyle: { textStyle: {
color: "green", color: "green",
fontSize: window.innerWidth > 769 ? 12 : 9,
fontSize: window.innerWidth > 769 ? 18 : 15,
textBorderColor: "#FFFFFF", textBorderColor: "#FFFFFF",
textBorderWidth: 2, textBorderWidth: 2,
fontWeight: "bold", fontWeight: "bold",
@ -2317,7 +2323,7 @@ function KlineCanvsEcharts(containerId) {
formatter: `${item[1]}`, formatter: `${item[1]}`,
textStyle: { textStyle: {
color: "green", color: "green",
fontSize: window.innerWidth > 769 ? 18 : 15,
fontSize: window.innerWidth > 769 ? 12 : 9,
textBorderColor: "#FFFFFF", textBorderColor: "#FFFFFF",
textBorderWidth: 2, textBorderWidth: 2,
fontWeight: "bold", fontWeight: "bold",
@ -3165,7 +3171,7 @@ watch(
); );
const scrollToTop = () => { const scrollToTop = () => {
chatStore.dbqbScrollToTop = !chatStore.dbqbScrollToTop;
homepageChatStore.dbqbScrollToTop = !homepageChatStore.dbqbScrollToTop;
}; };
// K线 // K线

Loading…
Cancel
Save