index.wxml 1.0 KB

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