<view class='face_verify-face_verify {{className}}' style='{{style}}' ref='saveChildRef0'>
  <import-sjs from='../../utils/util/util.sjs' name='util'>
  </import-sjs>
  <view class='card card-cont'>
    <view class='title'>
      {{international.Personnel_information[language]}}
    </view>
    <view>
      <view>
        <van-cell-group border='{{ false }}' ref='saveChildRef1'>
          <van-field a:if='{{companyName != null}}' clearable class='label' value='{{companyName}}' label='{{international.company[language]}}' input-align='right' border='{{ false }}' ref='saveChildRef2'>
          </van-field>
          <block a:if="{{ language === 'ch' || userInfo }}">
            <van-field clearable class='label' onChange="getInputName" value='{{username}}' label='{{international.name[language]}}' placeholder='{{international.name_tit[language]}}' input-align='right' border='{{ false }}' ref='saveChildRef3'>
            </van-field>
            <van-field clearable onChange="getInputIdcard" value='{{idNumber}}' label='{{international.idNumber[language]}}' placeholder='{{international.idNumber_tit[language]}}' input-align='right' border='{{ false }}' type='idcard' ref='saveChildRef4'>
            </van-field>
          </block>
          <van-cell a:if="{{type==='访客'}}" title='{{international.Phone[language]}}' border='{{ false }}' ref='saveChildRef5'>
            <van-field class="phone-edit" clearable onChange="getInputPhone" value='{{phone}}' placeholder='{{international.Phone_prompt[language]}}' type="{{language=='ch'?'phone':'text'}}" input-align='right' border='{{ false }}' ref='saveChildRef11'>
            </van-field>
            <!-- <btn slot='right-icon' class='btn' hover-class='btn-click' hover-stay-time='100' open-type='getPhoneNumber' disabled='{{isDisabled}}' onGetPhoneNumber='getPhoneNumber'>
              {{userInfo&&isDisabled?util.desensitization(phone,3,7):phone?phone:international.Phone_tit[language]}}
            </btn> -->
          </van-cell>
          <van-cell a:if="{{type==='常客'}}" title-class="line-height" title='{{international.Phone[language]}}' border='{{ false }}' ref='saveChildRef6'>
            <van-field class="phone-edit" clearable onChange="getInputPhone" value='{{phone}}' placeholder='{{international.Phone_prompt[language]}}' type="{{language=='ch'?'phone':'text'}}" input-align='right' border='{{ false }}' ref='saveChildRef7'>
            </van-field>
            <!-- <btn slot='right-icon' class='btn btn1' open-type='getPhoneNumber' disabled='{{isDisabled}}' onGetPhoneNumber='getPhoneNumber'>
              {{international.Gain[language]}}
            </btn> -->
          </van-cell>
        </van-cell-group>
      </view>
      <view a:if="{{language === 'en' && !isDisabled && !userInfo}}">
        <view class='btn-area'>
          <btn hover-class='btn-click-submit' hover-stay-time='100' onTap='antmoveAction' data-antmove-tap='getAuthCode'>
            <!-- {{international.clickAuthentication[language]}} -->
            {{international.Certification[language]}}
          </btn>
        </view>
      </view>
      <view class='btn-area' a:if="{{(language === 'ch' && !isDisabled) || (language === 'en' && !isDisabled && userInfo)}}">
        <btn a:if="{{language === 'ch' && !isDisabled}}" onTap='antmoveAction' data-antmove-tap='Certification'>
          {{international.Certification[language]}}
        </btn>
        <btn hover-class='btn-click-submit' hover-stay-time='100' a:if="{{language === 'en' && !isDisabled && userInfo}}" onTap='antmoveAction' data-antmove-tap='update'>
          {{international.confirm[language]}}
        </btn>
      </view>
    </view>
  </view>
</view>