<!--module/user/pages/user-edit/user-edit.wxml-->
<wxs src="../../../../core/wxs/dictionary.wxs" module="dictionary" />
<t-navbar title="完善信息" left-arrow />
<scroll-view class="page-scroll__container" type="list" scroll-y style="{{containerStyle}}">
  <form bindsubmit="onSubmit">
    <t-cell t-class="cell-border-gradient" title="手机号" note="{{model['phone']}}" />
    <t-cell t-class="cell-border-gradient" title="姓名" note="{{model['name']}}" />
    <t-cell t-class="cell-border-gradient" title="身份证" note="{{model['cardno']}}" />
    <t-cell t-class="cell-border-gradient" title="年龄" note="{{model['age']}}岁" />
    <t-cell t-class="cell-border-gradient" title="性别" note="{{dictionary.label($dictionaries, 'sys_user_sex', model['sex'])}}" />
    <user-data-edit model="{{model}}" dirty="{{dirty}}"></user-data-edit>

    <form-button block index="1"></form-button>
  </form>
</scroll-view>

<t-message id="{{$messageId}}" />