微信小程序,联系客服

<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)
    }
})

posted @ 2020-10-21 16:28  TBHacker  阅读(441)  评论(0编辑  收藏  举报