| | |
| | | <view class="myContent"> |
| | | <view class="myHeader"> |
| | | <!-- <image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="setImg"></image> --> |
| | | <image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="setImg"></image> |
| | | <image v-if="userInfo == null" :src="userInfo != null ? $baseUrl+userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="$util.goPages('/pages/login/login')"></image> |
| | | <image v-else :src="userInfo != null ? $baseUrl+userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode=""></image> |
| | | <view class="myNick"> |
| | | <template> |
| | | <view v-if="userInfo == null" @tap="$util.goPages('/pages/login/login')">未登录</view> |