123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <form bindsubmit="formSubmit">
- <input hidden='true' type='text' name="id" value='{{info.id}}'></input>
- <input name="cardType" type='text' hidden='true' value='{{cardType}}'></input>
- <view class='bar-bottom buttons-row'>
- <button id="delet" class='button button-light' bindtap="del" wx:if="{{info.act == 'edit'}}">删除</button>
- <button formType="submit" id="save" class='button button-subtitle'>保存</button>
- </view>
- <view class='content'>
- <view class='content-box content-pad'>
- <view class='add-title'>
- <text class="icon icon-children middle subtitleColor"></text><text class="middle">儿童信息</text>
- <text class="prompt" bindtap="prompt">说明</text>
- </view>
- <view class='list-block add-box'>
- <view class='item-content'>
- <view class='item-title label'>姓名</view>
- <view class='item-input'>
- <input type="text" name="name" value="{{info.name}}" placeholder='请输入儿童真实姓名' ></input>
- </view>
- </view>
- <view class='item-content'>
- <view class='item-title label'>证件类型</view>
- <view class='item-input'>
- <input type="text" bindtap='selectCard' disabled value="{{cardTypeStr}}" ></input>
- </view>
- </view>
- <view class='item-content'>
- <view class='item-title label'>{{cardTypeStr}}</view>
- <view class='item-input'>
- <input type="text" name="idcard" value="{{info.idcard}}" placeholder='请输入证件号码' type="{{cardTypeStr == '内地身份证号'?'idcard':'text'}}" bindinput="cardBlur" maxlength="{{cardTypeStr == '内地身份证号'?'18':'50'}}"></input>
- </view>
- </view>
- <view class='item-content'>
- <view class='item-title label'>出生日期</view>
- <picker name="birthday" class='item-input' mode="date" value="{{birthday}}" end="{{endDate}}" bindchange="bindDateChange">
- <view class="item-date">{{birthday}}</view>
- </picker>
- </view>
- <view class='item-content'>
- <view class='item-title label'>性别</view>
- <radio-group name="sex" class='item-input label-radio' bindchange="changeSex">
- <radio disabled="{{cardTypeStr =='内地身份证号'}}" value="1" color="#EE3A43" checked="{{sex == 1 ? true:false}}"/>男
- <radio disabled="{{cardTypeStr =='内地身份证号'}}" value="0" color="#EE3A43" checked="{{sex == 0 ? true:false}}"/>女
- </radio-group>
- </view>
- <view class='item-content'>
- <view class='item-title label'>身高(CM)</view>
- <view class='item-input'>
- <input type="text" name="height" value="{{info.height}}" placeholder='请输入儿童身高,如128' type="digit"></input>
- </view>
- </view>
- <view class='item-content'>
- <view class='item-title label'>体重(KG)</view>
- <view class='item-input'>
- <input type="text" name="weight" value="{{info.weight}}" placeholder='请输入儿童体重,如32' type="digit"></input>
- </view>
- </view>
- <view class='item-content'>
- <view class='item-title label'>体型</view>
- <radio-group name="bodyType" class='item-input label-radio'>
- <radio value="0" color="#EE3A43" checked="{{info.bodyType == '0' ? true:false}}">偏瘦</radio>
- <radio value="1" color="#EE3A43" checked="{{info.bodyType == '1' ? true:false}}">正常</radio>
- <radio value="2" color="#EE3A43" checked="{{info.bodyType == '2' ? true:false}}">偏胖</radio>
- </radio-group>
- </view>
- <view class='item-content' wx:if="{{needclothessize==1}}">
- <view class='item-title label'>衣服尺码</view>
- <view class='item-input'>
- <picker data-type="clothes" bindchange="selectCode" value="{{clothesIndex}}" range="{{clothesCode}}">
- <view class="picker" wx:if="{{clothesCode[clothesIndex]}}">{{clothesCode[clothesIndex]}}</view>
- <view class="picker placeholder" wx:else>请选择准确尺码</view>
- </picker>
- </view>
- </view>
- <view class='item-content' wx:if="{{needShoeSize==1}}">
- <view class='item-title label'>鞋码</view>
- <view class='item-input'>
- <picker data-type="shoes" bindchange="selectCode" value="{{shoesIndex}}" range="{{shoesCode}}">
- <view class="picker" wx:if="{{shoesCode[shoesIndex]}}">{{shoesCode[shoesIndex]}}</view>
- <view class="picker placeholder" wx:else>请选择准确尺码,部分活动需要</view>
- </picker>
- </view>
- </view>
- <view class="codeTip subtitleColor " wx:if="{{needclothessize==1 || needShoeSize==1}}"><text class="codeDetail" bindtap="CodeDetail"><text class="icon icon-alternate subtitleColor"></text>参考尺码</text></view>
- </view>
- </view>
- <view class='content-box content-pad'>
- <view class='add-title'>
- <button id="addParent" plain="true" class='r-float button button-radius addBtn' bindtap='addParent' data-act="add">+新增</button>
- <text class="icon icon-guarder middle subtitleColor"></text><text class="middle">监护人信息</text>
- </view>
- <view class='font12 tips'>请选择儿童的一名监护人:</view>
- <radio-group name="pid" class="list-block addGuardian" bindchange="radioChange">
- <view class="item-content" wx:for-items="{{parents}}" wx:key="*this">
- <label class="item-inner">
- <view class="item-media"><radio color='#EE3A43' value="{{item.id}}" checked="{{parentid == item.id ? true:false}}" /></view>
- <view class="item-text">
- <text>{{item.name}} {{item.sex == 1 ? '男':'女'}} {{item.birthdayStr}}\n{{item.cardTypeStr}}:{{item.idcard}}</text>
- </view>
- </label>
- <view class="item-after"><text id="editParent" class="icon icon-bj font22 subtitleColor" bindtap='addParent' data-act="edit" data-id="{{item.id}}" data-name="{{item.name}}" data-sex="{{item.sex}}" data-birthday="{{item.birthdayStr}}" data-cardtype="{{item.cardType}}" data-idcard="{{item.idcard}}"></text></view>
- </view>
- </radio-group>
- </view>
- <view class='note font14'>
- <view class="title">点击保存表示您已阅读并同意以下内容:</view>
- <view class="article">您已知晓您在挑战家族录入的出行人身份证信息,将用于您签署电子版旅游合同、购买旅游保险等所需要实名制的服务,并在使用时进行验证,请确保此信息真实有效。挑战家族将通过加密等方式保护此信息,且仅在有具体交易时授权提供给相关第三方。</view>
- </view>
- </view>
- </form>
- <view class="mask" wx:if="{{mask}}">
- <view class="maskBox">
- <view class="maskContent">
- <view class="maskTitle">1.为什么要儿童证件及身高体重信息?</view>
- <view class="maskTit">答:一为儿童购买旅游保险;二为儿童选择合适尺码衣服。</view>
- <view class="maskTitle">2.为什么要家长的证件信息?</view>
- <view class="maskTit">答:因要签订电子旅游合同,儿童是未成年人,必须由监护人签订,需要签订人(即监护人)的有效证件号码。</view>
- </view>
- <view class="maskBtn" bindtap="maskBtn">确定</view>
- </view>
- </view>
- <clothesCode show="{{showCodePopup}}" bind:close="close"></clothesCode>
|