20 lines
1.4 KiB
Plaintext
20 lines
1.4 KiB
Plaintext
<view class="person-info">
|
|
<t-cell-group>
|
|
<t-cell title="头像" center="{{true}}" note="修改" data-type="avatarUrl" bind:click="onClickCell" t-class-left="order-group__left">
|
|
<t-avatar slot="left-icon" image="{{personInfo.avatarUrl}}" class="user-center-card__header__avatar" />
|
|
<view slot="right-icon">
|
|
<t-button t-class-icon="avatar-wrapper" size="large" variant="text" icon="chevron-right" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
|
|
</t-button>
|
|
</view>
|
|
|
|
</t-cell>
|
|
<t-cell title="昵称" arrow note="{{personInfo.nickName}}" data-type="name" bind:click="onClickCell" t-class="t-cell-class" t-class-left="order-group__left" />
|
|
<t-cell title="性别" arrow note="{{genderMap[personInfo.gender]}}" data-type="gender" bind:click="onClickCell" t-class="t-cell-class" t-class-left="order-group__left" />
|
|
<t-cell bordered="{{false}}" title="手机号" arrow note="{{personInfo.phoneNumber ? personInfo.phoneNumber : '去绑定手机号'}}" data-type="phoneNumber" bind:click="onClickCell" t-class="t-cell-class" t-class-left="order-group__left" />
|
|
</t-cell-group>
|
|
</view>
|
|
<view class="person-info__wrapper">
|
|
<view class="person-info__btn" bind:tap="openUnbindConfirm"> 切换账号登录 </view>
|
|
</view>
|
|
<t-select-picker show="{{typeVisible}}" picker-options="{{pickerOptions}}" title="选择性别" value="{{personInfo.gender}}" bind:confirm="onConfirm" bind:close="onClose" />
|
|
<t-toast id="t-toast" /> |