|  | @@ -4,10 +4,14 @@
 | 
	
		
			
				|  |  |        <el-image style="width: 100%;height: 100%" :src="logo" fit="fill"></el-image>
 | 
	
		
			
				|  |  |        <div class="ve_logo_time">{{ currentTime }}</div>
 | 
	
		
			
				|  |  |        <div class="ve_logo_text">数据驱动飞行器智能优化设计平台</div>
 | 
	
		
			
				|  |  | +      <div class="ve_logo_projectM" @click="handleProjectManagement">
 | 
	
		
			
				|  |  | +        <el-image :src="frame" style="margin-right: 3px;"></el-image>
 | 
	
		
			
				|  |  | +        项目管理
 | 
	
		
			
				|  |  | +      </div>
 | 
	
		
			
				|  |  |        <div class="ve_logo_user">
 | 
	
		
			
				|  |  | -        <el-avatar :icon="UserFilled" :size="24" />
 | 
	
		
			
				|  |  | +        <el-avatar :src="user" :size="24" style="background-color: transparent;" />
 | 
	
		
			
				|  |  |          <el-dropdown trigger="hover" class="user-dropdown">
 | 
	
		
			
				|  |  | -          <span class="el-dropdown-link">
 | 
	
		
			
				|  |  | +          <span class="el-dropdown-link nickname">
 | 
	
		
			
				|  |  |              {{ nickName }}
 | 
	
		
			
				|  |  |            </span>
 | 
	
		
			
				|  |  |            <template #dropdown>
 | 
	
	
		
			
				|  | @@ -55,6 +59,9 @@ import { message } from "@/utils/message";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import userinfo from "../user/userinfo.vue";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +import user from "@/assets/img/user.png";
 | 
	
		
			
				|  |  | +import frame from "@/assets/img/frame.png"
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  const userinfoRef = ref(null)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const userStore = useUserStore()
 | 
	
	
		
			
				|  | @@ -64,6 +71,10 @@ const nickName = computed(() => userStore.userInfo?.nickName || '用户登录')
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const { currentTime } = useCurrentTime()
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +const handleProjectManagement = () => {
 | 
	
		
			
				|  |  | +  router.push('/project')
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  const openUserInfo = () => {
 | 
	
		
			
				|  |  |    if (userinfoRef.value) {
 | 
	
		
			
				|  |  |      userinfoRef.value.visible = true
 | 
	
	
		
			
				|  | @@ -130,6 +141,24 @@ const handleLogout = () => {
 | 
	
		
			
				|  |  |        pointer-events: none;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    .ve_logo_projectM {
 | 
	
		
			
				|  |  | +      position: absolute;
 | 
	
		
			
				|  |  | +      top: 40%;
 | 
	
		
			
				|  |  | +      right: 8%;
 | 
	
		
			
				|  |  | +      transform: translate(-50%, -50%);
 | 
	
		
			
				|  |  | +      font-size: 14px;
 | 
	
		
			
				|  |  | +      color: #FFFFFF;
 | 
	
		
			
				|  |  | +      font-weight: 400;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      display: flex;
 | 
	
		
			
				|  |  | +      align-items: center;
 | 
	
		
			
				|  |  | +      cursor: pointer;
 | 
	
		
			
				|  |  | +      &:hover {
 | 
	
		
			
				|  |  | +        color: #41c0ff;
 | 
	
		
			
				|  |  | +        // text-decoration: underline;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      .ve_logo_user {
 | 
	
		
			
				|  |  |        position: absolute;
 | 
	
		
			
				|  |  |        top: 40%;
 | 
	
	
		
			
				|  | @@ -153,10 +182,18 @@ const handleLogout = () => {
 | 
	
		
			
				|  |  |    cursor: pointer;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    :deep(.el-dropdown-link) {
 | 
	
		
			
				|  |  | -    margin-left: 10px;
 | 
	
		
			
				|  |  | +    margin-left: 3px;
 | 
	
		
			
				|  |  |      color: #fff;
 | 
	
		
			
				|  |  |      font-size: 14px;
 | 
	
		
			
				|  |  |      font-weight: 400;
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +.nickname {
 | 
	
		
			
				|  |  | +  max-width: 100px;
 | 
	
		
			
				|  |  | +  overflow: hidden;
 | 
	
		
			
				|  |  | +  white-space: nowrap;
 | 
	
		
			
				|  |  | +  text-overflow: ellipsis;
 | 
	
		
			
				|  |  | +  flex: 1;
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  |  </style>
 |