<view class="data-v-183afcac"><block wx:if="{{!userinfo.token}}"><view data-event-opts="{{[['tap',[['goLogin',['$event']]]]]}}" class="no-login data-v-183afcac" bindtap="__e"><view class="avatar data-v-183afcac"><image src="../../static/no-login.png" class="data-v-183afcac"></image></view><view class="context data-v-183afcac">您好，请授权登录</view></view></block><block wx:else><view data-event-opts="{{[['tap',[['getnickName',['$event']]]]]}}" class="login data-v-183afcac" bindtap="__e"><view class="avatar data-v-183afcac"><image src="{{userinfo.avatar?userinfo.avatar:defaultimg}}" class="data-v-183afcac"></image></view><block wx:if="{{keys==2}}"><image class="edit data-v-183afcac" src="../../static/edit.png"></image></block><view class="info data-v-183afcac"><view class="top data-v-183afcac"><view class="name data-v-183afcac">{{userinfo.nickName||'小狸'}}</view><view class="join data-v-183afcac"><image src="../../static/ucenter/icon1.png" class="data-v-183afcac"></image><view class="days data-v-183afcac">{{"已加入"+days+"天"}}</view></view></view><view class="phone data-v-183afcac"><view class="data-v-183afcac"><image src="../../static/ucenter/icon2.png" class="data-v-183afcac"></image></view><view class="data-v-183afcac">{{userinfo.telephone}}</view></view></view></view></block></view>