运维小程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

button.wxml 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template name="button">
  2. <t-button
  3. t-id="{{tId || ''}}"
  4. block="{{block || false}}"
  5. class="{{class || ''}}"
  6. t-class="{{externalClass}}"
  7. disabled="{{disabled || false}}"
  8. data-type="{{type}}"
  9. data-extra="{{extra}}"
  10. content="{{content || ''}}"
  11. icon="{{icon || ''}}"
  12. loading="{{loading || false}}"
  13. theme="{{theme || 'default'}}"
  14. ghost="{{ghost || false}}"
  15. shape="{{shape || 'rectangle'}}"
  16. size="{{size || 'medium'}}"
  17. variant="{{variant || 'base'}}"
  18. open-type="{{openType || ''}}"
  19. hover-class="{{hoverClass || ''}}"
  20. hover-stop-propagation="{{hoverStopPropagation || false}}"
  21. hover-start-time="{{hoverStartTime || 20}}"
  22. hover-stay-time="{{hoverStayTime || 70}}"
  23. lang="{{lang || 'en'}}"
  24. session-from="{{sessionFrom || ''}}"
  25. send-message-title="{{sendMessageTitle || ''}}"
  26. send-message-path="{{sendMessagePath || ''}}"
  27. send-message-img="{{sendMessageImg || ''}}"
  28. app-parameter="{{appParameter || ''}}"
  29. show-message-card="{{showMessageCard || false}}"
  30. bind:tap="onTplButtonTap"
  31. bind:getuserinfo="onTplButtonTap"
  32. bind:contact="onTplButtonTap"
  33. bind:getphonenumber="onTplButtonTap"
  34. bind:error="onTplButtonTap"
  35. bind:opensetting="onTplButtonTap"
  36. bind:launchapp="onTplButtonTap"
  37. bind:agreeprivacyauthorization="onTplButtonTap"
  38. aria-label="{{ariaLabel || ''}}"
  39. />
  40. </template>