index.wxml 2.4 KB

1234567891011121314151617181920212223242526272829
  1. <nav type="back" background-color="{{activeColor ? activeColor : '#ffffff'}}" title="会员信息" frontColor="{{titleColor ? titleColor : 'black'}}" />
  2. <view class="cont">
  3. <van-cell-group class="group">
  4. <view class="avatar">
  5. <view class="label">
  6. 会员头像
  7. </view>
  8. <image class="image" src="{{user.avatar}}" lazy-load="false" binderror="" bindload="" />
  9. </view>
  10. <van-field class="field" model:value="{{ user.nickname }}" label="会员昵称" input-align="right" is-link />
  11. <van-field class="field" model:value="{{ user.mobile }}" type="number" maxlength="11" label="联系电话" is-link input-align="right" bind:blur="editMobile" />
  12. <van-field class="field" model:value="{{ user.sex }}" readonly maxlength="1" label="会员性别" is-link input-align="right" bind:tap="showSelect" />
  13. <van-field class="field" model:value="{{ user.objectId }}" label="会员ID" readonly is-link input-align="right" />
  14. <van-field class="field" model:value="{{ user.invite ? user.invite.nickname : '暂无' }}" readonly label="邀请人" is-link input-align="right" />
  15. <van-field class="field" model:value="{{ user.agentLevel ? user.agentLevel.name : '暂无' }}" readonly label="会员等级" is-link input-align="right" />
  16. <van-field class="field" model:value="{{ user.auth.label }}" readonly label="实名认证" input-align="right" is-link bind:tap="toAuth" />
  17. <van-field class="field" model:value="{{ user.joinTime }}" readonly label="加入时间" input-align="right" is-link />
  18. <!-- <van-field class="field" model:value="{{ account.isWechat.label }}" readonly label="绑定微信" input-align="right" bind:tap="bindWechat" is-link /> -->
  19. <van-field class="field" model:value="{{ account.isBank.label }}" readonly label="绑定银行卡" input-align="right" bind:tap="bindBank" is-link />
  20. </van-cell-group>
  21. </view>
  22. <view class="footer">
  23. <view class="sbmit" style="background-color: {{activeColor ? activeColor : '#00c2cb'}};color:{{titleColor?titleColor:'ffffff'}}" bind:tap="submit">确认</view>
  24. </view>
  25. <van-popup show="{{ show }}" position="bottom" custom-style="height: 40%;">
  26. <van-datetime-picker type="year-month" value="{{ currentDate }}" min-date="{{ minDate }}" bind:input="onInput" bind:cancel="onClose" bind:confirm="confirm" />
  27. </van-popup>
  28. <van-action-sheet show="{{ show2 }}" actions="{{ actions }}" bind:select="onSelect" />