emservice

0.2.0 • Public • Published

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 模板生成的。

Readme

Keywords

none

Package Sidebar

Install

npm i emservice

Weekly Downloads

3

Version

0.2.0

License

none

Unpacked Size

289 kB

Total Files

41

Last publish

Collaborators

  • em-fe