|
@@ -86,27 +86,16 @@
|
|
|
src="../assets/images/商务职业男.png"
|
|
|
alt="User Avatar"
|
|
|
/>
|
|
|
- <div>
|
|
|
- <div class=""><em>{{ username }}</em></div>
|
|
|
- 名字居中显示
|
|
|
- <button class="flex items-center justify-center ml-1">
|
|
|
- 减少左边距
|
|
|
- <img
|
|
|
- src="../assets/images/修改.png"
|
|
|
- alt="Edit"
|
|
|
- class="h-6 w-6 mr-2"
|
|
|
- />
|
|
|
- </button>
|
|
|
- </div>
|
|
|
+
|
|
|
|
|
|
<!-- 用户名和修改按钮 -->
|
|
|
- <!-- <div
|
|
|
+ <div
|
|
|
class="dropdown-menu-item flex items-center justify-between px-4 py-2"
|
|
|
>
|
|
|
<div class="flex-1 text-center ml-2">{{ username }}</div>
|
|
|
- 名字居中显示
|
|
|
+ <!-- 名字居中显示 -->
|
|
|
<button class="flex items-center justify-center ml-1">
|
|
|
- 减少左边距
|
|
|
+ <!-- 减少左边距 -->
|
|
|
<img
|
|
|
src="../assets/images/修改.png"
|
|
|
alt="Edit"
|
|
@@ -115,19 +104,19 @@
|
|
|
</button>
|
|
|
</div>
|
|
|
|
|
|
- 添加的两个按钮
|
|
|
+ <!-- 添加的两个按钮 -->
|
|
|
<div class="dropdown-menu-item px-4 py-2">
|
|
|
<button
|
|
|
class="flex items-center justify-between w-full dropdown-button"
|
|
|
>
|
|
|
- 左侧文本和图标
|
|
|
+ <!-- 左侧文本和图标 -->
|
|
|
<div class="flex items-center">
|
|
|
<span>电话号码:{{phone}}</span>
|
|
|
</div>
|
|
|
</button>
|
|
|
</div>
|
|
|
|
|
|
- 退出登录按钮
|
|
|
+ <!-- 退出登录按钮 -->
|
|
|
<div class="dropdown-menu-item px-1 py-1 text-left">
|
|
|
<button class="btn-logout" @click="LogOut">
|
|
|
<span
|
|
@@ -137,7 +126,7 @@
|
|
|
>退出登录</span
|
|
|
>
|
|
|
</button>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
|
|
|
</div>
|
|
|
</transition>
|