<view class="healthy-card-qrcode-container">
    <view class="card-container">
      <view class="card-header">
        <view class="card-header-left">
          <view class="user-name">
            {{cardInfo.userName || '用户姓名'}}
          </view>
          <view class="user-id-card">
            {{cardInfo.idCard || '用户身份证号码'}}
          </view>
        </view>
        <view
          onTap="onRefresh"
          class="card-header-right"
        >
          <image
            class="refresh-icon"
            src="{{refreshIcon}}"
          />
          <text>刷新</text>
        </view>
      </view>
      <view class="qrcode-container">
        <view class="loading-container" a:if="{{loading}}">
          <loading />
        </view>
        <block a:else>
          <image
            class="qrcode-img"
            src="{{cardInfo.qrCodeUrl}}"
          />
        </block>
      </view>
    </view>
    <view class="butBox">
      <button onTap="onBack" class="but">
        返回
      </button>
    </view>
</view>
