<view
  style="height:{{viewHeight}}"
  class="healthy-card-component-entry"
>
  <block>
    <healthy-card-auth
      a:if="{{step === 0}}"
      onAuthTap="onAuthTap"
      componentData="{{componentData}}"
    />
    <healthy-card-info
      a:if="{{step === 1}}"
      cardInfo="{{cardInfo}}"
      onNextPage="toNextPage"
      onRefreshCard="onRefreshCard"
      componentData="{{componentData}}"
    />
    <healthy-card-qrcode
      a:if="{{step >= 2}}"
      cardInfo="{{cardInfo}}"
      onRefresh="onRefreshCard"
      onBackCard="onBackCard"
    />
  </block>
  <view class="footer" a:if="{{step > 0 && componentData.componentExtInfo.companyName}}">
    <text>技术支持：{{componentData.componentExtInfo.companyName}}</text>
  </view>
</view>
