<view class='page-container-classname' ref='saveChildRef0'>
  <zyh-navigator
    title='{{international.registration[language]}}'
    title-style='white'
    bg-color='#2F6FD1'
    ref='saveChildRef1'
  >
  </zyh-navigator>
  <view>
    <view class='top'>
      <view class='top-area'>
      </view>
    </view>
    <view class='top-item'>
      <view class='tip'>
        <text>
          {{international.Information[language]}}
        </text>
      </view>
      <zyh-face-verify
        language='{{language}}'
        companyName='{{companyName}}'
        isDisabled='{{isDisabled}}'
        userInfo='{{userInfo}}'
        type='常客'
        onCertificationState='getCertificationState'
        onUpdateState='getUpdateState'
        ref='saveChildRef2'
      >
      </zyh-face-verify>
      <block a:if='{{isDisabled&&!showMyFun}}'>
        <view a:if='{{isRegularQRCode || temporary_adminInfo}}' class='end-tip'>
          <text a:if='{{temporary_adminInfo}}'>
            {{international.Lock[language]}}
          </text>
          <text a:if='{{isRegularQRCode}}'>
            {{international.scanRegularQRCode[language]}}
          </text>
        </view>
        <view class='card card-cont'>
          <van-cell border='{{ false }}' class='label-sm' ref='saveChildRef3'>
            <view slot='title'>
              <text class="{{buildingAdminId?'text-green':'text-red'}}">
                *
              </text>
              <text class='van-cell-text'>
                {{international.building[language]}}
              </text>
            </view>
            <zyh-picker
              list='{{building_list}}'
              index='{{buildingIndex}}'
              range-key='name'
              placeholder='{{[international.select_building[language]]}}'
              data-type='buildingAdminId'
              isAudit='{{temporary_adminInfo?true:false}}'
              onChange='getValue'
              ref='saveChildRef4'
            >
            </zyh-picker>
          </van-cell>
          <van-cell a:if='{{companyList.length>0 }}' class='label-sm' ref='saveChildRef5'>
            <view slot='title'>
              <text class="{{companyAdminId?'text-green':'text-red'}}">
                *
              </text>
              <text class='van-cell-text'>
                {{international.company[language]}}
              </text>
            </view>
            <zyh-picker
              list='{{temporary_adminInfo?companyList:newCompanyList}}'
              index='{{companyIndex}}'
              range-key='name'
              placeholder='{{[international.select_company[language]]}}'
              data-type='companyAdminId'
              isAudit='{{temporary_adminInfo?true:false}}'
              onChange='getValue'
              ref='saveChildRef6'
            >
            </zyh-picker>
          </van-cell>
        </view>
        <view a:if='{{ threeCodeList.length>0}}' class='card card-cont'>
          <three_yards
            xcPhone='{{userInfo.phone}}'
            hsHour='{{hsHour}}'
            threeCodeList='{{threeCodeList}}'
            buildingId='{{buildingAdminId}}'
            onIsthreeYards='isthreeYards'
            ref='saveChildRef7'
          >
          </three_yards>
        </view>
        <custom-field
          a:if='{{isShowApplet}}'
          orgId='{{buildingAdminId}}'
          onIsFillFields='isFillFields'
          ref='saveChildRef8'
        >
        </custom-field>
      </block>
      <view a:if='{{isDisabled&&showMyFun}}' class='card'>
        <view class='title' style="padding:30rpx 0 0 20rpx;">
          {{international.function[language]}}
        </view>
        <view class='component-area'>
          <view
            a:for='{{component_list}}'
            class='component'
            a:key='{{id}}'
            data-id='{{item.id}}'
            ref-numbers='{{component_list}}'
            onTap='antmoveAction'
            data-antmove-tap='goto'
          >
            <image src='{{item.icon}}'>
            </image>
            <text>
              {{language=='ch'?item.name_ch:item.name_en}}
            </text>
          </view>
        </view>
      </view>
    </view>
    <view a:if='{{isDisabled&&!showMyFun}}' class='btn-area'>
      <btn
        class="{{isSubmit?'bg-blue':'bg-grey'}}"
        disabled='{{!isSubmit}}'
        onTap='antmoveAction'
        data-antmove-tap='sure'
      >
        {{international.submit[language]}}
      </btn>
    </view>
  </view>
</view>