index.wxml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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="bindError"
  19. bindcontact="bindContact"
  20. bindopensetting="bindOpenSetting"
  21. bindgetuserinfo="bindGetUserInfo"
  22. bindgetphonenumber="bindGetPhoneNumber"
  23. bindlaunchapp="bindLaunchApp"
  24. >
  25. <view class="van-goods-action-icon__content">
  26. <van-icon
  27. wx:if="{{ icon }}"
  28. size="20px"
  29. name="{{ icon }}"
  30. dot="{{ dot }}"
  31. info="{{ info }}"
  32. class="van-goods-action-icon__icon"
  33. custom-class="icon-class"
  34. />
  35. <slot name="icon" />
  36. <text class="text-class">{{ text }}</text>
  37. </view>
  38. </van-button>