From 32adc6067e35e6b946ca910415e5b2f50d275f4e Mon Sep 17 00:00:00 2001
From: wangyi <3432649580@qq.com>
Date: Wed, 29 Oct 2025 20:37:53 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8E=86=E5=8F=B2=E8=AE=B0?=
=?UTF-8?q?=E5=BD=95=E6=A8=A1=E5=9E=8B=E5=90=8D=E7=A7=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/deepExploration_header.vue | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/components/deepExploration_header.vue b/components/deepExploration_header.vue
index cddab00..100c852 100644
--- a/components/deepExploration_header.vue
+++ b/components/deepExploration_header.vue
@@ -72,7 +72,7 @@
{{ item.stockName }}
({{ item.stockCode }})
- ({{ item.stockCode }})
+ {{ modelType(item.model) }}
{{
formatTimeForHistory(item.createdTime)
@@ -99,12 +99,23 @@ const props = defineProps({
},
});
const showHistoryDrawer = ref(false);
-const modelType = ref('');
const drawerOffsetY = ref(0);
// const handleHistory = () => {
// showHistoryDrawer.value = true;
// };
+function modelType(model) {
+ switch (model) {
+ case 1:
+ return "主力追踪";
+ case 2:
+ return "主力雷达";
+ case 3:
+ return "主力解码";
+ case 4:
+ return "主力资金流";
+ }
+}
// 历史记录
const openHistoryDrawer = async () => {
const res = await RecordListApi({
@@ -160,8 +171,7 @@ async function itemClick(item) {
const deepExplorationStore = useDeepExplorationStore();
deepExplorationStore.setDeepExplorationInfo(message);
onDrawerBackClick();
- console.log(deepExplorationStore.deepExplorationInfo);
-
+ console.log(deepExplorationStore.deepExplorationInfo);
}
}
const historyList = ref([]);