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 @@ 我的自选 - 添加自选股 + 添加自选股