From f6357d12398475b4e3b511307b39938f76565d85 Mon Sep 17 00:00:00 2001 From: Trae AI Date: Mon, 5 Jan 2026 13:06:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E4=BA=AB=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=EF=BC=9A=E6=97=A0=E8=AE=BA=E5=9C=A8=E5=93=AA=E4=B8=AA?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=E5=88=86=E4=BA=AB=E9=83=BD=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E5=BC=95=E5=AF=BC=E9=A1=B5=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/settlement/index.js | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/pages/settlement/index.js b/pages/settlement/index.js index 5aba878..320117f 100644 --- a/pages/settlement/index.js +++ b/pages/settlement/index.js @@ -54,6 +54,20 @@ Page({ onLoad(options) { console.log('settlement页面加载,options:', options); + // 检查是否是分享链接,需要显示引导页 + if (options.showGuide) { + console.log('检测到showGuide参数,显示引导页'); + // 清除保存的进度,确保显示引导页 + this.clearSettlementProgress(); + // 重置页面状态到初始状态 + this.setData({ + showGuidePage: true, + currentStep: 0, + partnerstatus: '' + }); + return; // 直接返回,不执行后续逻辑 + } + // 检查是否有status参数,如果有则显示审核状态 if (options.status) { console.log('检测到status参数:', options.status); @@ -1477,8 +1491,8 @@ Page({ onShareAppMessage: function () { return { title: '合作入驻 - 又鸟蛋平台', - path: '/pages/settlement/index', - imageUrl: '' + path: '/pages/settlement/index?showGuide=1', + imageUrl: '/images/立即入驻7.jpg' }; }, @@ -1488,8 +1502,8 @@ Page({ onShareTimeline: function () { return { title: '合作入驻 - 又鸟蛋平台', - query: '', - imageUrl: '' + query: 'showGuide=1', + imageUrl: '/images/立即入驻7.jpg' }; } }); \ No newline at end of file -- 2.30.2