0.0.6 • Published 4 years ago
@mas.io/mas-phone-footer v0.0.6
安装
tnpm install --save @alipay/mas-phone-footer
组件介绍
行业小程序页底部电话组件 包括两种场景: 1.默认调用电话 2.需弹出picker 用户进行可选操作
参数说明
属性 | 必填 | 参数类型 | 参数说明 | 默认值 | 示例 |
---|---|---|---|---|---|
phone | 是 | string | 电话 | '' | -- |
type | 否 | string | 默认为default 支持的类型有picker | default | -- |
title | 否 | string | 标题描述文案 | '' | -- |
在小程序中使用
{
"usingComponents": {
"mas-phone-footer": "@alipay/mas-phone-footer/es/index"
}
}
在 page.axml 中引用组件
<!-- 页面使用方式 -->
<mas-phone-footer
phone="400-4444-2222"
title="页脚标题xxx"
type="default"
onPhoneClick="onPhoneClick"
/>
Badges
0.0.6
4 years ago