|
|
@@ -2,9 +2,7 @@
|
|
|
<header
|
|
|
class="fixed w-full top-0 z-100 bg-white border-b border-[#f0f2f5] shadow-sm"
|
|
|
>
|
|
|
- <div
|
|
|
- class="max-w-[1200px] mx-auto flex items-center justify-between py-3 px-4"
|
|
|
- >
|
|
|
+ <div class="w-full mx-auto flex items-center justify-between py-3 px-10">
|
|
|
<div class="flex items-center gap-2 cursor-pointer" @click="goHome">
|
|
|
<img :src="logo" alt="logo" class="w-20 h-9" />
|
|
|
<span class="text-[#02409b] text-[20px] font-bold border-l-2 pl-1"
|
|
|
@@ -31,7 +29,7 @@
|
|
|
<span class="flex items-center gap-2 cursor-pointer">
|
|
|
<div class="avatar-wrapper">
|
|
|
<img
|
|
|
- :src="userAvatar"
|
|
|
+ :src="userAvatar || person"
|
|
|
alt="avatar"
|
|
|
class="w-8 h-8 rounded-full avatar-image"
|
|
|
/>
|
|
|
@@ -193,6 +191,7 @@ import { Icon } from "@iconify/vue";
|
|
|
import { ref, computed } from "vue";
|
|
|
import { useRouter } from "vue-router";
|
|
|
import logo from "@/assets/images/logo.png";
|
|
|
+import person from "@/assets/images/person.png";
|
|
|
import { useUserStoreWithOut } from "@/stores/useUserStore";
|
|
|
const userStore = useUserStoreWithOut();
|
|
|
|