From cf19c088ae627a4271a19f8d90d27ac555054c09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E7=83=A6?=
<40259902+yxplus1116@users.noreply.github.com>
Date: Wed, 22 May 2024 15:10:00 +0800
Subject: [PATCH] docs:Semantic problem modification
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update contact-button 智能客服.md
---
...-button \346\231\272\350\203\275\345\256\242\346\234\215.md" | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git "a/mini/component/\345\237\272\347\241\200\347\273\204\344\273\266/\345\274\200\346\224\276\347\273\204\344\273\266/contact-button \346\231\272\350\203\275\345\256\242\346\234\215.md" "b/mini/component/\345\237\272\347\241\200\347\273\204\344\273\266/\345\274\200\346\224\276\347\273\204\344\273\266/contact-button \346\231\272\350\203\275\345\256\242\346\234\215.md"
index 026629137..ecd94ad65 100644
--- "a/mini/component/\345\237\272\347\241\200\347\273\204\344\273\266/\345\274\200\346\224\276\347\273\204\344\273\266/contact-button \346\231\272\350\203\275\345\256\242\346\234\215.md"
+++ "b/mini/component/\345\237\272\347\241\200\347\273\204\344\273\266/\345\274\200\346\224\276\347\273\204\344\273\266/contact-button \346\231\272\350\203\275\345\256\242\346\234\215.md"
@@ -77,7 +77,7 @@
| color | String | 选填。咨询按钮颜色,默认白底蓝色。
**默认值:** #00A3FF
**版本要求:** 基础库 [1.9.0](https://opendocs.alipay.com/mini/framework/compatibility) 及以上 |
| icon | ImgUrl | 选填。咨询按钮头像。
**版本要求:** 基础库 [1.9.0](https://opendocs.alipay.com/mini/framework/compatibility) 及以上 |
| alipay-card-no | String | 选填。支付宝访客用户 ID(2088 开头)。
**说明:** 客服回答问题时,如客户已离开咨询窗口,则通过推送消息到支付宝 card 中提醒客户。 |
-| ext-info | String | 选填。该属性主要用于传递一些扩展信息给组件,以实现一些高级功能。该属性值的生成方式为:encodeURIComponent({"字段名":"字段值"}), 其中,字段名和字段值要根据实际使用的功能进行替换。
目前通过传入扩展信息可支持的 3 个功能:
1.访客名片。需传 cinfo 和 key 两个扩展字段,代码形如在云客服中进入 **设置** > **服务窗配置**,点击操作栏中的 **部署** ,获取 `tntInstId`(企业编码)和 `scene`(聊天窗编码)。`encodeURIComponent({"cinfo":"生成的 cinfo","key":"生成的key"})`,cinfo 和 key 的值说明 支付宝小程序接入访客名片;
2.聊天窗默认带出用户的小程序订单数据。需传 appId 字段,代码形如`encodeURIComponent({"appId":"商户小程序appid"})`
3.未读客服消息同步至"我的小程序-我的"。同样需传 appId 字段,代码形如 `encodeURIComponent({"appId":"商户小程序appid"})`。 |
+| ext-info | String | 选填。该属性主要用于传递一些扩展信息给组件,以实现一些高级功能。该属性值的生成方式为:encodeURIComponent({"字段名":"字段值"}), 其中,字段名和字段值要根据实际使用的功能进行替换。
目前通过传入扩展信息可支持的 3 个功能:
1.访客名片。需传 cinfo 和 key 两个扩展字段,代码形如在云客服中进入 **设置** > **服务窗配置**,点击操作栏中的 **部署** ,获取 `tntInstId`(企业编码)和 `scene`(聊天窗编码)。`encodeURIComponent({"cinfo":"生成的 cinfo","key":"生成的key"})`,cinfo 和 key 的值说明 支付宝小程序接入访客名片;
2.聊天窗默认带出用户的小程序订单数据。需传 appId 字段,代码示例如:`encodeURIComponent({"appId":"商户小程序appid"})`
3.未读客服消息同步至"我的小程序-我的"。同样需传 appId 字段,代码示例如: `encodeURIComponent({"appId":"商户小程序appid"})`。 |
# 常见问题