From 524f35e48eff5f2e91a233a1284f954fa036ed6a Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Tue, 6 Jan 2026 19:09:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E5=8D=A1=E6=B8=B8=E8=B7=B3H5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subPackages/goods/oneCardTour/info/index.js | 9 +++++++++ utils/util.js | 3 +++ 2 files changed, 12 insertions(+) diff --git a/subPackages/goods/oneCardTour/info/index.js b/subPackages/goods/oneCardTour/info/index.js index ea8eb10..f33cf94 100644 --- a/subPackages/goods/oneCardTour/info/index.js +++ b/subPackages/goods/oneCardTour/info/index.js @@ -60,6 +60,15 @@ Page({ util.back() return; } + + // 2026-1-6 详情跳H5 + if (options.id) { + wx.redirectTo({ + url: '/pages/pbService/web/index?weburl='+encodeURIComponent(util.detailDomain+"/OneCardTourDetail?id="+options.id), + }) + return + } + if (options.retailId) { this.setData({ retailId: options.retailId diff --git a/utils/util.js b/utils/util.js index 4f1ac45..8620a24 100644 --- a/utils/util.js +++ b/utils/util.js @@ -784,8 +784,11 @@ const goProdInOtherPlatform = function (item) { // return webUrl; } +// 详情跳转域名 +const detailDomain = "https://m.cloud.sz-trip.com" module.exports = { + detailDomain: detailDomain, formatTime: formatTime, formatNumber: formatNumber, isTel: isTel,