From 35cd2a07e13734edd17beb012be7e33395cc10f7 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Tue, 7 May 2024 09:27:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=8D=81=E5=85=A8=E5=8D=81?= =?UTF-8?q?=E7=BE=8E=E5=90=B4=E6=B1=9F=E8=B7=B3=E8=BD=AC=E5=A4=96=E9=83=A8?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 65da1a0..d27cb79 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest113? true : false; + data.isTest = data.isTest114? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/index/index.js b/pages/index/index.js index 3ee47db..02d45ff 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -478,6 +478,12 @@ Page({ path: 'pages/home/index' }) return; + }else if (e.currentTarget.dataset.event == 'wujiang_click') { + wx.navigateToMiniProgram({ + appId: 'wx8eadea4ee2d42d4b', + path: 'pages/index/index' + }) + return; } wx.navigateTo({ url: e.currentTarget.dataset.path,