index.wxml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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. custom-style="{{customStyle}}"
  16. business-id="{{ businessId }}"
  17. session-from="{{ sessionFrom }}"
  18. app-parameter="{{ appParameter }}"
  19. send-message-img="{{ sendMessageImg }}"
  20. send-message-path="{{ sendMessagePath }}"
  21. show-message-card="{{ showMessageCard }}"
  22. send-message-title="{{ sendMessageTitle }}"
  23. bind:click="onClick"
  24. binderror="onError"
  25. bindcontact="onContact"
  26. bindopensetting="onOpenSetting"
  27. bindgetuserinfo="onGetUserInfo"
  28. bindagreeprivacyauthorization="onAgreePrivacyAuthorization"
  29. bindgetRealTimePhoneNumber="onGetRealTimePhoneNumber"
  30. bindgetphonenumber="onGetPhoneNumber"
  31. bindlaunchapp="onLaunchApp"
  32. >
  33. {{ text }}
  34. <slot></slot>
  35. </van-button>