From 749e3901f8f870d4669941da0bbaeed18c0dcf74 Mon Sep 17 00:00:00 2001 From: linxi <957440651@qq.com> Date: Wed, 10 Dec 2025 18:23:12 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E6=97=85=E5=B1=85=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 1f4ea5c0c89f9e5a2804e5ba08b3df92f1078681) --- api/qianxian.js | 7 ++++++ pkg_product/views/famousQianxianShop.vue | 2 ++ pkg_product/views/housekeeperDetail.vue | 28 +++++++++++++++++++++--- pkg_product/views/oldSojumStore.vue | 17 ++++++++++++-- pkg_product/views/sojoumStore.vue | 19 +++++++++++++--- utils/common.js | 2 ++ 6 files changed, 67 insertions(+), 8 deletions(-) diff --git a/api/qianxian.js b/api/qianxian.js index ae02d43..9da7bd1 100644 --- a/api/qianxian.js +++ b/api/qianxian.js @@ -260,3 +260,10 @@ export function getJiaLouNewsList(params) { export function getShareHousekeeper(id) { return request.get('/travel/steward/poster/' + id, {login: true}) } + +/** + * 管家详情 + */ +export function getJiaLouStewardDetail(id) { + return request.get('/travel/steward/' + id, {}, {login: true}) +} diff --git a/pkg_product/views/famousQianxianShop.vue b/pkg_product/views/famousQianxianShop.vue index 1c88bd1..3373fa0 100644 --- a/pkg_product/views/famousQianxianShop.vue +++ b/pkg_product/views/famousQianxianShop.vue @@ -839,6 +839,7 @@ export default { onLoad(options) { const id = options.id || '' this.id = id + if (id) { this.partnerId = options.partnerId || null } else { @@ -847,6 +848,7 @@ export default { const query = options ? decodeURIComponent(options.scene) : decodeURIComponent(obj.query.scene) this.partnerId = getUrlParam(query, 'partnerId') || null this.id = getUrlParam(query, 'id') || null + } } if (this.partnerId) cookie.set('spread', this.partnerId) diff --git a/pkg_product/views/housekeeperDetail.vue b/pkg_product/views/housekeeperDetail.vue index 144e2fa..1ecf647 100644 --- a/pkg_product/views/housekeeperDetail.vue +++ b/pkg_product/views/housekeeperDetail.vue @@ -75,8 +75,9 @@