index.wxml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <block wx:if="{{showData}}">
  2. <view class="tip font14">为保证孩子能够更好地参与活动,请核对以下信息并确认~</view>
  3. <address show="{{showAddress}}" data="{{info.mailAddress}}" data-name="address" bind:submit="submitAddress" bind:close="closeAddress" />
  4. <clothesCode show="{{showCodePopup}}" bind:close="close"></clothesCode>
  5. <certificates show="{{catesFlag}}" bindsure="sure"></certificates>
  6. <view class="order-card white-bg">
  7. <navigator hover-class="none" class="order-card-main">
  8. <image src="{{info.logo}}" mode="aspectFill" binderror="errorImg"></image>
  9. <view class="order-card-content">
  10. <view class="listTitle">{{info.title}}</view>
  11. <text class="font12 black">
  12. {{info.atype == 0 ? '场次':'颜色'}}:{{info.sessionName}}
  13. {{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>
  14. </text>
  15. </view>
  16. </navigator>
  17. </view>
  18. <block wx:if="{{childArr.length>0}}">
  19. <view class="card" wx:for="{{childArr}}" wx:key="index">
  20. <view class="title"><text>出行人{{index+1}}</text></view>
  21. <view class="article list-block">
  22. <view class='item-content'>
  23. <view class='item-title label'>姓名</view>
  24. <view class='item-input'>
  25. <input class="input" type="text" value="{{item.name}}" placeholder='请输入儿童真实姓名' data-index="{{index}}" data-name="name" bindinput="bindinput"></input>
  26. </view>
  27. </view>
  28. <block wx:if="{{activiteInfo.needIdcard!='no'}}">
  29. <view class='item-content'>
  30. <view class='item-title label'>证件类型</view>
  31. <view class='item-input'>
  32. <input type="text" bindtap='selectCard' disabled value="{{item.idCardType}}"></input>
  33. </view>
  34. </view>
  35. <view class='item-content'>
  36. <view class='item-title label'>{{item.idCardType}}</view>
  37. <view class='item-input'>
  38. {{item.idcard}}
  39. </view>
  40. </view>
  41. </block>
  42. <view class='item-content'>
  43. <view class='item-title label'>出生日期</view>
  44. <view class='item-input'>
  45. {{item.birthdayStr}}
  46. </view>
  47. </view>
  48. <view class='item-content'>
  49. <view class='item-title label'>性别</view>
  50. <view class='item-input'>{{item.sex==0?'女':'男'}}</view>
  51. </view>
  52. <view class='item-content'>
  53. <view class='item-title label'>现在身高(CM)</view>
  54. <view class='item-input'>
  55. <input class="input" type="text" name="height" value="{{item.height}}" placeholder='请输入儿童身高,如128' type="digit" data-index="{{index}}" data-name="height" bindinput="bindinput"></input>
  56. </view>
  57. </view>
  58. <view class='item-content'>
  59. <view class='item-title label'>现在体重(KG)</view>
  60. <view class='item-input'>
  61. <input class="input" type="text" name="weight" value="{{item.weight}}" placeholder='请输入儿童体重,如32' type="digit" data-index="{{index}}" data-name="weight" bindinput="bindinput"></input>
  62. </view>
  63. </view>
  64. <view class='item-content'>
  65. <view class='item-title label'>体型</view>
  66. <radio-group name="bodyType" class='item-input label-radio' data-index="{{index}}" data-name="bodyType" bindchange="bindinput">
  67. <radio value="0" color="#EE3A43" checked="{{item.bodyType == '0' ? true:false}}">偏瘦</radio>
  68. <radio value="1" color="#EE3A43" checked="{{item.bodyType == '1' ? true:false}}">正常</radio>
  69. <radio value="2" color="#EE3A43" checked="{{item.bodyType == '2' ? true:false}}">偏胖</radio>
  70. </radio-group>
  71. </view>
  72. <view class='item-content' wx:if="{{activiteInfo.clothesSize==1}}">
  73. <view class='item-title label'>衣服尺码</view>
  74. <view class='item-input'>
  75. <picker class="input" data-index="{{index}}" data-name="clothesIndex" bindchange="bindinput" value="{{item.clothesIndex}}" range="{{item.clothesCode}}">
  76. <view class="picker" wx:if="{{item.clothesCode[item.clothesIndex]}}">{{item.clothesCode[item.clothesIndex]}}</view>
  77. <view class="picker placeholder" wx:else>请选择准确尺码</view>
  78. </picker>
  79. </view>
  80. </view>
  81. <view class='item-content' wx:if="{{activiteInfo.shoeSize==1}}">
  82. <view class='item-title label'>鞋码</view>
  83. <view class='item-input'>
  84. <picker class="input" data-index="{{index}}" data-name="shoesIndex" bindchange="bindinput" value="{{item.shoesIndex}}" range="{{item.shoesCode}}">
  85. <view class="picker" wx:if="{{item.shoesCode[item.shoesIndex]}}">{{item.shoesCode[item.shoesIndex]}}</view>
  86. <view class="picker placeholder" wx:else>请选择准确尺码,部分活动需要</view>
  87. </picker>
  88. </view>
  89. </view>
  90. <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>
  91. <view wx:if="{{idCard}}">
  92. <view class="isAllergy">是否有药物或食物过敏:</view>
  93. <textarea class="content" value="{{item.allergy}}" class="textarea1" data-index="{{index}}" data-name="allergy" bindinput="getTaboo" name="" id="" placeholder="请填写药物或食品过敏情况,若没有则填写无"></textarea>
  94. <view class="isDiet">是否有饮食禁忌:</view>
  95. <textarea class="content" value="{{item.diet}}" class="textarea1" data-index="{{index}}" data-name="diet" bindinput="getTaboo" name="" id="" placeholder="请填写饮食禁忌情况,若没有则填写无"></textarea>
  96. <view class="isTaboo">是否特殊血型/有无病史:</view>
  97. <textarea class="content" value="{{item.bloodOrMedical}}" class="textarea1" data-index="{{index}}" data-name="bloodOrMedical" bindinput="getTaboo" name="" id="" placeholder="请填写有无特殊血型/病史,若没有则填写无"></textarea>
  98. <view class="isTaboo">特别备注:</view>
  99. <textarea class="content" value="{{item.especiallyRemark}}" class="textarea1" data-index="{{index}}" data-name="especiallyRemark" bindinput="getTaboo" name="" id="" placeholder="如有分房分组特殊要求,请标注双方姓名;若无备注,则最大程度上锻炼孩子,根据活动组织方规则随机分组。"></textarea>
  100. </view>
  101. <view class='passport' wx:if="{{information}}">
  102. <!-- 护照信息: -->
  103. <view>
  104. <view class="inof">
  105. <view class="tit">护照信息:</view>
  106. <view class="subtitleColor"><text class="codeDetail" bindtap="certificates"><text class="icon icon-alternate subtitleColor"></text>证件要求</text></view>
  107. </view>
  108. <view class="aImage">
  109. <!-- <view wx:if="{{Passporturl==''}}" class="add" bindtap="upPassport"></view> -->
  110. <view class="addBox" data-index="{{index}}" bindtap="upPassport">
  111. <view wx:if="{{item.passport==''||item.passport==null}}" class="addIcon passIcon">
  112. <text></text>
  113. </view>
  114. </view>
  115. <image class="Passport" wx:if="{{item.passport!=''&&item.passport!=null}}" src="{{item.passport}}"></image>
  116. <view class="del" bindtap="delImage" data-type="Passporturl" data-index='{{index}}' wx:if="{{item.passport!=null&&item.passport!=''}}">删除</view>
  117. </view>
  118. <view class="child_Passport">儿童护照</view>
  119. </view>
  120. <!-- 证件信息(用于购买机票 -->
  121. <view>
  122. <view class="tit info">证件信息(用于购买飞机/高铁票):</view>
  123. <view class="type type2">
  124. <view> 证件类型:</view>
  125. <radio-group name="bodyType" class='label-radio' data-index="{{index}}" data-name="bodyType" bindchange="bindinputTwo">
  126. <radio style="margin-left: 30rpx;" value="0" color="#EE3A43" checked="{{documentType==0}}">身份证信息</radio>
  127. <radio value="1" color="#EE3A43" checked="{{documentType==1}}">户口本</radio>
  128. </radio-group>
  129. </view>
  130. <view class="subtitleColor red2">注:若孩子还没有身份证,可填写户口本信息</view>
  131. <view class="childId" wx:if="{{documentType==0}}">
  132. <view class="childID_left">
  133. <view class="childOne">
  134. <!-- <view wx:if="{{positive==''}}" class="addId" bindtap="upId"></view> -->
  135. <view class="icon" data-index="{{index}}" wx:if="{{item.idCardFront==null||item.idCardFront==''}}" bindtap="upId">
  136. <view class="addIcon passIcon area">
  137. <text></text>
  138. </view>
  139. </view>
  140. <view class="view" wx:if="{{item.idCardFront!=null&&item.idCardFront!=''}}">
  141. <image class="id image" src="{{item.idCardFront}}"></image>
  142. <view class="Copydel" bindtap="delImage" data-index="{{index}}" data-type="positive">删除</view>
  143. </view>
  144. <view class="idDesc">儿童身份证正面</view>
  145. </view>
  146. <view class="childOne2">
  147. <!-- <view class="addId" wx:if="{{otherSide==''}}" bindtap="upsideID">
  148. </view> -->
  149. <view class="icon" data-index="{{index}}" wx:if="{{item.idCardBack==null||item.idCardBack==''}}" bindtap="upsideID">
  150. <view class="addIcon passIcon area">
  151. <text></text>
  152. </view>
  153. </view>
  154. <view class="view" wx:if="{{item.idCardBack!=null && item.idCardBack!=''}}">
  155. <image class="id" src="{{item.idCardBack}}"></image>
  156. <view class="Copydel" bindtap="delImage" data-index="{{index}}" data-type="otherSide">删除</view>
  157. </view>
  158. <view class="idDesc">儿童身份证反面</view>
  159. </view>
  160. </view>
  161. </view>
  162. <view class="childPage" wx:if="{{documentType==1}}">
  163. <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>
  164. <view class="page" wx:if="{{item.childPage==null||item.childPage==''}}">
  165. <view class="childPage2 addIcon passIcon aredIcon" wx:if="{{item.childPage==null||item.childPage==''}}" data-index="{{index}}" bindtap="upHousehold">
  166. <text></text>
  167. </view>
  168. </view>
  169. <view class="view" wx:if="{{item.childPage!=null && item.childPage!=''}}">
  170. <image class="Passport2" src="{{item.childPage}}"></image>
  171. <view class="Copydel" bindtap="delImage" data-index="{{index}}" data-type="Household">删除</view>
  172. </view>
  173. <view wx:if="{{item.childPage!=null&&item.childPage!=''}}" class='idDesc'>儿童页</view>
  174. <view wx:if="{{item.childPage==null||item.childPage==''}}" class='idDesc2'>儿童页</view>
  175. </view>
  176. </view>
  177. </view>
  178. </view>
  179. </view>
  180. </block>
  181. <view class="card" style="padding-bottom: 120rpx;" wx:if="{{activiteInfo.smailAddress !='no' || activiteInfo.sremark !='no'}}">
  182. <view class="title"><text>订单信息</text></view>
  183. <view class="article list-block">
  184. <view class="cell" wx:if="{{activiteInfo.smailAddress !='no'}}">
  185. <view class="cell-title">邮寄信息</view>
  186. <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'}}" />
  187. </view>
  188. <view class='item-content' wx:if="{{activiteInfo.sremark !='no'}}" style="align-items: flex-start;margin-top: 20rpx;">
  189. <view class='item-title label'>备注</view>
  190. <view class='item-input'>
  191. <textarea class="input textarea" placeholder="请输入备注" value="{{remark}}" bindinput="textareaInput" />
  192. </view>
  193. </view>
  194. </view>
  195. </view>
  196. <view class="btn-sub">
  197. <button size="" type="warn" catchtap="submit" class="button button-warn">提交</button>
  198. </view>
  199. </block>