index.wxml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <wxs module="utils" src="../wxs/utils.wxs"/>
  2. <van-button
  3. id="{{ id }}"
  4. app-parameter="{{ appParameter }}"
  5. bind:click="onClick"
  6. bindagreeprivacyauthorization="onAgreePrivacyAuthorization"
  7. bindcontact="onContact"
  8. binderror="onError"
  9. bindgetRealTimePhoneNumber="onGetRealTimePhoneNumber"
  10. bindgetphonenumber="onGetPhoneNumber"
  11. bindgetuserinfo="onGetUserInfo"
  12. bindlaunchapp="onLaunchApp"
  13. bindopensetting="onOpenSetting"
  14. business-id="{{ businessId }}"
  15. button-id="{{ buttonId }}"
  16. class="{{ utils.bem('goods-action-button', [type, { first: isFirst, last: isLast, plain: plain }])}}"
  17. color="{{ color }}"
  18. custom-class="van-goods-action-button__inner custom-class"
  19. custom-style="{{customStyle}}"
  20. disabled="{{ disabled }}"
  21. lang="{{ lang }}"
  22. loading="{{ loading }}"
  23. open-type="{{ openType }}"
  24. plain="{{ plain }}"
  25. send-message-img="{{ sendMessageImg }}"
  26. send-message-path="{{ sendMessagePath }}"
  27. send-message-title="{{ sendMessageTitle }}"
  28. session-from="{{ sessionFrom }}"
  29. show-message-card="{{ showMessageCard }}"
  30. size="{{ size }}"
  31. type="{{ type }}"
  32. >
  33. {{ text }}
  34. <slot></slot>
  35. </van-button>