From db8618cdff3b7d1b2bf7ebdeb7f4ecfc35cbb3f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E9=A3=9E=E6=B4=8B?= <15778543+xufeiyang6017@user.noreply.gitee.com> Date: Fri, 2 Jan 2026 14:52:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=B8=A1=E8=9B=8B=E4=BC=B0?= =?UTF-8?q?=E4=BB=B7=E9=A1=B5=E9=9D=A2=E8=B7=B3=E8=BD=AC=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=8C=E7=AE=80=E5=8C=96=E4=BB=A3=E7=A0=81=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom-tab-bar/index.js | 23 ----------------------- custom-tab-bar/index.wxml | 2 +- pages/evaluate/index.js | 3 ++- 3 files changed, 3 insertions(+), 25 deletions(-) diff --git a/custom-tab-bar/index.js b/custom-tab-bar/index.js index f806017..0e7a139 100644 --- a/custom-tab-bar/index.js +++ b/custom-tab-bar/index.js @@ -176,29 +176,6 @@ Component({ }) }, - // 跳转到鸡蛋估价页面 - goToEvaluatePage() { - console.log('点击鸡蛋估价按钮,跳转到估价页面'); - wx.switchTab({ - url: '/pages/evaluate/index', - success: (res) => { - console.log('跳转到估价页面成功:', res); - }, - fail: (err) => { - console.error('跳转到估价页面失败,尝试使用reLaunch:', err); - wx.reLaunch({ - url: '/pages/evaluate/index', - success: (res) => { - console.log('reLaunch到估价页面成功:', res); - }, - fail: (err) => { - console.error('reLaunch到估价页面也失败:', err); - } - }); - } - }); - }, - // 从全局数据同步状态的方法 - 增强版 diff --git a/custom-tab-bar/index.wxml b/custom-tab-bar/index.wxml index 9c67bf5..1ad7876 100644 --- a/custom-tab-bar/index.wxml +++ b/custom-tab-bar/index.wxml @@ -51,7 +51,7 @@ {{badges['profile']}} - + 我的 \ No newline at end of file diff --git a/pages/evaluate/index.js b/pages/evaluate/index.js index 247dcc0..88b9b10 100644 --- a/pages/evaluate/index.js +++ b/pages/evaluate/index.js @@ -30,7 +30,8 @@ Page({ ], // 品种选项 breedOptions: [ - '黄蛋(红蛋)' + '黄蛋(红蛋)', + '粉蛋' ] },