You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
2.3 KiB
1 lines
2.3 KiB
<view class="wrap"><view class="form"><view class="item"><text>我的头像</text><view class="right"><button class="u-reset-button" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['getAvatar',['$event']]]]]}}" bindchooseavatar="__e"><block wx:if="{{form.avatar}}"><image class="avatar" src="{{form.avatar}}" mode="aspectFill"></image></block><block wx:else><text>点击获取</text></block></button><u-icon vue-id="eb68db30-1" name="arrow-right" color="#99A1B7" size="16" bind:__l="__l"></u-icon></view></view><view class="item"><text>真实姓名</text><view class="right"><input class="input" type="text" placeholder-class="txt" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','realName','$event',[]],['form']]]]]}}" value="{{form.realName}}" bindinput="__e"/><u-icon vue-id="eb68db30-2" name="arrow-right" color="#99A1B7" size="16" bind:__l="__l"></u-icon></view></view><view class="item"><text>用户性别</text><view class="right"><picker range="{{vuex_sex}}" range-key="label" data-event-opts="{{[['change',[['onGenderChange',['$event']]]]]}}" bindchange="__e"><view class="{{[form.gender?'picker':'picker txt']}}">{{''+(vuex_sex[form.gender].label||'请选择')+''}}</view></picker><u-icon vue-id="eb68db30-3" name="arrow-right" color="#99A1B7" size="16" bind:__l="__l"></u-icon></view></view><view class="item"><text>手机号码</text><view class="right"><input class="input" type="number" placeholder-class="txt" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['form']]]]]}}" value="{{form.mobile}}" bindinput="__e"/><u-icon vue-id="eb68db30-4" name="arrow-right" color="#99A1B7" size="16" bind:__l="__l"></u-icon></view></view><view class="item"><text>所属部门</text><view class="right"><picker range="{{vuex_dept}}" range-key="label" data-event-opts="{{[['change',[['onDepartmentChange',['$event']]]]]}}" bindchange="__e"><view class="{{[form.department?'picker':'picker txt']}}">{{''+(vuex_dept[form.department].label||'请选择')+''}}</view></picker><u-icon vue-id="eb68db30-5" name="arrow-right" color="#99A1B7" size="16" bind:__l="__l"></u-icon></view></view></view><view data-event-opts="{{[['tap',[['submitForm',['$event']]]]]}}" class="submit" bindtap="__e"><text>确认提交</text></view><view class="auditd"><text>等待审核</text></view></view> |