|
|
@@ -1,10 +1,11 @@ |
|
|
|
<template> |
|
|
|
<view v-if="currentUser" id="my" class="page"> |
|
|
|
<!-- 顶部用户名、头像 banner --> |
|
|
|
<view @click="goTo('info')" class="mybanner"> |
|
|
|
<!-- @click="goTo('info')" --> |
|
|
|
<view class="mybanner"> |
|
|
|
<view class="avatarslot"> |
|
|
|
<image :src="avatarSrc()" :style="{ borderRadius: roundAvatar ? '50%' : '3px' }" mode="aspectFit" |
|
|
|
class="avatar"></image> |
|
|
|
<image src="https://b0.bdstatic.com/0df6c8c7f109aa7b67e7cb15e6f8d025.jpg@h_1280" |
|
|
|
:style="{ borderRadius: roundAvatar ? '50%' : '3px' }" mode="aspectFit" class="avatar"></image> |
|
|
|
</view> |
|
|
|
<view class="info"> |
|
|
|
<view class="username text-xl text-white">{{ currentUser.realName }}</view> |
|
|
@@ -16,7 +17,8 @@ |
|
|
|
</view> |
|
|
|
<!-- 用户信息菜单 --> |
|
|
|
<l-list border card> |
|
|
|
<l-list-item @click="goTo('contact')" arrow> |
|
|
|
<!-- @click="goTo('contact')" --> |
|
|
|
<l-list-item arrow> |
|
|
|
<l-icon type="phone" color="blue" /> |
|
|
|
联系方式 |
|
|
|
</l-list-item> |
|
|
|