From ee929f7d77a1c7340bdaf5ca657a379654417a91 Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Wed, 10 Sep 2025 11:47:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BA=E5=8E=BF=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/proRec/proRec.js | 8 ++++---- pages/info/roadInfo/index.js | 1 - pages/order/payresult/index.js | 8 ++++---- project.private.config.json | 7 +++++++ utils/https.js | 4 ++-- 5 files changed, 17 insertions(+), 11 deletions(-) diff --git a/pages/component/proRec/proRec.js b/pages/component/proRec/proRec.js index 854cc8b..ebe399b 100644 --- a/pages/component/proRec/proRec.js +++ b/pages/component/proRec/proRec.js @@ -103,10 +103,10 @@ Component({ } }, 1) - // if (item.goods_jump_type == "changshu" || item.goods_jump_type == "yjks") { - // util.goProdInOtherPlatform(item) - // return - // } + if (item.goods_jump_type == "changshu" || item.goods_jump_type == "yjks") { + util.goProdInOtherPlatform(item) + return + } diff --git a/pages/info/roadInfo/index.js b/pages/info/roadInfo/index.js index 1fab188..35a79f9 100644 --- a/pages/info/roadInfo/index.js +++ b/pages/info/roadInfo/index.js @@ -165,7 +165,6 @@ Page({ order: function () { // todo 判断组合产品 // if (this.data.info.is_compose == 1) { - // if (true) { // // 打开规格弹窗 // this.setData({skuFlag: true}) // return diff --git a/pages/order/payresult/index.js b/pages/order/payresult/index.js index 2bcc30e..642090c 100644 --- a/pages/order/payresult/index.js +++ b/pages/order/payresult/index.js @@ -48,10 +48,10 @@ Page({ gotoDetail:function(e){ let item = e.currentTarget.dataset.item; // todo 区县跳转 - // if (item.goods_jump_type == "changshu" || item.goods_jump_type == "yjks") { - // util.goProdInOtherPlatform(item) - // return - // } + if (item.goods_jump_type == "changshu" || item.goods_jump_type == "yjks") { + util.goProdInOtherPlatform(item) + return + } util.gotoDetail(item) diff --git a/project.private.config.json b/project.private.config.json index 5822978..17493bb 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -6,6 +6,13 @@ "condition": { "miniprogram": { "list": [ + { + "name": "pages/info/roadInfo/index", + "pathName": "pages/info/roadInfo/index", + "query": "id=457643", + "scene": null, + "launchMode": "default" + }, { "name": "pages/order/pay/index", "pathName": "pages/order/pay/index", diff --git a/utils/https.js b/utils/https.js index ac1e739..c120ad9 100644 --- a/utils/https.js +++ b/utils/https.js @@ -1,8 +1,8 @@ var app = getApp(); import util from "../utils/util" // import userApi from "../utils/https/user.js"; -// const baseUrl = "https://test.api.cloud.sz-trip.com/api/"; -let baseUrl = "https://api.cloud.sz-trip.com/api/"; +const baseUrl = "https://test.api.cloud.sz-trip.com/api/"; +// let baseUrl = "https://api.cloud.sz-trip.com/api/"; const env = wx.getAccountInfoSync().miniProgram.envVersion if (env == 'develop1') { baseUrl = "https://test.api.cloud.sz-trip.com/api/"