0.2.0 • Published 5 years ago

emservice v0.2.0

Weekly downloads
6
License
-
Repository
-
Last release
5 years ago

B 端客服组件

Vue.js 2.x B端的业务组件。

emservice

安装

$ yarn add emservice

B 端客服组件

<Service :datas="datas" :helpStatus="helpStatus" :telStatus="telStatus" :serviceStatus="serviceStatus" />

客服 script

<script type="text/javascript" src="https://ykf-webchat.7moor.com/javascripts/7moorInit.js?accessId=89424c60-940d-11e9-b35d-ef6292b91e05&autoShow=false&language=ZHCN" async="async"></script>

API

参数说明类型是否必填默认值
fieldNames问题字段的定制Object{link_desc: \'link_desc\',link: \'link\'}
datas问题的数据Array[]
target内容链接的跳转方式String_blank
helpStatus第1个是否显示Boolean
telStatus第2个是否显示Boolean
serviceStatus第3个是否显示Boolean

需要的环境

  • node.js >= 9.0.0
  • npm >= 5.0.0

说明

本仓库是用脚手架 fecli,结合 component-template 模板生成的。