Home  >  Article  >  WeChat Applet  >  How to set up making calls in WeChat mini program

How to set up making calls in WeChat mini program

高洛峰
高洛峰Original
2017-03-03 10:27:135842browse

What we are going to introduce today is: how to make a call in the WeChat applet. It is required to click to enter the call page and make a call. Imitate us entering the customer phone page and dialing the customer service number.
The rendering is as follows:

How to set up making calls in WeChat mini program

The home page code is as follows:

<view class="copyright">
    <view class="copyright_item">CopyRight:All Right Reserved</view>
    <view class="copyright_item">原创作者:HTML51.COM</view>
    <view class="copyright_item">微信小程序开发平台-51小程序</view>
    <view class="copyright_item"><image class="img" src="../copyright/image/logo.png"/></view>
    <view class="goto_counter"><button type="default" bindtap="goto_counter">点击进入拨打电话页面</button></view>
</view>

For more related articles on how to set up phone calls in the WeChat applet, please pay attention to the PHP Chinese website !

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn