personal-info.wxml
3.9 KB
<view class="base_info data-v-fa9d595e"><u-navbar vue-id="590cd056-1" is-back="{{true}}" title="个人信息" title-size="34" title-color="#000000" class="data-v-fa9d595e" bind:__l="__l"></u-navbar><view class="content data-v-fa9d595e"><view style="position:relative;height:210rpx;padding-top:30rpx;background-color:#FFFFFF;" class="data-v-fa9d595e"><u-image style="position:absolute;left:50%;margin-left:-95rpx;" vue-id="590cd056-2" width="190rpx" height="190rpx" shape="circle" src="{{form.avatarUrl?vuex_ossUrlPubilc+'/'+form.avatarUrl:reversedAvatarUrl}}" data-event-opts="{{[['^click',[['addPhotos']]]]}}" bind:click="__e" class="data-v-fa9d595e" bind:__l="__l"></u-image></view><view style="height:60rpx;background-color:#FFFFFF;" class="data-v-fa9d595e"></view><u-form vue-id="590cd056-3" model="{{form}}" error-type="{{errorType}}" data-ref="uForm" class="data-v-fa9d595e vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="top box data-v-fa9d595e"><c-input-item bind:input="__e" vue-id="{{('590cd056-4')+','+('590cd056-3')}}" label="姓名" type="text" name="name" required="{{true}}" rightIcon="{{false}}" maxlenth="{{30}}" value="{{form.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['form']]]]]}}" class="data-v-fa9d595e" bind:__l="__l"></c-input-item><c-input-item bind:input="__e" vue-id="{{('590cd056-5')+','+('590cd056-3')}}" label="性别" type="radio" name="gender" required="{{false}}" options="{{genderOptions}}" rightIcon="{{false}}" value="{{form.gender}}" data-event-opts="{{[['^input',[['__set_model',['$0','gender','$event',[]],['form']]]]]}}" class="data-v-fa9d595e" bind:__l="__l"></c-input-item><c-input-item bind:input="__e" vue-id="{{('590cd056-6')+','+('590cd056-3')}}" label="年龄" type="number" name="age" required="{{false}}" rightIcon="{{false}}" value="{{form.age}}" data-event-opts="{{[['^input',[['__set_model',['$0','age','$event',[]],['form']]]]]}}" class="data-v-fa9d595e" bind:__l="__l"></c-input-item><c-input-item bind:input="__e" vue-id="{{('590cd056-7')+','+('590cd056-3')}}" label="民族" type="select" name="national" required="{{false}}" options="{{nation}}" value="{{form.national}}" data-event-opts="{{[['^input',[['__set_model',['$0','national','$event',[]],['form']]]]]}}" class="data-v-fa9d595e" bind:__l="__l"></c-input-item><c-input-item bind:input="__e" vue-id="{{('590cd056-8')+','+('590cd056-3')}}" label="籍贯" type="area" name="nativePlace" options="{{area}}" required="{{false}}" value="{{form.nativePlace}}" data-event-opts="{{[['^input',[['__set_model',['$0','nativePlace','$event',[]],['form']]]]]}}" class="data-v-fa9d595e" bind:__l="__l"></c-input-item><c-input-item bind:input="__e" vue-id="{{('590cd056-9')+','+('590cd056-3')}}" label="现居住地址" type="text" name="currentAddress" required="{{false}}" rightIcon="{{false}}" maxlenth="{{100}}" value="{{form.currentAddress}}" data-event-opts="{{[['^input',[['__set_model',['$0','currentAddress','$event',[]],['form']]]]]}}" class="data-v-fa9d595e" bind:__l="__l"></c-input-item></view><view class="bottom box data-v-fa9d595e"><c-input-item bind:input="__e" vue-id="{{('590cd056-10')+','+('590cd056-3')}}" label="政治面貌" type="select" name="politicsStatus" required="{{false}}" options="{{politicalOptions}}" value="{{form.politicsStatus}}" data-event-opts="{{[['^input',[['__set_model',['$0','politicsStatus','$event',[]],['form']]]]]}}" class="data-v-fa9d595e" bind:__l="__l"></c-input-item></view></u-form></view><view class="footer data-v-fa9d595e"><c-button vue-id="590cd056-11" type="confirm" shape="circle" disabled="{{false}}" text="提交" data-event-opts="{{[['^click',[['submit']]]]}}" bind:click="__e" class="data-v-fa9d595e" bind:__l="__l"></c-button></view><u-action-sheet vue-id="590cd056-12" list="{{list}}" value="{{show}}" data-event-opts="{{[['^click',[['chooseImg']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" class="data-v-fa9d595e" bind:__l="__l"></u-action-sheet></view>