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