<wxs module="utils" src="../wxs/utils.wxs"/>
<van-button
        id="{{ id }}"
        app-parameter="{{ appParameter }}"
        bind:click="onClick"
        bindagreeprivacyauthorization="onAgreePrivacyAuthorization"
        bindcontact="onContact"
        binderror="onError"
        bindgetRealTimePhoneNumber="onGetRealTimePhoneNumber"
        bindgetphonenumber="onGetPhoneNumber"
        bindgetuserinfo="onGetUserInfo"
        bindlaunchapp="onLaunchApp"
        bindopensetting="onOpenSetting"
        business-id="{{ businessId }}"
        button-id="{{ buttonId }}"
        class="{{ utils.bem('goods-action-button', [type, { first: isFirst, last: isLast, plain: plain }])}}"
        color="{{ color }}"
        custom-class="van-goods-action-button__inner custom-class"
        custom-style="{{customStyle}}"
        disabled="{{ disabled }}"
        lang="{{ lang }}"
        loading="{{ loading }}"
        open-type="{{ openType }}"
        plain="{{ plain }}"
        send-message-img="{{ sendMessageImg }}"
        send-message-path="{{ sendMessagePath }}"
        send-message-title="{{ sendMessageTitle }}"
        session-from="{{ sessionFrom }}"
        show-message-card="{{ showMessageCard }}"
        size="{{ size }}"
        type="{{ type }}"
>
    {{ text }}
    <slot></slot>
</van-button>
