Browse Source

1.app手机返回消息异常;

2.app历史记录是股票名称(股票代码)
3.375宽度小手机金牛图表适配
4.六色罗盘大小适配
milestone-20250710-上线前优化
no99 1 day ago
parent
commit
e185c4679c
  1. 18
      src/views/AIchat.vue
  2. 3
      src/views/components/HistoryRecord.vue

18
src/views/AIchat.vue

@ -1065,7 +1065,7 @@ watch(
if (newVal.length > 0) { if (newVal.length > 0) {
// //
console.log("chatStore.currentUserIndex", chatStore.currentUserIndex); console.log("chatStore.currentUserIndex", chatStore.currentUserIndex);
if (chatStore.currentUserIndex!=null) {
if (chatStore.currentUserIndex != null) {
chatStore.messages[chatStore.currentUserIndex].audioStatus = false; chatStore.messages[chatStore.currentUserIndex].audioStatus = false;
} }
chatStore.currentUserIndex = null; chatStore.currentUserIndex = null;
@ -2467,7 +2467,7 @@ watch(
chatStore.messages.push({ chatStore.messages.push({
sender: "user", sender: "user",
timestamp: clickRecord.value.createdTime, timestamp: clickRecord.value.createdTime,
content: clickRecord.value.keyword,
content: clickRecord.value.stockName+'('+clickRecord.value.stockCode+')',
audioArray: [ audioArray: [
clickRecord.value.wokeFlowData.One.url, clickRecord.value.wokeFlowData.One.url,
clickRecord.value.wokeFlowData.Two.url, clickRecord.value.wokeFlowData.Two.url,
@ -2814,7 +2814,7 @@ function KlineCanvsEcharts(containerId) {
name: "\u4eea\u8868\u76d8", name: "\u4eea\u8868\u76d8",
type: "gauge", type: "gauge",
center: ["50%", "50%"], center: ["50%", "50%"],
radius: "90%",
radius: window.innerWidth > 768 ? "90%" : "70%",
startAngle: 140, startAngle: 140,
endAngle: -140, endAngle: -140,
min: 0, min: 0,
@ -3515,7 +3515,9 @@ function KlineCanvsEcharts(containerId) {
? "14%" ? "14%"
: window.innerWidth > 768 : window.innerWidth > 768
? "18%" ? "18%"
: "20%",
: window.innerWidth > 375
? "20%"
: "22%",
right: right:
window.innerWidth > 1024 window.innerWidth > 1024
? "9%" ? "9%"
@ -3533,7 +3535,9 @@ function KlineCanvsEcharts(containerId) {
? "14%" ? "14%"
: window.innerWidth > 768 : window.innerWidth > 768
? "18%" ? "18%"
: "20%",
: window.innerWidth > 375
? "20%"
: "22%",
right: right:
window.innerWidth > 1024 window.innerWidth > 1024
? "9%" ? "9%"
@ -3551,7 +3555,9 @@ function KlineCanvsEcharts(containerId) {
? "14%" ? "14%"
: window.innerWidth > 768 : window.innerWidth > 768
? "18%" ? "18%"
: "20%",
: window.innerWidth > 375
? "20%"
: "22%",
right: right:
window.innerWidth > 1024 window.innerWidth > 1024
? "9%" ? "9%"

3
src/views/components/HistoryRecord.vue

@ -259,7 +259,8 @@
</div> </div>
<div class="record-msg"> <div class="record-msg">
<div class="record-text"> <div class="record-text">
{{ record.stockCode }}
<span class="stock-name">{{ record.stockName }}</span>
<span class="stock-code">({{ record.stockCode }})</span>
<div v-if="history.name === '置顶'"> <div v-if="history.name === '置顶'">
<svg <svg
t="1755227529729" t="1755227529729"

Loading…
Cancel
Save