<!--详情 -->
<view class="tag2">
  <view class="card_detail_div_50f156f3">
    <view class="card_detail_div_637493c5">
      <avatar class="card_detail_component_9cd477d1" shape="standard"></avatar>
      <text class="card_detail_text_b74cf2ba">{{cardDetail.name}}</text>
    </view>
    <view class="card_detail_div_8060fdcf">
      <text class="card_detail_text_8511732c">{{cardDetail.viewCardNum}}</text>
      <hj-bar-qr-code a:if="{{cardDetail.cardNum}}" value="{{cardDetail.cardNum}}"></hj-bar-qr-code>
      <view class="card_detail_div_90f5265a">
        <view class="card_detail_div_e7b96eb1"></view>
        <text class="card_detail_text_231dd502">{{cardDetail.name}}</text>
        <view class="card_detail_div_b9bcd636"></view>
      </view>
      <view class="card_detail_div_363c6f7e">
        <text class="card_detail_text_ddf81569">性别</text>
        <text class="card_detail_text_8ee30bc7">{{cardDetail.sex}}</text>
      </view>
      <view class="card_detail_div_8194d536">
        <text class="card_detail_text_d88dda0c">出生年月</text>
        <text class="card_detail_text_25f841c2">{{cardDetail.birthDay}}</text>
      </view>
      <view class="card_detail_div_8ec063ef">
        <text class="card_detail_text_ec9d0f80">手机号</text>
        <text class="card_detail_text_feef1bce">{{cardDetail.viewPhoneNumber}}</text>
      </view>
      <view class="card_detail_div_b5824448">
        <text class="card_detail_text_8a465fa3">身份证</text>
        <text class="card_detail_text_e3a9d8b3">{{cardDetail.viewIdCardNo}}</text>
      </view>
      <view class="card_detail_div_03a4d9cc">
        <text class="card_detail_text_438a8d51">余额</text>
        <text class="card_detail_text_cbb9199d">{{cardDetail.balance}}</text>
      </view>
    </view>
    <view class="op-btns" a:if="{{!isEmtyDetail}}">
      <text class="card_detail_text_95baa993" onTap="toEditCard">修改就诊卡</text>
      <text class="card_detail_text_95baa993" onTap="toDelCard">删除就诊卡</text>
    </view>
    <modal
      show="{{modalOpened}}"
      showClose="{{false}}"
      onButtonClick="onButtonClick"
      buttons="{{buttonsDel}}"
    >
      <view slot="header">删除就诊卡</view>
      <input placeholder="请输入删卡原因" style="border: 1px solid #f0f0f0; text-align: left; font-size: 24rpx; width: 80%;" onInput="setReason" />
    </modal>
  </view>
</view>
