0.0.6 • Published 4 years ago

@mas.io/mas-phone-footer v0.0.6

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

安装

tnpm install --save @alipay/mas-phone-footer

组件介绍

行业小程序页底部电话组件 包括两种场景: 1.默认调用电话 2.需弹出picker 用户进行可选操作

参数说明

属性必填参数类型参数说明默认值示例
phonestring电话''--
typestring默认为default 支持的类型有pickerdefault--
titlestring标题描述文案''--

在小程序中使用

{
  "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

TNPM version TNPM downloads install size