From dc4f2769f9ef8c5a295d9e2d8dc52e2e826c84ce Mon Sep 17 00:00:00 2001
From: jinhhanhan <1683105490@qq.com>
Date: Sat, 25 Apr 2026 11:58:03 +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=E9=87=8C=E7=9A=84=E7=AB=8B=E5=8D=B3=E5=92=A8=E8=AF=A2?=
=?UTF-8?q?=E5=8F=AF=E4=BB=A5=E8=B7=B3=E8=BD=AC=E5=88=B0=E6=99=BA=E8=83=BD?=
=?UTF-8?q?=E5=AE=A2=E6=9C=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.local.config.js | 6 +++++-
pages_goods/detail.vue | 20 ++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/.local.config.js b/.local.config.js
index 0698142..5cf40f6 100644
--- a/.local.config.js
+++ b/.local.config.js
@@ -46,6 +46,10 @@ const localDevConfig = ({
uniacid: 100,
domain: 'https://5g.aigc-quickapp.com/',
},
-})['100']; // 选择要使用的环境配置
+ '1': {
+ uniacid: 1,
+ domain: 'https://5g.aigc-quickapp.com/',
+ },
+})['1']; // 选择要使用的环境配置
export default localDevConfig;
\ No newline at end of file
diff --git a/pages_goods/detail.vue b/pages_goods/detail.vue
index 8075e06..510460b 100644
--- a/pages_goods/detail.vue
+++ b/pages_goods/detail.vue
@@ -463,6 +463,7 @@
+
@@ -553,6 +554,25 @@ export default {
this.$refs.contactPopup.open();
},
+ /**
+ * 跳转到智能客服页面
+ */
+ goToAIChat() {
+ const productInfo = {
+ goods_id: this.goodsSkuDetail.goods_id || '',
+ goods_name: this.goodsSkuDetail.goods_name || '',
+ price: this.goodsSkuDetail.discount_price || this.goodsSkuDetail.member_price || this.goodsSkuDetail.price || '',
+ image: this.goodsSkuDetail.sku_image || '',
+ category_id: this.goodsSkuDetail.category_id || ''
+ };
+
+ uni.setStorageSync('selectedProduct', productInfo);
+
+ uni.navigateTo({
+ url: '/pages_tool/ai-chat/index'
+ });
+ },
+
/**
* 关闭联系电话弹窗
*/