<view class='detailsCard-index {{className}}' style='{{style}}' ref='saveChildRef0'>
  <import-sjs from='../../utils/util/util.sjs' name='util'>
  </import-sjs>
  <view class='card card-padding'>
    <view class='card-cont'>
      <image class='triangle' src='/static/comment/triangle.svg'>
      </image>
      <image a:if='{{status != null}}' class='audit' src='../../static/comment/{{imageUrl}}.png'>
      </image>
      <view class='title'>
        <text>
          {{title}}
        </text>
      </view>
      <view a:if='{{type}}' class='cont'>
        <block>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title="{{language=='ch'?msg[0].label_ch:msg[0].label_en}}"
            ref='saveChildRef1'
          >
            <text>
              {{userInfo.createTime}}
            </text>
          </van-cell>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title="{{language=='ch'?msg[1].label_ch:msg[1].label_en}}"
            ref='saveChildRef2'
          >
            <text>
              {{userInfo.username}}
            </text>
          </van-cell>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title="{{language=='ch'?msg[3].label_ch:msg[3].label_en}}"
            ref='saveChildRef3'
          >
            <text>
              {{util.desensitization(userInfo.idNumber, 6, 14)}}
            </text>
          </van-cell>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title="{{language=='ch'?msg[2].label_ch:msg[2].label_en}}"
            ref='saveChildRef4'
          >
            <text>
              {{util.desensitization(userInfo.phone, 3, 7)}}
            </text>
          </van-cell>
          <van-cell
            a:if="{{item.type === 'photo'}}"
            title-class='text-gray'
            value-class='text-black'
            border='{{ false }}'
            title="{{language=='ch'?item.label_ch:item.label_en}}"
            ref='saveChildRef5'
          >
            <image class='photo' src='{{item.value}}'>
            </image>
          </van-cell>
          <block a:if='{{regularList.reviewStatus==3}}'>
            <van-cell
              custom-class='van-cell'
              title-class='text-gray'
              value-class='text-black flex-sm'
              border='{{ false }}'
              title='{{international.PassageEntry[language]}}'
              ref='saveChildRef6'
            >
              <text>
                {{regularList.snAddr|| ''}}
              </text>
            </van-cell>
            <van-cell
              custom-class='van-cell'
              title-class='text-gray'
              value-class='text-black flex-sm'
              border='{{ false }}'
              title='{{international.TimeEntry[language]}}'
              ref='saveChildRef7'
            >
              <text>
                {{regularList.inTime || ''}}
              </text>
            </van-cell>
            <van-cell
              title-class='text-gray'
              value-class='text-black'
              border='{{ false }}'
              title='{{international.EntrancePhotos[language]}}'
              ref='saveChildRef8'
            >
              <image class='photo' src='{{regularList.inPhoto}}'>
              </image>
            </van-cell>
          </block>
          <view a:if="{{item.type === 'cutLine'}}" class='cut-line-dash'>
          </view>
        </block>
        <block a:if='{{type||(regularList.reviewStatus==2&&!isRegular)}}'>
          <view class='qrcode-area'>
            <view>
              <image src='/static/comment/qrcode.png' class='img'>
              </image>
            </view>
            <text>
              {{international.click_QRcode[language]}}
            </text>
          </view>
          <view class='tip'>
            <text>
              {{international.scanning[language]}}
            </text>
          </view>
        </block>
      </view>
      <view a:else class='cont'>
        <block>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.start_time[language]}}'
            ref='saveChildRef9'
          >
            <text>
              {{regularList.startTime}}
            </text>
          </van-cell>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.end_time[language]}}'
            ref='saveChildRef10'
          >
            <text>
              {{regularList.endTime}}
            </text>
          </van-cell>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.Visit_for[language]}}'
            ref='saveChildRef11'
          >
            <text>
              {{regularList.reason || '暂未接受'}}
            </text>
          </van-cell>
          <van-cell
            a:if='{{regularList.remark}}'
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.remark[language]}}'
            ref='saveChildRef12'
          >
            <text>
              {{regularList.remark || ''}}
            </text>
          </van-cell>
          <block a:if='{{regularList.reviewStatus==3}}'>
            <van-cell
              custom-class='van-cell'
              title-class='text-gray'
              value-class='text-black flex-sm'
              border='{{ false }}'
              title='{{international.PassageEntry[language]}}'
              ref='saveChildRef13'
            >
              <text>
                {{regularList.snAddr|| ''}}
              </text>
            </van-cell>
            <van-cell
              custom-class='van-cell'
              title-class='text-gray'
              value-class='text-black flex-sm'
              border='{{ false }}'
              title='{{international.TimeEntry[language]}}'
              ref='saveChildRef14'
            >
              <text>
                {{regularList.inTime || ''}}
              </text>
            </van-cell>
            <van-cell
              title-class='text-gray'
              value-class='text-black'
              border='{{ false }}'
              title='{{international.EntrancePhotos[language]}}'
              ref='saveChildRef15'
            >
              <image class='photo' src='{{regularList.inPhoto}}'>
              </image>
            </van-cell>
          </block>
          <block a:if='{{type||(regularList.reviewStatus==2&&!isRegular)}}'>
            <view class='qrcode-area'>
              <image a:if='{{qrCodeType===1}}' src='/static/appointment_my/qrCodeLose.png'>
              </image>
              <image a:if='{{qrCodeType===2}}' src='/static/appointment_my/noTime.png'>
              </image>
              <view
                a:if='{{qrCodeType===3}}'
                onTap='antmoveAction'
                data-antmove-tap='getVisitorQrcodeId'
              >
                <image src='{{qrCode}}' class='img'>
                </image>
                <canvas
                  class='canvas-code'
                  style='background:#fff;width:176px;height: 176px; display:block; left:-800rpx;position:absolute;'
                  id='myQrcode'
                >
                </canvas>
              </view>
              <text>
                {{international.click_QRcode[language]}}
              </text>
            </view>
            <view class='tip'>
              <text>
                {{international.scanning[language]}}
              </text>
            </view>
          </block>
          <view class='cut-line-dash'>
          </view>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.Name_Visitor[language]}}'
            ref='saveChildRef16'
          >
            <text>
              {{regularList.name || '暂未接受'}}
            </text>
          </van-cell>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.phone_Visitor[language]}}'
            ref='saveChildRef17'
          >
            <text>
              {{regularList.phone}}
            </text>
          </van-cell>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.Visiting_unit[language]}}'
            ref='saveChildRef18'
          >
            <text>
              {{regularList.company || '暂未接受'}}
            </text>
          </van-cell>
          <van-cell
            a:if='{{regularList.photo}}'
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.Visitor_photo[language]}}'
            ref='saveChildRef19'
          >
            <image class='photo' src='{{regularList.photo}}'>
            </image>
          </van-cell>
          <van-cell
            a:if='{{regularList.jkm}}'
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            ref='saveChildRef20'
          >
            <view slot='title'>
              {{international.healthCode[language]}}
              <van-icon
                name='checked'
                style='color:#2dcb92'
                size='30rpx'
                ref='saveChildRef21'
              >
              </van-icon>
            </view>
            <text>
              {{regularList.jkm}}
            </text>
          </van-cell>
          <van-cell
            a:if='{{regularList.jkmPhoto}}'
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.HealthCodeScreenshot[language]}}'
            ref='saveChildRef22'
          >
            <image
              class='photo'
              src='{{regularList.jkmPhoto}}'
              data-src='{{regularList.jkmPhoto}}'
              onTap='antmoveAction'
              data-antmove-tap='preview'
            >
            </image>
          </van-cell>
          <van-cell
            a:if='{{regularList.hs}}'
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            ref='saveChildRef23'
          >
            <view slot='title'>
              {{international.Nucleate[language]}}
              <van-icon
                name='checked'
                style='color:#2dcb92'
                size='30rpx'
                ref='saveChildRef24'
              >
              </van-icon>
            </view>
            <text>
              {{regularList.hs}}
            </text>
          </van-cell>
          <van-cell
            a:if='{{regularList.hsPhoto}}'
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.NucleicScreenshots[language]}}'
            ref='saveChildRef25'
          >
            <image
              class='photo'
              src='{{regularList.hsPhoto}}'
              data-src='{{regularList.hsPhoto}}'
              onTap='antmoveAction'
              data-antmove-tap='preview'
            >
            </image>
          </van-cell>
          <van-cell
            a:if='{{regularList.xc==1}}'
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            ref='saveChildRef26'
          >
            <view slot='title'>
              {{international.TourCode[language]}}
              <van-icon
                name='checked'
                style='color:#2dcb92'
                size='30rpx'
                ref='saveChildRef27'
              >
              </van-icon>
            </view>
            <text>
              未去过高风险地区
            </text>
          </van-cell>
          <van-cell
            a:if='{{regularList.xcPhoto}}'
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.ScreenshoCode[language]}}'
            ref='saveChildRef28'
          >
            <image
              class='photo'
              src='{{regularList.xcPhoto}}'
              data-src='{{regularList.xcPhoto}}'
              onTap='antmoveAction'
              data-antmove-tap='preview'
            >
            </image>
          </van-cell>
          <view
            a:for='{{regularList.contents}}'
            a:if='{{regularList.contents}}'
            ref-numbers='{{regularList.contents}}'
          >
            <van-cell
              a:if='{{item.isShow==1}}'
              custom-class='van-cell'
              title-class='text-gray'
              value-class='text-black flex-sm'
              border='{{ false }}'
              title='{{item.customName}}'
              ref='saveChildRef29'
            >
              <image
                a:if="{{item.customType=='图片'}}"
                class='photo'
                src='{{item.customNameVal}}'
                data-src='{{item.customNameVal}}'
                onTap='antmoveAction'
                data-antmove-tap='preview'
              >
              </image>
              <text a:else>
                {{item.customNameVal}}
              </text>
            </van-cell>
          </view>
          <van-cell
            a:if='{{regularList.reviewStatus==2}}'
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.Passable_passage[language]}}'
            ref='saveChildRef30'
          >
            <text>
              {{regularList.throughList || ''}}
            </text>
          </van-cell>
          <van-cell
            a:if='{{regularList.personnelType!=null}}'
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.Personnel_type[language]}}'
            ref='saveChildRef31'
          >
            <text a:if='{{regularList.personnelType== 0}}'>
              访客
            </text>
            <text a:if='{{regularList.personnelType== 1}}'>
              同事
            </text>
            <text a:if='{{regularList.personnelType== 2}}'>
              亲属
            </text>
          </van-cell>
          <van-cell
            a:if="{{item.type === 'photo'}}"
            title-class='text-gray'
            value-class='text-black'
            border='{{ false }}'
            title="{{language=='ch'?item.label_ch:item.label_en}}"
            ref='saveChildRef32'
          >
            <image class='photo' src='{{item.value}}'>
            </image>
          </van-cell>
          <view class='cut-line-dash'>
          </view>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.Name_nterviewee[language]}}'
            ref='saveChildRef33'
          >
            <text>
              {{regularList.visiteeXm}}
            </text>
          </van-cell>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.number_person_interviewed[language]}}'
            ref='saveChildRef34'
          >
            <text>
              {{regularList.visiteePhone}}
            </text>
          </van-cell>
          <van-cell
            custom-class='van-cell'
            title-class='text-gray'
            value-class='text-black flex-sm'
            border='{{ false }}'
            title='{{international.Of_unit[language]}}'
            ref='saveChildRef35'
          >
            <text>
              {{regularList.visiteeCompany || ''}}
            </text>
          </van-cell>
        </block>
      </view>
    </view>
  </view>
</view>