以卡片的形式展示联系人信息。
import "../../components/lanyun-contact-card/lanyun-contact-card.stml";
<lanyun-contact-card @click="handleClick" type="edit" name="张三" tel="15300000000" />
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| type | 卡片类型,选填, 可选值为 add、edit |
string | add |
| name | 联系人姓名, 选填 | string | - |
| tel | 联系人电话, 选填 | string | - |
| color | 文字颜色, 选填 | string | #323233 |
| show-right-icon | 是否显示右侧按钮, 选填 | boolean | true |
| 事件名 | 说明 | 回调参数 |
|---|---|---|
| click | 卡片被点击时触发 | - |
