<!--pages/workBench/components/account/components/editModal/index.wxml-->
<van-dialog
  use-slot
  title="{{title}}"
  show="{{ visible }}"
  show-cancel-button
  bind:confirm="onSubmit"
  bind:cancel="onCancel"
>
  <view class="modalContentWrapper">
    <van-field
        value="{{data.name}}"
        label="昵称"
        placeholder="请输入昵称"
        type="textarea"
        autosize="{{true}}"
        title-width="120rpx"
        border="{{false}}"
        data-name="name"
        bind:change="onChange"
    />
    <van-field
        value="{{ data.phone }}"
        placeholder="请输入手机号"
        label="手机号"
        border="{{ false }}"
        title-width="120rpx"
        data-name="phone"
        bind:change="onChange"
    >
    </van-field>
</view>
 
</van-dialog>