diff --git a/src/components/Index.vue b/src/components/Index.vue index fee46ae..0deee03 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -267,8 +267,11 @@ const activityBtn = (item) => { if (item.id == 3) { console.log("生日专享页面"); - window.location.href = - "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_8rrkjpiS"; + wx.miniProgram.navigateTo({ + url: "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_8rrkjpiS", + }); + // window.location.href = + // "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_8rrkjpiS"; } if (item.id == 4) { @@ -284,7 +287,7 @@ const activityBtn = (item) => { if (item.id == 6) { console.log("财富日报"); - wx.miniProgram.reLaunch({ + wx.miniProgram.navigateTo({ url: "/subs/wealthpaper/wealthpaper", }); }