single.wxml 5.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <form bindsubmit="formSubmit">
  2. <input hidden='true' type='text' name="id" value='{{info.id}}'></input>
  3. <input name="cardType" type='text' hidden='true' value='{{cardType}}'></input>
  4. <view class='bar-bottom buttons-row'>
  5. <button id="delet" class='button button-light' bindtap="del" wx:if="{{info.act == 'edit'}}">删除</button>
  6. <button id="save" formType="submit" class='button button-subtitle'>保存</button>
  7. </view>
  8. <view class='content'>
  9. <view class='subtitleColor content-pad font14'>请添加儿童或成人正确的有效证件信息。</view>
  10. <view class='content-box content-pad'>
  11. <!-- <view class='add-title'>
  12. <text class="icon icon-children middle"></text><text class="middle">儿童信息</text>
  13. <text class="prompt" bindtap="prompt">说明?</text>
  14. </view> -->
  15. <view class='list-block add-box'>
  16. <view class='item-content'>
  17. <view class='item-title label'>姓名</view>
  18. <view class='item-input'>
  19. <input type="text" name="name" value="{{info.name}}" placeholder='请输入真实姓名' ></input>
  20. </view>
  21. </view>
  22. <view class='item-content'>
  23. <view class='item-title label'>证件类型</view>
  24. <view class='item-input'>
  25. <input type="text" bindtap='selectCard' disabled value="{{cardTypeStr}}" ></input>
  26. </view>
  27. </view>
  28. <view class='item-content'>
  29. <view class='item-title label'>{{cardTypeStr}}</view>
  30. <view class='item-input'>
  31. <input type="text" name="idcard" value="{{info.idcard}}" placeholder='请输入证件号码' type="{{cardTypeStr == '内地身份证号'?'idcard':'text'}}" bindinput="cardBlur" maxlength="{{cardTypeStr == '内地身份证号'?'18':'50'}}"></input>
  32. </view>
  33. </view>
  34. <view class='item-content'>
  35. <view class='item-title label'>出生日期</view>
  36. <picker name="birthday" class='item-input' mode="date" value="{{birthday}}" end="{{endDate}}" bindchange="bindDateChange">
  37. <view class="item-date">{{birthday}}</view>
  38. </picker>
  39. </view>
  40. <view class='item-content'>
  41. <view class='item-title label'>性别</view>
  42. <radio-group name="sex" class='item-input label-radio' bindchange="changeSex">
  43. <radio disabled="{{cardTypeStr =='内地身份证号'}}" value="1" color="#EE3A43" checked="{{sex == 1 ? true:false}}"/>男
  44. <radio disabled="{{cardTypeStr =='内地身份证号'}}" value="0" color="#EE3A43" checked="{{sex == 0 ? true:false}}"/>女
  45. </radio-group>
  46. </view>
  47. <view class='item-content'>
  48. <view class='item-title label'>身高(CM)</view>
  49. <view class='item-input'>
  50. <input type="text" name="height" value="{{info.height}}" placeholder='请输入身高,如170' type="digit"></input>
  51. </view>
  52. </view>
  53. <view class='item-content'>
  54. <view class='item-title label'>体重(KG)</view>
  55. <view class='item-input'>
  56. <input type="text" name="weight" value="{{info.weight}}" placeholder='请输入体重,如60' type="digit"></input>
  57. </view>
  58. </view>
  59. <view class='item-content'>
  60. <view class='item-title label'>体型</view>
  61. <radio-group name="bodyType" class='item-input label-radio'>
  62. <radio value="0" color="#EE3A43" checked="{{info.bodyType == '0' ? true:false}}">偏瘦</radio>
  63. <radio value="1" color="#EE3A43" checked="{{info.bodyType == '1' ? true:false}}">正常</radio>
  64. <radio value="2" color="#EE3A43" checked="{{info.bodyType == '2' ? true:false}}">偏胖</radio>
  65. </radio-group>
  66. </view>
  67. <view class='item-content' wx:if="{{needclothessize==1}}">
  68. <view class='item-title label'>衣服尺码</view>
  69. <view class='item-input'>
  70. <picker data-type="clothes" bindchange="selectCode" value="{{clothesIndex}}" range="{{clothesCode}}">
  71. <view class="picker" wx:if="{{clothesCode[clothesIndex]}}">{{clothesCode[clothesIndex]}}</view>
  72. <view class="picker placeholder" wx:else>请选择准确尺码</view>
  73. </picker>
  74. </view>
  75. </view>
  76. <view class='item-content' wx:if="{{needShoeSize==1}}">
  77. <view class='item-title label'>鞋码</view>
  78. <view class='item-input'>
  79. <picker data-type="shoes" bindchange="selectCode" value="{{shoesIndex}}" range="{{shoesCode}}">
  80. <view class="picker" wx:if="{{shoesCode[shoesIndex]}}">{{shoesCode[shoesIndex]}}</view>
  81. <view class="picker placeholder" wx:else>请选择准确尺码,部分活动需要</view>
  82. </picker>
  83. </view>
  84. </view>
  85. <view class="codeTip subtitleColor" wx:if="{{needclothessize==1 || needShoeSize==1}}"><text class="codeDetail" bindtap="CodeDetail"><text class="icon icon-alternate subtitleColor"></text>参考尺码</text></view>
  86. </view>
  87. </view>
  88. <view class='note font14'>
  89. <view class="title">点击保存表示您已阅读并同意以下内容:</view>
  90. <view class="article">您已知晓您在挑战家族录入的出行人身份证信息,将用于您签署电子版旅游合同、购买旅游保险等所需要实名制的服务,并在使用时进行验证,请确保此信息真实有效。挑战家族将通过加密等方式保护此信息,且仅在有具体交易时授权提供给相关第三方。</view>
  91. </view>
  92. </view>
  93. </form>
  94. <clothesCode show="{{showCodePopup}}" bind:close="close"></clothesCode>