微信小程序,联系客服
<button open-type="contact" class="info_type">
<view class="type_left">
<image src="/images/person/contact.png" />
</view>
<view class="type_right">
<text class="type_title">客服</text>
<image class="more" src="/images/common/more_gray.png" />
</view>
</button>
<button open-type="contact" bindcontact="handleContact"></button>
Page({
handleContact (e) {
console.log(e.detail.path)
console.log(e.detail.query)
}
})