0.1.1 • Published 2 years ago

@lego-mobile/customer-card v0.1.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

CustomerCard - 客户卡片

客户信息卡片。

安装

npm install @lego-mobile/customer-card --save
# or
yarn add @lego-mobile/customer-card

规则

  • 客户信息卡片
    • 基本信息:客户经济号、客户名称、客户头像(可选)
    • 自定义模块,如资产信息等
  • 头部信息
  • 底部信息

代码演示

基本使用

基金投顾-潜客列表

基金投顾-断点线索

售后服务-产品报告

API

属性类型默认值说明
prefixCls类名前缀Stringlego
classnames自定义类名String''
basic基础卡片booleanfalse
custId客户号String''
custName客户姓名String''
avatar是否需要展示客户头像ReactNode|booleanfalse
labels客户标签ReactNodenull
onClick客户信息区域点击事件Function-
header自定义顶部信息ReactNodenull
footer自定义底部信息ReactNodenull
extra卡片右上角的操作区域ReactNodenull