index.wxml 968 B

1234567891011121314151617181920
  1. <button
  2. class="i-class i-btn {{ long ? 'i-btn-long' : '' }} {{ 'i-btn-' + size }} {{ 'i-btn-' + type }} {{ 'i-btn-' + shape }} {{ loading ? 'i-btn-loading' : '' }} {{ disabled ? 'i-btn-disabled' : ''}} {{ inline ? 'i-btn-inline' : '' }}"
  3. hover-class="i-btn-hover"
  4. bindtap="handleTap"
  5. open-type="{{ openType }}"
  6. app-parameter="{{ appParameter }}"
  7. hover-stop-propagation="{{ hoverStopPropagation }}"
  8. hover-start-time="{{ hoverStartTime }}"
  9. hover-stay-time="{{ hoverStayTime }}"
  10. session-from="{{ sessionFrom }}"
  11. send-message-title="{{ sendMessageTitle }}"
  12. send-message-path="{{ sendMessagePath }}"
  13. send-message-img="{{ sendMessageImg }}"
  14. show-message-card="{{ showMessageCard }}"
  15. bindcontact="bindcontact"
  16. bindgetuserinfo="bindgetuserinfo"
  17. bindgetphonenumber="bindgetphonenumber"
  18. binderror="binderror"
  19. plain="true"
  20. ><view class="i-btn-loading-inner" wx:if="{{loading}}"></view><slot></slot></button>