From 1e9e0ffea8db08ac05035d860e7aa92c6e36a4b1 Mon Sep 17 00:00:00 2001 From: jinhhanhan <1683105490@qq.com> Date: Sat, 25 Apr 2026 09:50:45 +0800 Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9A=E8=B5=84=E6=BA=90=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E6=99=BA=E8=83=BD=E5=AE=A2=E6=9C=8D=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=99=BA=E8=83=BD=E5=AE=A2=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_components/goods-detail-view/goods-detail-view.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages_goods/_components/goods-detail-view/goods-detail-view.vue b/pages_goods/_components/goods-detail-view/goods-detail-view.vue index b16d6c4..3ab7908 100644 --- a/pages_goods/_components/goods-detail-view/goods-detail-view.vue +++ b/pages_goods/_components/goods-detail-view/goods-detail-view.vue @@ -3,7 +3,7 @@ - + @@ -464,6 +464,7 @@ import scroll from '@/common/js/scroll-view.js'; import detail from './detail.js'; import IMAGE_CONFIG from '@/common/js/image-config.js'; +import { createCustomerService } from '@/common/js/customer-service.js'; import pengpaiFadeinOut from '../pengpai-fadein-out/pengpai-fadein-out.vue'; @@ -483,6 +484,10 @@ export default { computed: { aiAvatarUrl() { return this.$util.img(IMAGE_CONFIG.aiAvatar); + }, + showAIChatBtn() { + const customerService = createCustomerService(this); + return customerService.hasValidKefuConfig() && customerService.isAIKefu(); } }, mixins: [scroll, detail]