0.0.4 • Published 4 years ago

@mas.io/mas-extract-loan-card v0.0.4

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

安装

tnpm install --save @mas.io/mas-extract-loan-card

组件介绍

行业小程序公积金提取或贷款卡片信息。

参数说明

属性是否必填参数类型参数说明默认值示例
classNameString自定义class--
titleString标题文案--
contentString内容文案--
descString描述文案--
buttonTextString按钮文案,不传默认没有按钮--
errorBoolean卡片报错兜底false-
errorTextString报错兜底文案默认文案-
onClickFunction点击按钮函数 (item: props) => void--

在小程序中使用

{
  "usingComponents": {
    "mas-extract-loan-card": "@mas.io/mas-extract-loan-card/es/index"
  }
}

在 page.axml 中引用组件

<!-- 页面使用方式 -->
 <mas-extract-loan-card
    title="我的提取"
    content="可以提取"
    desc="desc"
    buttonText="{{buttonText}}"
    onClick="onClick"
    error="{{error}}"
  />

Badges

TNPM version TNPM downloads install size