index.wxml 948 B

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