button.wxml 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <template name="button">
  2. <t-button
  3. block="{{block}}"
  4. class="{{class}}"
  5. t-class="{{externalClass}}"
  6. disabled="{{disabled}}"
  7. data-type="{{type}}"
  8. icon="{{icon}}"
  9. loading="{{loading}}"
  10. theme="{{theme}}"
  11. shape="{{shape}}"
  12. size="{{size}}"
  13. variant="{{variant}}"
  14. open-type="{{openType}}"
  15. hover-stop-propagation="{{hoverStopPropagation}}"
  16. hover-start-time="{{hoverStartTime}}"
  17. hover-stay-time="{{hoverStayTime}}"
  18. lang="{{lang}}"
  19. session-from="{{sessionFrom}}"
  20. send-message-title="{{sendMessageTitle}}"
  21. send-message-path="{{sendMessagePath}}"
  22. send-message-img="{{sendMessageImg}}"
  23. app-parameter="{{appParameter}}"
  24. show-message-card="{{showMessageCard}}"
  25. bind:tap="onTplButtonTap"
  26. bind:getuserinfo="onTplButtonTap"
  27. bind:contact="onTplButtonTap"
  28. bind:getphonenumber="onTplButtonTap"
  29. bind:error="onTplButtonTap"
  30. bind:opensetting="onTplButtonTap"
  31. bind:launchapp="onTplButtonTap"
  32. >{{content}}</t-button
  33. >
  34. </template>