# callTel

weex 拨打电话接口( Promise 返回)

# 请求参数

Prop Type Required Default Description
param Object Y {}
属性:
tel:{
Type: String,
Default: N/A,
Description: 拨打的电话号码
}
title:{
Type: String,
Default: N/A,
Description: 确认框的标题,如客户服务
}
desc:{
Type: String,
Default: N/A,
Description: 确认框的描述,如拨打热线电话
}
isDirectCall:{
Type: Boolean,
Default: false,
Description: 是否不弹提示窗,直接拨打电话
}
请求参数

# 接口调用示例

this.$bridge
    .callTel(params)
    .then(res => {    
    this.$alert(res)
    })
    .catch(err => {
    this.$toast(err)
    })
1
2
3
4
5
6
7
8
Last Updated: 10/27/2020, 4:09:23 PM