index.wxml 928B

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