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:
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 !