From 0b961fa4a5b6edbfc3154e3245db8fe4c0615853 Mon Sep 17 00:00:00 2001 From: tcubic <123456> Date: Mon, 8 Aug 2022 16:30:48 +0800 Subject: [PATCH] update2 --- src/components/Index.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/Index.vue b/src/components/Index.vue index 4d75787..0d17d4e 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -455,13 +455,8 @@ const activityBtn = (item) => { console.log("牛牛杯"); let urlTarget = "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_uD5KUL2d"; - var targeturl = JSON.stringify(e.currentTarget.dataset.targeturl); - - targeturl = encodeURIComponent(targeturl) - - url = './webview/webview?url=' + targeturl - wx.miniProgram.navigateTo({url:url,}); + wx.miniProgram.navigateTo({url:urlTarget,}); // window.location.href = // "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_uD5KUL2d";