index.wxml 857 B

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