1.小程序

<view class="info-item">
    <text>客服电话:</text>
    <text bindtap="fnCallPhoneKf">456789</text>
</view>


  fnCallPhoneKf(){
    wx.makePhoneCall({
      phoneNumber: '4001601519'
    })
  }

 

2.taro

 <View className="member_con-list-box2" onClick={this.callPhone.bind(this)}>
       <View className="member_con-list-box-text">联系客服</View>
 </View>

callPhone() {
    var that = this
    Taro.makePhoneCall({
      phoneNumber: '45678'
    })
}

  

 

相关文章:

  • 2022-12-23
  • 2021-12-15
  • 2021-10-01
  • 2022-12-23
  • 2021-11-23
  • 2021-12-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-11
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
相关资源
相似解决方案