123456789101112131415161718192021222324252627282930313233 |
- <view class="container">
- <view class='top'>
- <view class="user-avater" bind:tap="chooseImg">
- <van-image width="200rpx" height="200rpx" round src="{{formData.picUrl}}" class="user-avater-img"
- wx:if="{{formData.picUrl}}" fit="cover"/>
- <open-data type="userAvatarUrl" wx:else></open-data>
- </view>
- <view class="user-avater-tip" bind:tap="chooseImg">更换头像</view>
- </view>
- <van-cell title="姓名" value="{{formData.name}}" border="{{false}}" custom-class="cell" center
- title-class="label-class">
- </van-cell>
- <edu-line style="width:100%;" color="rgba(125, 125, 125, 0.25)"/>
- <van-cell title="微信" is-link="{{!userInfo.wechatOpenId}}" value="{{userInfo.wechatOpenId?'已绑定':'去绑定'}}"
- border="{{false}}" custom-class="cell" center
- value-class="{{userInfo.wechatOpenId?'':'tip-class'}}" title-class="label-class"
- bind:click="loginByWechat">
- </van-cell>
- <edu-line style="width:100%;" color="rgba(125, 125, 125, 0.25)"/>
- <van-cell title="手机号" is-link value="{{userInfo.phone}}" border="{{false}}" bind:click="changePhone"
- custom-class="cell" center title-class="label-class">
- </van-cell>
- <edu-line style="width:100%;" color="rgba(125, 125, 125, 0.25)"/>
- <edu-button title="提交" bind:click="put" class="put-btn"></edu-button>
- </view>
|