cauth.wxml 1.3 KB

123456789101112131415161718192021222324252627282930
  1. <nav type="back" title="{{auth ? '个人信息' : '实名认证'}}" background-color="{{activeColor ? activeColor : '#ffffff'}}"
  2. frontColor="{{titleColor ? titleColor : '#000000'}}"></nav>
  3. <view class="cauh_wrap" wx:if="{{!auth}}">
  4. <!-- 姓名 -->
  5. <view class="text">
  6. <text>真实姓名</text>
  7. <input class="weui-input" placeholder="请输入本人姓名" type="text" bindinput="bindKeyInput" data-prop="name"
  8. value="{{name}}" />
  9. </view>
  10. <!-- 手机号码 -->
  11. <view class="text">
  12. <text>手机号码</text>
  13. <input class="weui-input" placeholder="请输入手机号码" type="number" bindinput="bindKeyInput" data-prop="mobile"
  14. value="{{mobile}}" />
  15. </view>
  16. <!-- 身份证号 -->
  17. <view class="text">
  18. <text>身份证号</text>
  19. <input class="weui-input" type="idcard" placeholder="请输入本人身份证号" bindinput="bindKeyInput" data-prop="id"
  20. value="{{id}}" />
  21. </view>
  22. <button class="submit" bind:tap="submit" style="background-color: {{activeColor ? activeColor : '#1aad19'}}">提 交</button>
  23. </view>
  24. <view class="warp" wx:if="{{auth}}">
  25. <van-cell-group>
  26. <van-cell title="姓名" value="{{userInfo.name&&userInfo.name}}" />
  27. <van-cell title="手机号" value="{{userInfo.mobile&&userInfo.mobile}}" />
  28. <van-cell title="身份证号" value="{{userInfo.id&&userInfo.id}}"></van-cell>
  29. </van-cell-group>
  30. </view>