requirements.wxml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. <!-- <view hidden="{{viewhiddenName}}"> -->
  2. <!-- 填写资料 -->
  3. <view class='data_box'>
  4. <!-- 姓名 -->
  5. <!-- <view class='data_name c'>
  6. <text>我的姓名</text>
  7. <input type='text' placeholder="填写您的姓名" bindinput="getPhone" value="{{personal.nickname}}"></input>
  8. </view> -->
  9. <!-- 性别 单项选择器-->
  10. <!-- <view class="Choice_dx_box" >
  11. <picker bindchange="GenderEvent" value="{{index}}" range="{{selectArray}}">
  12. <view class='Choice_dx c'>
  13. <view class="Choice_dx_title">我想找对象</view>
  14. <view class='Choice_dx_text' wx:if='{{personacodel.code == 201}}'>
  15. {{selectArray[index] ? selectArray[index] : personal.sex}}
  16. </view>
  17. <view class='Choice_dx_text' wx:else>
  18. {{selectArray[index] ? selectArray[index] : "请选择"}}
  19. </view>
  20. </view>
  21. </picker>
  22. </view> -->
  23. <!-- <view class="Choice_dx_box" data-da="{{personacodel.data.age_max}}">
  24. <picker mode="multiSelector" bindchange="AgeEvent" value="{{AgeIndex}}" range="{{AgeArray}}">
  25. <view class='Choice_dx c'>
  26. <view class="Choice_dx_title">年龄要求</view>
  27. <view class="Choice_dx_text picker" wx:if='{{Ageid == 0}}'>
  28. <block wx:if='{{personacodel.code == 201}}'>
  29. {{AgeArray[0][AgeIndex[0]] +'-' + AgeArray[1][AgeIndex[1]] == '不限-以上' ? '无需求' : AgeArray[0][AgeIndex[0]] +'-' + AgeArray[1][AgeIndex[1]]}}
  30. </block>
  31. <block wx:else>无需求</block>
  32. </view>
  33. <view class="Choice_dx_text picker" wx:if='{{Ageid == 1}}'>
  34. {{AgeArray[0][AgeIndex[0]] +'-' + AgeArray[1][AgeIndex[1]] == '不限-以上' ? '无需求' : AgeArray[0][AgeIndex[0]] +'-' + AgeArray[1][AgeIndex[1]]}}
  35. </view>
  36. </view>
  37. </picker>
  38. </view> -->
  39. <view class="Choice_dx_box" data-da="{{AgeArray[0][AgeIndex[0]] +'-' + AgeArray[1][AgeIndex[1]]}}">
  40. <picker mode="multiSelector" bindchange="AgeEvent" value="{{AgeIndex}}" range="{{AgeArray}}">
  41. <view class='Choice_dx c'>
  42. <view class="Choice_dx_title">年龄要求</view>
  43. <view class="Choice_dx_text picker" wx:if='{{Ageid == 0}}'>
  44. <!-- <block wx:if='{{personacodel.code == 201}}'>
  45. {{AgeArray[0][AgeIndex[0]] +'-' + AgeArray[1][AgeIndex[1]] == '不限-以上' ? '无需求' : AgeArray[0][AgeIndex[0]] +'-' + AgeArray[1][AgeIndex[1]]}}
  46. </block> -->
  47. <!-- <block wx:else>无需求</block> -->
  48. {{AgeArray[0][AgeIndex[0]] && AgeArray[1][AgeIndex[1]] ?
  49. ( AgeArray[0][AgeIndex[0]] +'-' + AgeArray[1][AgeIndex[1]] == '不限-以上' ?
  50. '无需求' : AgeArray[0][AgeIndex[0]] +'-' + AgeArray[1][AgeIndex[1]] )
  51. : '无需求'}}
  52. </view>
  53. <view class="Choice_dx_text picker" wx:if='{{Ageid == 1}}'>
  54. {{AgeArray[0][AgeIndex[0]] +'-' + AgeArray[1][AgeIndex[1]] == '不限-以上' ? '无需求' : AgeArray[0][AgeIndex[0]] +'-' + AgeArray[1][AgeIndex[1]]}}
  55. </view>
  56. </view>
  57. </picker>
  58. </view>
  59. <view class="Choice_dx_box"> <!-- 住址 多项选择器 -->
  60. <picker mode="multiSelector" range="{{multiArray}}" bindcolumnchange="columnchange" value="{{multiIndex}}" bindchange='pickchange'>
  61. <view class='Choice_dx c'>
  62. <view class="Choice_dx_title">居住地</view>
  63. <view class='Choice_dx_text' >
  64. <view class='right' wx:if="{{multiArray[2][multiIndex[2]] && step == 0}}">
  65. <text wx:if='{{personacodel.code == 201 && personacodel.data.city}}'>{{personal.select_city}}</text>
  66. <text wx:else>无需求</text>
  67. </view>
  68. <view class="picker c" wx:if="{{multiArray[0][multiIndex[0]] && step == 1}}">
  69. {{multiArray[0][multiIndex[0]]}}-{{multiArray[1][multiIndex[1]]}}-{{multiArray[2][multiIndex[2]]}}
  70. </view>
  71. </view>
  72. </view>
  73. </picker>
  74. </view>
  75. <!-- 身高 双选-->
  76. <view class="Choice_dx_box">
  77. <picker mode="multiSelector" bindchange="heightEvent" value="{{heightindex}}" range="{{heightArray}}">
  78. <view class='Choice_dx c'>
  79. <view class="Choice_dx_title">身高</view>
  80. <view class="Choice_dx_text picker" wx:if='{{heightid == 0}}'>
  81. <!-- <block wx:if='{{personacodel.code == 201}}'>
  82. {{heightArray[0][heightindex[0]] +'-' + heightArray[1][heightindex[1]] == '不限-以上' ? '无需求' : heightArray[0][heightindex[0]] +'-' + heightArray[1][heightindex[1]]}}
  83. </block>
  84. <block wx:else>无需求</block> -->
  85. {{heightArray[0][heightindex[0]] && heightArray[1][heightindex[1]] ?
  86. ( heightArray[0][heightindex[0]] +'-' + heightArray[1][heightindex[1]] == '不限-以上' ?
  87. '无需求' : heightArray[0][heightindex[0]] +'-' + heightArray[1][heightindex[1]] )
  88. : '无需求'}}
  89. </view>
  90. <view class="Choice_dx_text picker" wx:else>
  91. {{heightArray[0][heightindex[0]] +'-' + heightArray[1][heightindex[1]] == '不限-以上' ? '无需求' : heightArray[0][heightindex[0]] +'-' + heightArray[1][heightindex[1]]}}
  92. </view>
  93. </view>
  94. </picker>
  95. </view>
  96. <!-- 婚史 单项选择器-->
  97. <!-- <view class="Choice_dx_box" data-asd="{{MarriageArray[Marriageindex]}}">
  98. <picker bindchange="MarriageEvent" value="{{Marriageindex}}" range="{{MarriageArray}}">
  99. <view class='Choice_dx c'>
  100. <view class="Choice_dx_title">婚史</view>
  101. <view class='Choice_dx_text' wx:if='{{personacodel.code == 201 && personacodel.data.marry}}'>
  102. {{MarriageArray[Marriageindex] == '不限' ? '无需求' : MarriageArray[Marriageindex]}}
  103. </view>
  104. <view class='Choice_dx_text' wx:else>
  105. {{MarriageArray[Marriageindex] ? MarriageArray[Marriageindex] : "无需求"}}
  106. </view>
  107. </view>
  108. </picker>
  109. </view> -->
  110. <!-- 收入 双选-->
  111. <view class="Choice_dx_box">
  112. <picker mode="multiSelector" bindchange="incomeEvent" value="{{incomeindex}}" range="{{incomeArray}}">
  113. <view class='Choice_dx c'>
  114. <view class="Choice_dx_title">收入要求</view>
  115. <view class="Choice_dx_text picker" wx:if='{{incomeid == 0}}'>
  116. <!-- <block wx:if='{{personacodel.code == 201}}'>
  117. {{incomeArray[0][incomeindex[0]] +'-' + incomeArray[1][incomeindex[1]] == '不限-以上' ? '无需求' : incomeArray[0][incomeindex[0]] +'-' + incomeArray[1][incomeindex[1]]}}
  118. </block>
  119. <block wx:else>无需求</block> -->
  120. {{incomeArray[0][incomeindex[0]] && incomeArray[1][incomeindex[1]] ?
  121. ( incomeArray[0][incomeindex[0]] +'-' + incomeArray[1][incomeindex[1]] == '不限-以上' ?
  122. '无需求' : incomeArray[0][incomeindex[0]] +'-' + incomeArray[1][incomeindex[1]] )
  123. : '无需求'}}
  124. </view>
  125. <view class="Choice_dx_text picker" wx:else>
  126. {{incomeArray[0][incomeindex[0]] +'-' + incomeArray[1][incomeindex[1]] == '不限-以上' ? '无需求' : incomeArray[0][incomeindex[0]] +'-' + incomeArray[1][incomeindex[1]]}}
  127. </view>
  128. </view>
  129. </picker>
  130. </view>
  131. <view class="Choice_dx_box" data-id="{{EducationArray[Educationindex].name}}"> <!-- 学历 单项选择器-->
  132. <picker bindchange="EducationEvent" value="{{Educationindex}}" range="{{EducationArray}}" range-key="name">
  133. <view class='Choice_dx c'>
  134. <view class="Choice_dx_title">学历</view>
  135. <view class='Choice_dx_text' wx:if='{{personacodel.code == 201}}'>
  136. {{EducationArray[Educationindex].name == '不限' ? '无需求' : EducationArray[Educationindex].name}}
  137. </view>
  138. <view class='Choice_dx_text' wx:else>
  139. {{EducationArray[Educationindex].name ? EducationArray[Educationindex].name : "无需求"}}
  140. </view>
  141. </view>
  142. </picker>
  143. </view>
  144. <view class="Choice_dx_box" data-asd="{{personacodel.data.occupation}}"> <!-- 职业 单项选择器-->
  145. <picker bindchange="OccupationEvent" value="{{Occupationindex}}" range="{{OccupationArray}}" range-key="name">
  146. <view class='Choice_dx c'>
  147. <view class="Choice_dx_title">职业要求</view>
  148. <view class='Choice_dx_text' wx:if='{{personacodel.code == 201}}'>
  149. {{OccupationArray[Occupationindex].name == '不限' ? '无需求' : OccupationArray[Occupationindex].name}}
  150. </view>
  151. <view class='Choice_dx_text' wx:else>
  152. {{OccupationArray[Occupationindex].name ? OccupationArray[Occupationindex].name : "无需求"}}
  153. </view>
  154. </view>
  155. </picker>
  156. </view>
  157. <!-- 允许有意者联系我 单项选择器-->
  158. <!-- <view class="Choice_dx_box">
  159. <picker bindchange="contactEvent" value="{{contactindex}}" range="{{contactArray}}" range-key="area_name">
  160. <view class='Choice_dx c'>
  161. <view class="Choice_dx_title">允许有意者联系我</view>
  162. <view class='Choice_dx_text' >
  163. {{contactArray[contactindex].area_name ? contactArray[contactindex].area_name : "请选择"}}
  164. </view>
  165. </view>
  166. </picker>
  167. </view>
  168. -->
  169. <!-- 年龄双选 -->
  170. <!-- <view class="Choice_dx_box">
  171. <picker mode="multiSelector" bindchange="AgeEvent1" value="{{Ageindex}}" range="{{AgeArray}}">
  172. <view class='Choice_dx c'>
  173. <view class="Choice_dx_title">年龄要求</view>
  174. <view class="Choice_dx_text picker">
  175. {{AgeArray[0][Ageindex[0]]}}-{{AgeArray[1][Ageindex[1]]}}
  176. </view>
  177. </view>
  178. </picker>
  179. </view> -->
  180. <view class='NextStep' bindtap='register'>保存</view>
  181. </view>
  182. <!-- </view> -->