<block wx:if="{{showData}}">
  <view class="tip font14">为保证孩子能够更好地参与活动，请核对以下信息并确认~</view>
  <address show="{{showAddress}}" data="{{info.mailAddress}}" data-name="address" bind:submit="submitAddress" bind:close="closeAddress" />
  <clothesCode show="{{showCodePopup}}" bind:close="close"></clothesCode>
  <certificates show="{{catesFlag}}" bindsure="sure"></certificates>
  <view class="order-card white-bg">
    <navigator hover-class="none" class="order-card-main">
      <image src="{{info.logo}}" mode="aspectFill" binderror="errorImg"></image>
      <view class="order-card-content">
        <view class="listTitle">{{info.title}}</view>
        <text class="font12 black">
          {{info.atype == 0 ? '场次':'颜色'}}：{{info.sessionName}}
          {{info.atype == 0 ? (info.military==1?'排':'套餐'):'尺寸'}}：<block wx:for="{{info.meals}}" wx:for-index="index" wx:for-item="infoName" wx:key="index">{{infoName.policyName}}<text wx:if="{{info.military==1}}">（{{info.campSex==0?'仅女生可报':(info.campSex==1?'仅男生可报':'不限性别')}}）</text>({{infoName.num}})</block>
        </text>
      </view>
    </navigator>
  </view>
  <block wx:if="{{childArr.length>0}}">
    <view class="card" wx:for="{{childArr}}" wx:key="index">
      <view class="title"><text>出行人{{index+1}}</text></view>
      <view class="article list-block">
        <view class='item-content'>
          <view class='item-title label'>姓名</view>
          <view class='item-input'>
            <input class="input" type="text" value="{{item.name}}" placeholder='请输入儿童真实姓名' data-index="{{index}}" data-name="name" bindinput="bindinput"></input>
          </view>
        </view>
        <block wx:if="{{activiteInfo.needIdcard!='no'}}">
          <view class='item-content'>
            <view class='item-title label'>证件类型</view>
            <view class='item-input'>
              <input type="text" bindtap='selectCard' disabled value="{{item.idCardType}}"></input>
            </view>
          </view>
          <view class='item-content'>
            <view class='item-title label'>{{item.idCardType}}</view>
            <view class='item-input'>
              {{item.idcard}}
            </view>
          </view>
        </block>
        <view class='item-content'>
          <view class='item-title label'>出生日期</view>
          <view class='item-input'>
            {{item.birthdayStr}}
          </view>
        </view>
        <view class='item-content'>
          <view class='item-title label'>性别</view>
          <view class='item-input'>{{item.sex==0?'女':'男'}}</view>
        </view>
        <view class='item-content'>
          <view class='item-title label'>现在身高(CM)</view>
          <view class='item-input'>
            <input class="input" type="text" name="height" value="{{item.height}}" placeholder='请输入儿童身高，如128' type="digit" data-index="{{index}}" data-name="height" bindinput="bindinput"></input>
          </view>
        </view>
        <view class='item-content'>
          <view class='item-title label'>现在体重(KG)</view>
          <view class='item-input'>
            <input class="input" type="text" name="weight" value="{{item.weight}}" placeholder='请输入儿童体重，如32' type="digit" data-index="{{index}}" data-name="weight" bindinput="bindinput"></input>
          </view>
        </view>
        <view class='item-content'>
          <view class='item-title label'>体型</view>
          <radio-group name="bodyType" class='item-input label-radio' data-index="{{index}}" data-name="bodyType" bindchange="bindinput">
            <radio value="0" color="#EE3A43" checked="{{item.bodyType == '0' ? true:false}}">偏瘦</radio>
            <radio value="1" color="#EE3A43" checked="{{item.bodyType == '1' ? true:false}}">正常</radio>
            <radio value="2" color="#EE3A43" checked="{{item.bodyType == '2' ? true:false}}">偏胖</radio>
          </radio-group>
        </view>
        <view class='item-content' wx:if="{{activiteInfo.clothesSize==1}}">
          <view class='item-title label'>衣服尺码</view>
          <view class='item-input'>
            <picker class="input" data-index="{{index}}" data-name="clothesIndex" bindchange="bindinput" value="{{item.clothesIndex}}" range="{{item.clothesCode}}">
              <view class="picker" wx:if="{{item.clothesCode[item.clothesIndex]}}">{{item.clothesCode[item.clothesIndex]}}</view>
              <view class="picker placeholder" wx:else>请选择准确尺码</view>
            </picker>
          </view>
        </view>
        <view class='item-content' wx:if="{{activiteInfo.shoeSize==1}}">
          <view class='item-title label'>鞋码</view>
          <view class='item-input'>
            <picker class="input" data-index="{{index}}" data-name="shoesIndex" bindchange="bindinput" value="{{item.shoesIndex}}" range="{{item.shoesCode}}">
              <view class="picker" wx:if="{{item.shoesCode[item.shoesIndex]}}">{{item.shoesCode[item.shoesIndex]}}</view>
              <view class="picker placeholder" wx:else>请选择准确尺码,部分活动需要</view>
            </picker>
          </view>
        </view>
        <view class="codeTip subtitleColor" wx:if="{{activiteInfo.clothesSize==1 || activiteInfo.needIdcard==1}}"><text class="codeDetail" bindtap="CodeDetail"><text class="icon icon-alternate subtitleColor"></text>参考尺码</text></view>
        <view wx:if="{{idCard}}">
          <view class="isAllergy">是否有药物或食物过敏：</view>
          <textarea class="content" value="{{item.allergy}}" class="textarea1" data-index="{{index}}" data-name="allergy" bindinput="getTaboo" name="" id="" placeholder="请填写药物或食品过敏情况，若没有则填写无"></textarea>
          <view class="isDiet">是否有饮食禁忌：</view>
          <textarea class="content" value="{{item.diet}}" class="textarea1" data-index="{{index}}" data-name="diet" bindinput="getTaboo" name="" id="" placeholder="请填写饮食禁忌情况，若没有则填写无"></textarea>
          <view class="isTaboo">是否特殊血型/有无病史：</view>
          <textarea class="content" value="{{item.bloodOrMedical}}" class="textarea1" data-index="{{index}}" data-name="bloodOrMedical" bindinput="getTaboo" name="" id="" placeholder="请填写有无特殊血型/病史，若没有则填写无"></textarea>
          <view class="isTaboo">特别备注：</view>
          <textarea class="content" value="{{item.especiallyRemark}}" class="textarea1" data-index="{{index}}" data-name="especiallyRemark" bindinput="getTaboo" name="" id="" placeholder="如有分房分组特殊要求，请标注双方姓名；若无备注，则最大程度上锻炼孩子，根据活动组织方规则随机分组。"></textarea>
        </view>
        <view class='passport' wx:if="{{information}}">
          <!-- 护照信息： -->
          <view>
            <view class="inof">
              <view class="tit">护照信息：</view>
              <view class="subtitleColor"><text class="codeDetail" bindtap="certificates"><text class="icon icon-alternate subtitleColor"></text>证件要求</text></view>
            </view>
            <view class="aImage">
              <!-- <view wx:if="{{Passporturl==''}}" class="add" bindtap="upPassport"></view> -->
              <view class="addBox" data-index="{{index}}" bindtap="upPassport">
                <view wx:if="{{item.passport==''||item.passport==null}}" class="addIcon passIcon">
                  <text></text>
                </view>
              </view>
              <image class="Passport" wx:if="{{item.passport!=''&&item.passport!=null}}" src="{{item.passport}}"></image>
              <view class="del" bindtap="delImage" data-type="Passporturl" data-index='{{index}}' wx:if="{{item.passport!=null&&item.passport!=''}}">删除</view>
            </view>
            <view class="child_Passport">儿童护照</view>
          </view>
          <!-- 证件信息（用于购买机票 -->
          <view>
            <view class="tit info">证件信息（用于购买飞机/高铁票）：</view>
            <view class="type type2">
              <view> 证件类型：</view>
              <radio-group name="bodyType" class='label-radio' data-index="{{index}}" data-name="bodyType" bindchange="bindinputTwo">
                <radio style="margin-left: 30rpx;" value="0" color="#EE3A43" checked="{{documentType==0}}">身份证信息</radio>
                <radio value="1" color="#EE3A43" checked="{{documentType==1}}">户口本</radio>
              </radio-group>
            </view>
            <view class="subtitleColor red2">注：若孩子还没有身份证，可填写户口本信息</view>
            <view class="childId" wx:if="{{documentType==0}}">
              <view class="childID_left">
                <view class="childOne">
                  <!-- <view wx:if="{{positive==''}}" class="addId" bindtap="upId"></view> -->
                  <view class="icon" data-index="{{index}}" wx:if="{{item.idCardFront==null||item.idCardFront==''}}" bindtap="upId">
                    <view class="addIcon passIcon area">
                      <text></text>
                    </view>
                  </view>
                  <view class="view" wx:if="{{item.idCardFront!=null&&item.idCardFront!=''}}">
                    <image class="id image" src="{{item.idCardFront}}"></image>
                    <view class="Copydel" bindtap="delImage" data-index="{{index}}" data-type="positive">删除</view>
                  </view>
                  <view class="idDesc">儿童身份证正面</view>
                </view>
                <view class="childOne2">
                  <!-- <view class="addId" wx:if="{{otherSide==''}}" bindtap="upsideID">
      </view> -->
                  <view class="icon" data-index="{{index}}" wx:if="{{item.idCardBack==null||item.idCardBack==''}}" bindtap="upsideID">
                    <view class="addIcon passIcon area">
                      <text></text>
                    </view>
                  </view>

                  <view class="view" wx:if="{{item.idCardBack!=null && item.idCardBack!=''}}">
                    <image class="id" src="{{item.idCardBack}}"></image>
                    <view class="Copydel" bindtap="delImage" data-index="{{index}}" data-type="otherSide">删除</view>
                  </view>
                  <view class="idDesc">儿童身份证反面</view>
                </view>
              </view>
            </view>
            <view class="childPage" wx:if="{{documentType==1}}">
              <view data-index="{{index}}" style="background:url('https://m.bbztx.com/img/hukou_zi.gif') no-repeat;background-size:100% 408rpx" wx:if="{{item.childPage==null}}" bindtap="upHousehold"></view>
              <view class="page" wx:if="{{item.childPage==null||item.childPage==''}}">
                <view class="childPage2 addIcon passIcon aredIcon" wx:if="{{item.childPage==null||item.childPage==''}}" data-index="{{index}}" bindtap="upHousehold">
                  <text></text>
                </view>
              </view>

              <view class="view" wx:if="{{item.childPage!=null && item.childPage!=''}}">
                <image class="Passport2" src="{{item.childPage}}"></image>
                <view class="Copydel" bindtap="delImage" data-index="{{index}}" data-type="Household">删除</view>
              </view>
              <view wx:if="{{item.childPage!=null&&item.childPage!=''}}" class='idDesc'>儿童页</view>
              <view wx:if="{{item.childPage==null||item.childPage==''}}" class='idDesc2'>儿童页</view>
            </view>
          </view>
        </view>
      </view>
    </view>
  </block>

  <view class="card" style="padding-bottom: 120rpx;" wx:if="{{activiteInfo.smailAddress !='no' || activiteInfo.sremark !='no'}}">
    <view class="title"><text>订单信息</text></view>
    <view class="article list-block">
      <view class="cell" wx:if="{{activiteInfo.smailAddress !='no'}}">
        <view class="cell-title">邮寄信息</view>
        <textarea class="mailAddress cell-value {{(info.orderStatus==4||(info.orderStatus==2 && info.waitComment==0)||info.orderStatus==1)?'cell-label':''}}" placeholder="无" value="{{mailAddress}}" auto-height name="mailAddress" disabled style="text-align:left;margin-left: 40rpx;padding-right: 40rpx;" bindtap="{{(info.orderStatus==4||(info.orderStatus==2 && info.waitComment==0)||info.orderStatus==1) && !info.expList?'chooseAddress':'popTip'}}" />
      </view>
      <view class='item-content' wx:if="{{activiteInfo.sremark !='no'}}" style="align-items: flex-start;margin-top: 20rpx;">
        <view class='item-title label'>备注</view>
        <view class='item-input'>
          <textarea class="input textarea" placeholder="请输入备注" value="{{remark}}" bindinput="textareaInput" />
        </view>
      </view>
    </view>
  </view>
  <view class="btn-sub">
    <button size="" type="warn" catchtap="submit" class="button button-warn">提交</button>
  </view>
</block>