From dbd34d6181835b115b6626cb80275cfd84ba1a94 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Sat, 1 Jun 2024 17:35:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=8F=E5=B7=9E=E5=8D=9A=E7=89=A9=E9=A6=86?= =?UTF-8?q?=E9=A2=84=E7=BA=A6=E8=B7=B3=E8=BD=AC=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/list/museum/index.js | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index bc54044..7338f14 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.isTest117? true : false; + data.isTest = data.isTest118? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/list/museum/index.js b/pages/list/museum/index.js index be9df22..7357404 100644 --- a/pages/list/museum/index.js +++ b/pages/list/museum/index.js @@ -37,6 +37,10 @@ Page({ }, gotoDetailOther: function(e) { // 全都到其他小程序预约--新跳转地址 + wx.navigateToMiniProgram({ + appId: 'wxfef80ee1ab7e58a2', + path: 'pages/index/index' + }) // wx.navigateToMiniProgram({ // appId: 'wxfef80ee1ab7e58a2', // path: 'pages/index/index' @@ -50,9 +54,9 @@ Page({ // return; // } //本平台预约 - wx.navigateTo({ - url: '/pages/info/museumInfo/index?id='+e.currentTarget.dataset.id - }) + // wx.navigateTo({ + // url: '/pages/info/museumInfo/index?id='+e.currentTarget.dataset.id + // }) }, search:function(e){ this.setData(e.detail);