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] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E4=BA=86=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=9A=84=E6=88=91=E7=9A=84=E8=87=AA=E9=80=89=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=9B=E7=82=B9=E5=87=BB=E6=B7=BB=E5=8A=A0=E8=87=AA?= =?UTF-8?q?=E9=80=89=E8=82=A1=E8=B7=B3=E8=BD=AC=E5=88=B0=E8=A1=8C=E6=83=85?= =?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.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 @@ 我的自选 - 添加自选股 + 添加自选股