index.wxml 950 B

1234567891011121314151617181920212223242526272829303132333435
  1. <van-button
  2. square
  3. id="{{ id }}"
  4. size="large"
  5. lang="{{ lang }}"
  6. loading="{{ loading }}"
  7. disabled="{{ disabled }}"
  8. open-type="{{ openType }}"
  9. business-id="{{ businessId }}"
  10. custom-class="van-goods-action-icon"
  11. session-from="{{ sessionFrom }}"
  12. app-parameter="{{ appParameter }}"
  13. send-message-img="{{ sendMessageImg }}"
  14. send-message-path="{{ sendMessagePath }}"
  15. show-message-card="{{ showMessageCard }}"
  16. send-message-title="{{ sendMessageTitle }}"
  17. bind:click="onClick"
  18. binderror="onError"
  19. bindcontact="onContact"
  20. bindopensetting="onOpenSetting"
  21. bindgetuserinfo="onGetUserInfo"
  22. bindgetphonenumber="onGetPhoneNumber"
  23. bindlaunchapp="onLaunchApp"
  24. >
  25. <van-icon
  26. wx:if="{{ icon }}"
  27. name="{{ icon }}"
  28. dot="{{ dot }}"
  29. info="{{ info }}"
  30. class="van-goods-action-icon__icon"
  31. custom-class="icon-class"
  32. />
  33. <slot wx:else name="icon" />
  34. <text class="text-class">{{ text }}</text>
  35. </van-button>