1.0.1 • Published 3 years ago
@mas.io/adc-express-detail v1.0.1
安装
tnpm install --save @alipay/adc-express-detail
组件介绍
快递详情组件
参数说明
属性 | 必填 | 参数类型 | 参数说明 | 默认值 | 示例 |
---|---|---|---|---|---|
timeList | 是 | Array | 快递时间线列表 | [] | [] |
className | 否 | string | 自定义类名 | '' | '' |
timeList参数说明
属性 | 必填 | 参数类型 | 参数说明 | 默认值 | 示例 |
---|---|---|---|---|---|
time | 是 | string | 时间 | '' | 2021-03-31 11:32 |
status | 是 | String | 状态 | '' | '' |
des | 是 | String | 状态描述 | '' | '' |
isHtml | 是 | Boolean | 状态描述是否为html | null | true |
在小程序中使用
{
"usingComponents": {
"mas-adc-express-detail": "@alipay/adc-express-detail/es/index"
}
}
在 page.axml 中引用组件
<!-- 页面使用方式 -->
<mas-adc-express-detail timeList={{timeList}}/>
Badges
1.0.1
3 years ago