GithubHelp home page GithubHelp logo

hikefu's Introduction

小程序里面的客服按钮各种样例

小程序客服接入按钮各种说明

1.普通客服按钮

<button type='default' open-type='contact'> 联系客服 </button>

2.把用户的头像和昵称传递给客服系统

<button type='default' session-from='{"nickName":"{{userInfo.nickName}}","avatarUrl":"{{userInfo.avatarUrl}}"}' open-type="contact" >联系客服(传递信息)</button>

3.直接提示用户是否发送小程序卡片 效果如下

实现代码

<button send-message-title="分享标题" send-message-img="分享的单个图片链接"
show-message-card="true" send-message-path="../index/index?id={{id}}"
class='details_button' open-type='contact' plain>
  </button>

主要用到以下几个属性 send-message-title 分享的标题 send-message-path 分享的路径 send-message-img 就是上图所看到的图片 show-message-card 显示会话内消息卡片(必须为true,不然没法分享) 这里写图片描述

image

小程序的客服消息会被发送到 这里 这是一个微信官方提供的客服消息回复工具

当然您也可以选择第三方开发的系统,下面这个是我们的一个客服系统,微信小程序即可回复,有需要的可以用用看

image

hikefu's People

Contributors

xiaomm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zengpanzp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.