51 lines
2.8 KiB
XML
51 lines
2.8 KiB
XML
<!-- index.wxml -->
|
|
<view class="page-body">
|
|
<view class="col">
|
|
<view class="list-box">
|
|
<l-list title="头像">
|
|
<view slot="right-section" class="avatar">
|
|
<oak-extraFile-avatar oakAutoUnmount="{{true}}" oakPath="{{ oakFullpath ? oakFullpath + '.extraFile$entity' : undefined }}" entity="user"/>
|
|
</view>
|
|
</l-list>
|
|
</view>
|
|
|
|
<l-input placeholder="请输入昵称" label="昵称" value="{{nickname}}" confirm-type="next" bind:lininput="setValueMp" l-label-class="label" data-attr="nickname" />
|
|
<l-input placeholder="请输入姓名" label="姓名" value="{{name}}" confirm-type="next" bind:lininput="setValueMp" l-label-class="label" data-attr="name" />
|
|
<picker range="{{GenderOptions}}" range-key="label" value="{{genderOptionIndex}}" bind:change="onGenderChange">
|
|
<l-input label="性别" value="{{genderText || '选择性别'}}" disabled="{{true}}" l-label-class="label">
|
|
<l-icon slot="right" name="right" size="20" />
|
|
</l-input>
|
|
</picker>
|
|
<picker mode="date" end="{{birthEnd}}" value="{{birthDayValue}}" bind:change="onBirthChange">
|
|
<l-input label="出生日期" value="{{birthText || '选择日期'}}" disabled="{{true}}" l-label-class="label">
|
|
<l-icon slot="right" name="right" size="20" />
|
|
</l-input>
|
|
</picker>
|
|
<block wx:if="{{isRoot}}">
|
|
<picker range="{{IDCardTypeOptions}}" range-key="label" value="{{idCardTypeOptionIndex}}" bind:change="onIdCardTypeChange">
|
|
<l-input label="证件类别" value="{{idCardTypeText || '选择证件类别'}}" disabled="{{true}}" l-label-class="label">
|
|
<l-icon slot="right" name="right" size="20" />
|
|
</l-input>
|
|
</picker>
|
|
<l-input placeholder="请输入证件号" label="证件号" value="{{idNumber}}" confirm-type="next" bind:lininput="setValueMp" l-label-class="label" data-attr="idNumber" />
|
|
<view class="list-item">
|
|
<view class="label">手机号</view>
|
|
<view class="mobile-box">
|
|
<mobile-manage-list oakPath="{{oakFullpath ? oakFullpath + '.mobile$user' : undefined }}"/>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
<view class="list-box">
|
|
<l-list title="手机号" bind:lintap="setMobile">
|
|
<view slot="right-section" class="value">{{mobile || '未绑定'}}</view>
|
|
</l-list>
|
|
</view>
|
|
|
|
</block>
|
|
</view>
|
|
<view style="flex: 1" />
|
|
<l-button type="default" disabled="{{oakExecuting || !oakDirty}}" loading="{{oakExecuting}}" size="long" bind:lintap="confirm">
|
|
{{t('common::action.confirm')}}
|
|
</l-button>
|
|
</view> |