<view 
  class="v-btn v-btn--{{type}} v-btn--{{size}} {{disabled ? 'v-btn--disabled' : ''}} {{loading ? 'v-btn--loading' : ''}} custom-class"
  style="{{customStyle}}"
  bindtap="onTap"
  hover-class="{{disabled || loading ? '' : 'v-btn--active-' + type}}"
  hover-stay-time="70"
>
  <view wx:if="{{loading}}" class="v-btn__loading-icon"></view>
  <slot wx:else></slot>
</view>
