<view class="data-v-4b0f3268"><view class="content data-v-4b0f3268"><view class="info-item data-v-4b0f3268"><view class="label data-v-4b0f3268">头像</view><view class="right data-v-4b0f3268"><image class="head data-v-4b0f3268" src="{{user.avatar==null?'/static/images/detault_head.jpg':user.avatar}}" mode></image><button class="wx-head data-v-4b0f3268" type="balanced" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"></button></view></view><view class="info-item data-v-4b0f3268"><view class="label data-v-4b0f3268">昵称</view><view class="right data-v-4b0f3268"><input class="input data-v-4b0f3268" type="nickname" data-event-opts="{{[['blur',[['bindblur',['$event']]]],['input',[['__set_model',['$0','nickname','$event',[]],['user']],['bindinput',['$event']]]]]}}" value="{{user.nickname}}" bindblur="__e" bindinput="__e"/></view></view><view class="info-item data-v-4b0f3268"><view class="label data-v-4b0f3268">会员等级</view><view class="right data-v-4b0f3268">{{user.level==1?'VIP会员':'普通会员'}}</view></view><view class="info-item data-v-4b0f3268"><view class="label data-v-4b0f3268">推广员</view><view class="right data-v-4b0f3268">{{user.isPromoter==1?'是':'否'}}</view></view><view class="info-item data-v-4b0f3268"><view class="label data-v-4b0f3268">手机号</view><block wx:if="{{user!=null&&user.phone}}"><view class="right data-v-4b0f3268">{{$root.g0}}</view></block></view></view><view class="btn-box data-v-4b0f3268"><view data-event-opts="{{[['tap',[['submit']]]]}}" class="sub-btn data-v-4b0f3268" bindtap="__e">保存</view></view></view>