index.wxml 890 B

123456789101112
  1. <!--pages/mine/standing/index.wxml-->
  2. <view class="page">
  3. <handle-module title="姓名" placeholder="请输入姓名" data-type="name" value="{{userInfo.name}}" bindchange="getValue" />
  4. <handle-module title="身份证" placeholder="请输入身份证" data-type="idNumber" value="{{userInfo.idNumber}}" bindchange="getValue" inputType="idcard"/>
  5. <handle-module title="手机号" placeholder="请输入手机号" data-type="phone" value="{{userInfo.phone}}" bindchange="getValue" inputType="number"/>
  6. <handle-module title="卡号" placeholder="请输入卡号" data-type="cardIdEx" value="{{userInfo.cardIdEx}}" bindchange="getValue" />
  7. <handle-module type="image" title="头像" data-type="avatar" value="{{userInfo.avatar}}" bindchange="getValue" bind:clearImg="clearImg" />
  8. </view>
  9. <view class="btn-area">
  10. <button bindtap="updateUserInfo">修改</button>
  11. </view>