0.0.4 • Published 4 years ago

@mas.io/mas-info-card-select v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

安装

tnpm install --save @alipay/mas-info-card-select

组件介绍

行业小程序公积金信息选择卡片。

参数说明

属性必填参数类型参数说明默认值示例
titleString卡片左上角标题---
disabledBoolean右上角checkbox是否禁用false--
checkedBoolean右上角checkbox是否默认选中false--
valueString或Number选中或取消选中时回调函数携带参数,根据业务需要''--
onChoseFunction选中或取消选中时回调函数,onChose(obj)参数obj对象详情看下面---
infoListArray数据列表(默认展示前四项,其余通过点击查看更多展示),当列表小于5项时不显示展开操作---
isOpenBoolean默认是否展开false--
classNameStringclass类名---

infoList说明

属性必填参数类型参数说明默认值示例
labelString左边label值---
valueString或Number右边value值---

onChose参数说明

属性参数类型参数说明默认值示例
checkedBoolean是否选中--
valueString或Number传入的value值--

在小程序中使用

{
  "usingComponents": {
    "mas-info-card-select": "@alipay/mas-info-card-select/es/index"
  }
}

在 page.axml 中引用组件

<!-- 页面使用方式 -->
 <mas-info-card-select
    title="{{}}"
    infoList="{{}}"
    onChose=""
    value=""
  />

Badges

TNPM version TNPM downloads install size