<!--pages/mine/standing/index.wxml-->
<view class="page">
    <handle-module title="姓名" placeholder="请输入姓名" data-type="name" value="{{userInfo.name}}" bindchange="getValue" />
    <handle-module title="身份证" placeholder="请输入身份证" data-type="idNumber" value="{{userInfo.idNumber}}" bindchange="getValue" inputType="idcard"/>
    <handle-module title="手机号" placeholder="请输入手机号" data-type="phone" value="{{userInfo.phone}}" bindchange="getValue"  inputType="number"/>
    <handle-module title="卡号" placeholder="请输入卡号" data-type="cardIdEx" value="{{userInfo.cardIdEx}}" bindchange="getValue" />
    <handle-module type="image" title="头像" data-type="avatar" value="{{userInfo.avatar}}" bindchange="getValue" bind:clearImg="clearImg" />

</view>
<view class="btn-area">
    <button bindtap="updateUserInfo">修改</button>
</view>