0.0.4 • Published 4 years ago
@mas.io/mas-fund-progress v0.0.4
安装
tnpm install --save @alipay/mas-fund-progress
组件介绍
行业小程序公积金办事进度卡片组件。
参数说明
属性 | 是否必填 | 参数类型 | 参数说明 | 默认值 | 示例 |
---|---|---|---|---|---|
className | 否 | String | 自定义class | - | - |
title | 是 | String | 标题文案 | - | - |
content | 是 | String | 内容文案 | - | - |
status | 否 | String | 状态文案 | - | - |
color | 否 | String | 状态文案颜色 | #333 | - |
desc | 否 | String | 描述文案 | - | - |
bottomText | 否 | String | 卡片底部文案 | - | - |
onClick | 否 | Function | 点击按钮函数 (item: props) => void | - | - |
在小程序中使用
{
"usingComponents": {
"mas-fund-progress": "@alipay/mas-fund-progress/es/index"
}
}
在 page.axml 中引用组件
<!-- 页面使用方式 -->
<mas-fund-progress
title="{{title}}"
content="{{content}}"
status="审核中"
bottomText="{{bottomText}}"
desc="描述简要描述简要描述简要"
onClick="onClick"
/>