<wrapper>
  <view class="hj-bar-qr-code-container">
    <view class="bar-cls" a:if="{{showBarcode}}">
      <canvas
        id="barcode-{{ key }}"
        class="bar-code-cls"
      ></canvas>
    </view>
    <view class="qr-cls">
      <canvas
        id="qrcode-{{ key }}"
        class="qr-code-cls"
      ></canvas>
    </view>
  </view>
</wrapper>
