<label for="{{name}}" bindtap="handleTap">
  <block wx:if="{{special}}">
    <slot/>
  </block>
  <block wx:else>
    <view class="l-btn {{ 'l-btn-' + size }} {{ 'l-btn-' + type }} {{ 'l-btn-' + shape }} {{plain?'l-btn-plain':''}} {{ disabled ? 'l-btn-disabled' : ''}} l-class " 
          hover-class="btn-hover l-hover-class"
          hover-stop-propagation="{{hoverStopPropagation}}"
          hover-start-time="{{hoverStartTime}}"
          hover-stay-time="{{hoverStayTime}}"
          style="{{width?'min-width:'+width+'rpx;':''}} {{height?'height:'+height+'rpx;'+'line-height:'+height+'rpx;':''}} {{size=='long'?'border-radius:0':''}}">
      <view wx:if="{{loading}}" class="l-btn-loading {{'margin-' + size}} {{ plain ?'l-btn-loading-' + type : '' }}"></view>
      <l-icon class="{{'margin-' + size}}" wx:if="{{icon}}" name="{{icon}}" color="{{iconColor}}" size="{{iconSize}}" />
      <slot/>
    </view>
  </block>
</label>
<button style="dispaly:none"
        wx:if="{{openType}}"
        id="{{name}}" 
        lang="{{lang}}" 
        form-type="{{formType}}" 
        open-type="{{openType}}" 
        app-parameter="{{ appParameter }}" 
        hover-stop-propagation="{{ hoverStopPropagation }}" 
        hover-start-time="{{ hoverStartTime }}" 
        hover-stay-time="{{ hoverStayTime }}"
        session-from="{{ sessionFrom }}" 
        send-message-title="{{ sendMessageTitle }}" 
        send-message-path="{{ sendMessagePath }}" 
        send-message-img="{{ sendMessageImg }}" 
        show-message-card="{{ showMessageCard }}" 
        bindcontact="openTypeEvent" 
        bindtap="openTypeEvent"
        bindgetphonenumber="openTypeEvent" 
        bindopensetting="openTypeEvent">
</button>