<wrapper>
  <view class="patient-detail-edit">

    <view class="patient-block">
      <view class="patient-name">{{ patient.name }}</view>
      <view class="patient-p">{{ patient.sex }}, {{ patient.age }}岁</view>
      <view class="patient-p">证件号码：{{ patient.idCardNo }}</view>
    </view>

    <view class="patient-block">
      <view class="patient-flex">
        <view class="patient-label">关系</view>
        <view class="patient-val">
          <select-relationship onChange="onChange">
            <view class="patient-flex">
              <view>{{ patient.relationShip }}</view>
              <image class="patient-icon" src="https://gw.alipayobjects.com/mdn/rms_373ab8/afts/img/A*ZiZ8Q7RKciEAAAAAAAAAAAAAARQnAQ" mode="aspectFit"></image>
            </view>
          </select-relationship>
        </view>
      </view>
    </view>

    <view class="patient-block">
      <view class="patient-flex">
        <view class="patient-label">手机号码</view>
        <view class="patient-val">{{ patient.phoneNumber }}</view>
        <view class="patient-theme" onTap="onChangePhone">修改手机号</view>
      </view>
    </view>

    <view class="patient-btn" onTap="onSubmit">保存</view>
  </view>
</wrapper>
