123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- <!-- 填写资料 -->
- <view class='data_box'>
- <view class='data_name c'> <!-- 姓名 -->
- <text>我的昵称</text>
- <input type='text' placeholder="填写您的姓名" bindinput="getPhone" value="{{personal.nickname}}"></input>
- </view>
-
- <view class="Choice_dx_box" bindtap="GenderEvent"> <!-- 性别 单项选择器-->
- <!-- <picker bindchange="GenderEvent" value="{{index}}" range="{{selectArray}}"> -->
-
- <view class='Choice_dx c'>
- <view class="Choice_dx_title">性别</view>
- <view class='Choice_dx_text' >
-
- <!-- {{selectArray[index] ? selectArray[index] : personal.sex}} -->
- {{personal.sex}}
-
- </view>
-
- </view>
- <!-- </picker> -->
- </view>
- <view class="Choice_dx_box"> <!-- 年龄 单项选择器-->
- <picker bindchange="AgeEvent" value="{{Ageindex}}" range="{{AgeArray}}" >
-
- <view class='Choice_dx c'>
- <view class="Choice_dx_title">年龄</view>
- <view class='Choice_dx_text' wx:if='{{personacodel.code == 201}}'>
-
- {{AgeArray[Ageindex]}}
-
- </view>
- <view class='Choice_dx_text' wx:else>
-
- {{AgeArray[Ageindex] ? AgeArray[Ageindex] : "请选择"}}
-
- </view>
-
- </view>
- </picker>
- </view>
- <view class="Choice_dx_box"> <!-- 身高 单项选择器-->
- <picker bindchange="heightEvent" value="{{heightindex}}" range="{{heightArray}}">
-
- <view class='Choice_dx c'>
- <view class="Choice_dx_title">身高</view>
- <view class='Choice_dx_text' wx:if='{{personacodel.code == 201}}'>
-
- {{heightArray[heightindex]}}
-
- </view>
- <view class='Choice_dx_text' wx:else>
-
- {{heightArray[heightindex]? heightArray[heightindex] : "请选择"}}
-
- </view>
-
- </view>
- </picker>
- </view>
- <view class="Choice_dx_box"> <!-- 住址 多项选择器 -->
- <picker mode="multiSelector" range="{{multiArray}}" bindcolumnchange="columnchange" value="{{multiIndex}}" bindchange='pickchange'>
- <view class='Choice_dx c'>
- <view class="Choice_dx_title">住址</view>
- <view class='Choice_dx_text' >
-
- <view class='right' wx:if="{{multiArray[2][multiIndex[2]] && step == 0}}">
- <text>{{personal.province}}-{{personal.city}}-{{personal.area}}</text>
- </view>
- <view class="picker c" wx:if="{{multiArray[0][multiIndex[0]] && step == 1}}">
- {{ multiArray[0][multiIndex[0]] }}-{{ multiArray[1][multiIndex[1]] }}-{{ multiArray[2][multiIndex[2]] }}
- </view>
-
- </view>
-
- </view>
- </picker>
- </view>
- <view class="Choice_dx_box"> <!-- 学历 单项选择器-->
- <picker bindchange="EducationEvent" value="{{Educationindex}}" range="{{EducationArray}}" range-key="name">
-
- <view class='Choice_dx c'>
- <view class="Choice_dx_title">学历</view>
- <view class='Choice_dx_text' wx:if='{{personacodel.code == 201}}'>
-
- {{EducationArray[Educationindex].name}}
-
- </view>
- <view class='Choice_dx_text' wx:else>
-
- {{EducationArray[Educationindex].name ? EducationArray[Educationindex].name : "请选择"}}
-
- </view>
-
- </view>
- </picker>
- </view>
- <view class="Choice_dx_box"> <!-- 婚史 单项选择器-->
- <picker bindchange="MarriageEvent" value="{{Marriageindex}}" range="{{MarriageArray}}" range-key="name">
-
- <view class='Choice_dx c'>
- <view class="Choice_dx_title">婚史</view>
- <view class='Choice_dx_text' wx:if='{{personacodel.code == 201}}'>
-
- {{MarriageArray[Marriageindex].name}}
-
- </view>
- <view class='Choice_dx_text' wx:else>
-
- {{MarriageArray[Marriageindex].name ? MarriageArray[Marriageindex].name : "请选择"}}
-
- </view>
-
- </view>
- </picker>
- </view>
- <view class="Choice_dx_box"> <!-- 收入 单项选择器-->
- <picker bindchange="incomeEvent" value="{{incomeindex}}" range="{{incomeArray}}" range-key="name">
-
- <view class='Choice_dx c'>
- <view class="Choice_dx_title">收入</view>
- <view class='Choice_dx_text' wx:if='{{personacodel.code == 201}}'>
- {{incomeArray[incomeindex].name}}
- </view>
-
- <view class='Choice_dx_text' wx:else>
- {{incomeArray[incomeindex].name ? incomeArray[incomeindex].name : "请选择"}}
- </view>
-
- </view>
- </picker>
- </view>
- <view class="Choice_dx_box"> <!-- 职业 单项选择器-->
- <picker bindchange="OccupationEvent" value="{{Occupationindex}}" range="{{OccupationArray}}" range-key="name">
-
- <view class='Choice_dx c'>
- <view class="Choice_dx_title">职业</view>
- <view class='Choice_dx_text' wx:if='{{personacodel.code == 201}}'>
-
- {{OccupationArray[Occupationindex].name}}
-
- </view>
- <view class='Choice_dx_text' wx:else>
-
- {{OccupationArray[Occupationindex].name ? OccupationArray[Occupationindex].name : "请选择"}}
-
- </view>
-
- </view>
- </picker>
- </view>
- <view class='NextStep' bindtap='register'>保存</view>
- </view>
|