From 32cdb5142ff40020333802fc4ed0ff4ec1088618 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Sun, 3 Dec 2023 00:15:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E5=BA=97=E5=95=86=E5=93=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E6=96=B0=E5=A2=9E=E5=95=86=E5=93=81=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 3 +++ pages/plugins/realstore/detail/detail.vue | 14 ++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/App.vue b/App.vue index 946d6302..6221eb29 100644 --- a/App.vue +++ b/App.vue @@ -63,6 +63,9 @@ // 门店详情搜索框内扫码加购(0否, 1是) is_realstore_top_search_scan: 1, + // 门店详情商品不跳转到商品详情页面去(0否, 1是) + is_realstore_goods_to_detail: 0, + // 开启浮动客服、前提是后台需要开启客服功能(0 否, 1 是) is_online_service_fixed: 1, diff --git a/pages/plugins/realstore/detail/detail.vue b/pages/plugins/realstore/detail/detail.vue index bae0db4e..193edc63 100644 --- a/pages/plugins/realstore/detail/detail.vue +++ b/pages/plugins/realstore/detail/detail.vue @@ -163,7 +163,7 @@ - + @@ -225,7 +225,7 @@ - + @@ -252,7 +252,7 @@ - + @@ -1413,9 +1413,11 @@ return data; }, - // url事件 - url_event(e) { - app.globalData.url_event(e); + // 商品url事件 + goods_url_event(e) { + if(app.globalData.data.is_realstore_goods_to_detail == 1) { + app.globalData.url_event(e); + } }, // 客服服务事件