12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <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 id="save" formType="submit" class='button button-subtitle'>保存</button>
- </view>
- <view class='content'>
- <view class='subtitleColor content-pad font14'>请添加儿童或成人正确的有效证件信息。</view>
- <view class='content-box content-pad'>
- <!-- <view class='add-title'>
- <text class="icon icon-children middle"></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='请输入身高,如170' 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='请输入体重,如60' 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='note font14'>
- <view class="title">点击保存表示您已阅读并同意以下内容:</view>
- <view class="article">您已知晓您在挑战家族录入的出行人身份证信息,将用于您签署电子版旅游合同、购买旅游保险等所需要实名制的服务,并在使用时进行验证,请确保此信息真实有效。挑战家族将通过加密等方式保护此信息,且仅在有具体交易时授权提供给相关第三方。</view>
- </view>
- </view>
- </form>
- <clothesCode show="{{showCodePopup}}" bind:close="close"></clothesCode>
|