【企业微信插件】联系我按钮,个人经验成功在ios、安卓小程序内弹出企业微信二维码并识别
基于uniapp:
1.配置
https://open.work.weixin.qq.com/help2/pc/cat?person_id=1&is_tencent=&doc_id=14697#3%E3%80%81%E5%AE%A2%E6%88%B7%E8%81%94%E7%B3%BB[%E8%81%94%E7%B3%BB%E6%88%91]%E7%9A%84%E4%BD%BF%E7%94%A8%E6%96%B9%E5%BC%8F
2.page.json中引入插件
“usingComponents”: {
“cell”: “plugin://contactPlugin/cell”
}
3.页面引入
4.效果图
![](https://image.wxopen.club/content_dfa8273a-f2e5-11eb-9942-001a7dda7111.jpg)
![](https://image.wxopen.club/content_dfad97a6-f2e5-11eb-b211-001a7dda7111.jpg)
![](https://image.wxopen.club/content_dfb1a978-f2e5-11eb-b43a-001a7dda7111.jpg)
![](https://image.wxopen.club/content_dfb6ee9c-f2e5-11eb-b014-001a7dda7111.jpg)
5.遇到的坑:!!!
请检查微信版本,开始是微信版本8.0.2,导致点击咨询服务后没反应,最后更新了微信版本到8.0.7成功弹出二维码页面并识别
现在调试库版本2.17.3
微信版本8.0.7
插件版本1.4.2