<view>
  <view class="tag8" a:if="{{data.success}}">
    <view class="create_card_success_div_60e5799d">
      <message
        class="create_card_success_component_f4fd71ef"
        type="success"
        title="电子就诊卡创建成功"
        subTitle="电子就诊卡卡号：{{data.cardInfo.cardNum}}"
      >
      </message>
      <button class="create_card_success_component_7b0213d7" onTap="backPre" data-type="0">
        继续创建电子就诊卡
      </button>
      <button class="create_card_success_component_7b0213d7" onTap="goBack" data-back="createSucc">
        返回列表
      </button>
    </view>
  </view>
  <!-- 创建卡失败 -->
  <view class="tag9" a:if="{{data.success === false}}">
    <view class="create_card_fail_div_b62cc0e1">
      <message
        class="create_card_fail_component_65292629"
        type="fail"
        title="电子就诊卡创建失败"
        subTitle="{{data.msg}}"
      ></message>
      <button class="create_card_fail_component_5d5457eb" type="primary" onTap="backPre" data-type="0">
        重新创建
      </button>
      <button class="create_card_fail_component_adf02e14" onTap="goBack" data-back="createFail">
        返回列表
      </button>
    </view>
  </view>
</view>
