chore:资源详情里的立即咨询可以跳转到智能客服
This commit is contained in:
@@ -46,6 +46,10 @@ const localDevConfig = ({
|
|||||||
uniacid: 100,
|
uniacid: 100,
|
||||||
domain: 'https://5g.aigc-quickapp.com/',
|
domain: 'https://5g.aigc-quickapp.com/',
|
||||||
},
|
},
|
||||||
})['100']; // 选择要使用的环境配置
|
'1': {
|
||||||
|
uniacid: 1,
|
||||||
|
domain: 'https://5g.aigc-quickapp.com/',
|
||||||
|
},
|
||||||
|
})['1']; // 选择要使用的环境配置
|
||||||
|
|
||||||
export default localDevConfig;
|
export default localDevConfig;
|
||||||
@@ -463,6 +463,7 @@
|
|||||||
|
|
||||||
<ns-goods-action-button v-if="goodsSkuDetail.isinformation == 1" class="goods-action-button active3" disabled-text="" backgroundColor="#54c952" @click="phoneClick(goodsSkuDetail.goods_mobile)" :text="$lang('make')" :disabled="false" />
|
<ns-goods-action-button v-if="goodsSkuDetail.isinformation == 1" class="goods-action-button active3" disabled-text="" backgroundColor="#54c952" @click="phoneClick(goodsSkuDetail.goods_mobile)" :text="$lang('make')" :disabled="false" />
|
||||||
<ns-goods-action-button v-if="goodsSkuDetail.isinformation == 2" class="goods-action-button active3" disabled-text="" backgroundColor="#54c952" @click="showinformation" :text="$lang('leave')" :disabled="false" />
|
<ns-goods-action-button v-if="goodsSkuDetail.isinformation == 2" class="goods-action-button active3" disabled-text="" backgroundColor="#54c952" @click="showinformation" :text="$lang('leave')" :disabled="false" />
|
||||||
|
<ns-goods-action-button v-if="goodsSkuDetail.isinformation == 3" class="goods-action-button active3" disabled-text="" backgroundColor="#54c952" @click="goToAIChat" text="智能客服" :disabled="false" />
|
||||||
<!-- <ns-goods-action-button v-if="goodsSkuDetail.isinformation == 2" class="goods-action-button active3" disabled-text="" backgroundColor="#54c952" @click="buyNow" text="商品留言" :disabled="false" /> -->
|
<!-- <ns-goods-action-button v-if="goodsSkuDetail.isinformation == 2" class="goods-action-button active3" disabled-text="" backgroundColor="#54c952" @click="buyNow" text="商品留言" :disabled="false" /> -->
|
||||||
|
|
||||||
</block>
|
</block>
|
||||||
@@ -553,6 +554,25 @@ export default {
|
|||||||
this.$refs.contactPopup.open();
|
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'
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 关闭联系电话弹窗
|
* 关闭联系电话弹窗
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user