<!--packageI/parkCouponFree/components/car-number-keyboard/car-number-keyboard.wxml-->
<view class="custom-keyboard {{show?'show':'hide'}}">
  <!-- 工具栏 -->
  <view class="toolbar">
    <text class="complete" bindtap="hide">完成</text>
  </view>
  <!--  键盘 -->
  <view class="keyboard">
    <view class="row" wx:for="{{keyboard}}" wx:for-item="rows" wx:for-index="rowIndex" wx:key="rowIndex">
      <block wx:for="{{rows}}" wx:for-item="col" wx:key="col">
        <text wx:if="{{col.disabled}}" class="col disabled">{{col.value}}</text>
        <text wx:elif="{{col.empty}}" class="col empty">{{col.value}}</text>
        <view wx:elif="{{col.backspace}}" class="col backspace" bindtap="delete">
          <!-- <image class="icon" src="/images/backspace.png"></image> -->
          删除
        </view>
        <text wx:else class="col" bindtap="click" data-value="{{col}}">{{col}}</text>
      </block>
    </view>
  </view>
  <!-- 底部，高度适配safeArea -->
  <view class="footer"></view>
</view>