From 5d5bc36596468e860c1e37a9b4c6be8cdf56d5da Mon Sep 17 00:00:00 2001
From: hongxilin <17663930442@163.com>
Date: Wed, 29 Oct 2025 21:37:15 +0800
Subject: [PATCH 1/8] =?UTF-8?q?marketOverview=E5=BC=95=E5=85=A5tcp?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/marketSituation/marketCondition.vue | 4 +-
pages/marketSituation/marketOverview.vue | 268 +++++++++++++++++++++++++++++-
2 files changed, 269 insertions(+), 3 deletions(-)
diff --git a/pages/marketSituation/marketCondition.vue b/pages/marketSituation/marketCondition.vue
index 5c29c5e..d322372 100644
--- a/pages/marketSituation/marketCondition.vue
+++ b/pages/marketSituation/marketCondition.vue
@@ -413,7 +413,7 @@ const startTcp = () => {
initTcpListeners();
connectTcp();
} catch (error) {
- console.error("建立连接并设置监听:", error);
+ console.error("建立连接并设置监听出错:", error);
uni.showToast({
title: "建立连接并设置监听",
icon: "none",
@@ -2202,7 +2202,7 @@ onLoad((options) => {
// 保存定时器,用于页面卸载时清理
onUnmounted(() => {
removeTcpListeners();
- disconnect();
+ disconnectTcp();
if (timer) {
console.log("卸载定时器");
clearInterval(timer);
diff --git a/pages/marketSituation/marketOverview.vue b/pages/marketSituation/marketOverview.vue
index fa68843..72ba052 100644
--- a/pages/marketSituation/marketOverview.vue
+++ b/pages/marketSituation/marketOverview.vue
@@ -46,7 +46,7 @@
+.content {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+}
+
+.no-data-image {
+ width: 200px;
+ height: 200px;
+ margin-bottom: 20px;
+}
+
+.no-data-text {
+ font-size: 16px;
+ color: #999999;
+ text-align: center;
+}
+
\ No newline at end of file
From 86eb9a5e3ecf44549cbfd967d01fbf923a5ebc6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?=
Date: Wed, 29 Oct 2025 23:42:06 +0800
Subject: [PATCH 4/8] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E4=BB=8A=E6=97=A5?=
=?UTF-8?q?=E6=A0=B8=E5=BF=83=E7=9C=8B=E7=82=B9=E7=9A=84=E6=9C=BA=E6=9E=84?=
=?UTF-8?q?=E5=8A=A8=E5=90=91=E8=A7=A3=E6=9E=90=E7=BC=BA=E7=9C=81=E9=A1=B5?=
=?UTF-8?q?=E5=B9=B6=E9=85=8D=E7=BD=AE=E8=B7=B3=E8=BD=AC=E9=80=BB=E8=BE=91?=
=?UTF-8?q?=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 7 +++
.../analysisInstitutionalTrends.vue | 55 ++++++++++++++++++++++
pages/home/home.vue | 9 +++-
3 files changed, 70 insertions(+), 1 deletion(-)
create mode 100644 pages/analysisInstitutionalTrends/analysisInstitutionalTrends.vue
diff --git a/pages.json b/pages.json
index 576244a..22eb5c9 100644
--- a/pages.json
+++ b/pages.json
@@ -338,6 +338,13 @@
"titleNView": false,
"bounce": false
}
+ },
+ {
+ "path" : "pages/analysisInstitutionalTrends/analysisInstitutionalTrends",
+ "style" :
+ {
+ "navigationBarTitleText" : "机构动向解析 "
+ }
}
],
diff --git a/pages/analysisInstitutionalTrends/analysisInstitutionalTrends.vue b/pages/analysisInstitutionalTrends/analysisInstitutionalTrends.vue
new file mode 100644
index 0000000..bd8dc48
--- /dev/null
+++ b/pages/analysisInstitutionalTrends/analysisInstitutionalTrends.vue
@@ -0,0 +1,55 @@
+
+
+
+
+ 暂无数据~
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 525941b..f0c0a52 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -175,7 +175,7 @@
-
+
@@ -430,6 +430,13 @@ export default {
},
methods: {
+ // 跳转到机构动向解析页面
+ goToAnalysisInstitutionalTrends() {
+ uni.navigateTo({
+ url: '/pages/analysisInstitutionalTrends/analysisInstitutionalTrends'
+ })
+ },
+
// 跳转到深度探索页面
goToDeepExploration() {
uni.navigateTo({
From 08b584483cb0709f8bb7a0cb09bf85bb40563b8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?=
Date: Wed, 29 Oct 2025 23:46:49 +0800
Subject: [PATCH 5/8] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=88=91=E7=9A=84?=
=?UTF-8?q?=E8=87=AA=E9=80=89=E9=A1=B5=E9=9D=A2=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 7 +++++++
pages/customStockList/customStockList.vue | 22 ++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 100644 pages/customStockList/customStockList.vue
diff --git a/pages.json b/pages.json
index 22eb5c9..6f0cac4 100644
--- a/pages.json
+++ b/pages.json
@@ -345,6 +345,13 @@
{
"navigationBarTitleText" : "机构动向解析 "
}
+ },
+ {
+ "path" : "pages/customStockList/customStockList",
+ "style" :
+ {
+ "navigationBarTitleText" : "我的自选"
+ }
}
],
diff --git a/pages/customStockList/customStockList.vue b/pages/customStockList/customStockList.vue
new file mode 100644
index 0000000..8183fd0
--- /dev/null
+++ b/pages/customStockList/customStockList.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
From 19e325e83b622fd29451656093bb9ad92b8c0ea7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?=
Date: Wed, 29 Oct 2025 23:50:19 +0800
Subject: [PATCH 6/8] =?UTF-8?q?=E7=82=B9=E5=87=BB=E9=A6=96=E9=A1=B5?=
=?UTF-8?q?=E6=88=91=E7=9A=84=E8=87=AA=E9=80=89=E7=9A=84=E6=9F=A5=E7=9C=8B?=
=?UTF-8?q?=E6=9B=B4=E5=A4=9A=E8=B7=B3=E8=BD=AC=E5=88=B0=E5=AF=B9=E5=BA=94?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/home/home.vue | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/pages/home/home.vue b/pages/home/home.vue
index f0c0a52..528245e 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -128,7 +128,7 @@
{{report.stock}}
{{report.status}}
-
+
查看更多 >>
@@ -430,6 +430,13 @@ export default {
},
methods: {
+ // 跳转到自定义股票列表页面
+ goToCustomStockList() {
+ uni.navigateTo({
+ url: '/pages/customStockList/customStockList'
+ })
+ },
+
// 跳转到机构动向解析页面
goToAnalysisInstitutionalTrends() {
uni.navigateTo({
From a60d29b0f29c4836a32af6b7f75eaac02dfc1b14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?=
Date: Thu, 30 Oct 2025 00:45:08 +0800
Subject: [PATCH 7/8] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E4=BA=86=E8=87=AA?=
=?UTF-8?q?=E5=AE=9A=E4=B9=89=E7=9A=84=E6=88=91=E7=9A=84=E8=87=AA=E9=80=89?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=EF=BC=9B=E7=82=B9=E5=87=BB=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E8=87=AA=E9=80=89=E8=82=A1=E8=B7=B3=E8=BD=AC=E5=88=B0=E8=A1=8C?=
=?UTF-8?q?=E6=83=85=E9=A1=B5=E9=9D=A2=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 11 ++-
pages/customStockList/customStockList.vue | 127 +++++++++++++++++++++++++++++-
pages/home/home.vue | 9 ++-
3 files changed, 144 insertions(+), 3 deletions(-)
diff --git a/pages.json b/pages.json
index 6f0cac4..bcb036c 100644
--- a/pages.json
+++ b/pages.json
@@ -350,7 +350,16 @@
"path" : "pages/customStockList/customStockList",
"style" :
{
- "navigationBarTitleText" : "我的自选"
+ "navigationBarTitleText" : "我的自选",
+ "app-plus": {
+ "titleNView": false
+ },
+ "h5": {
+ "titleNView": false
+ },
+ "mp-weixin": {
+ "navigationStyle": "custom"
+ }
}
}
diff --git a/pages/customStockList/customStockList.vue b/pages/customStockList/customStockList.vue
index 8183fd0..33cb034 100644
--- a/pages/customStockList/customStockList.vue
+++ b/pages/customStockList/customStockList.vue
@@ -1,6 +1,39 @@
+
+
-
+
+
+
+
+
+
+ ‹
+
+
+
+ 我的自选
+
+
+
+
+
+
+
+
+
+
+
@@ -12,11 +45,103 @@
}
},
methods: {
+ // 返回上一页
+ goBack() {
+ uni.navigateBack()
+ },
+ // 第一个按钮点击事件
+ onFirstButtonClick() {
+ console.log('第一个按钮被点击')
+ // 这里可以添加具体的功能逻辑
+ },
+
+ // 第二个按钮点击事件
+ onSecondButtonClick() {
+ console.log('第二个按钮被点击')
+ // 这里可以添加具体的功能逻辑
+ }
}
}
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 528245e..8ffaa85 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -81,7 +81,7 @@