|
@@ -4,7 +4,7 @@
|
|
<div class="tw-text-center tw-py-10">qm logo</div>
|
|
<div class="tw-text-center tw-py-10">qm logo</div>
|
|
<a-menu style="width: 240px" mode="inline" :open-keys="['sub1', 'sub2']">
|
|
<a-menu style="width: 240px" mode="inline" :open-keys="['sub1', 'sub2']">
|
|
<a-sub-menu key="sub1">
|
|
<a-sub-menu key="sub1">
|
|
- <template #icon> icon </template>
|
|
|
|
|
|
+ <template #icon> <span class="basic-icon"></span> </template>
|
|
<template #title>基础管理</template>
|
|
<template #title>基础管理</template>
|
|
<a-menu-item key="11">
|
|
<a-menu-item key="11">
|
|
<router-link active-class="active-route" to="/basic/rootOrg">
|
|
<router-link active-class="active-route" to="/basic/rootOrg">
|
|
@@ -33,7 +33,7 @@
|
|
</a-menu-item>
|
|
</a-menu-item>
|
|
</a-sub-menu>
|
|
</a-sub-menu>
|
|
<a-sub-menu key="sub2">
|
|
<a-sub-menu key="sub2">
|
|
- <template #icon> icon </template>
|
|
|
|
|
|
+ <template #icon> <span class="project-icon"></span> </template>
|
|
<template #title>项目管理</template>
|
|
<template #title>项目管理</template>
|
|
<a-menu-item key="21">
|
|
<a-menu-item key="21">
|
|
<router-link
|
|
<router-link
|
|
@@ -48,18 +48,21 @@
|
|
</div>
|
|
</div>
|
|
<div class="tw-h-screen" style="width: calc(100% - 240px)">
|
|
<div class="tw-h-screen" style="width: calc(100% - 240px)">
|
|
<div
|
|
<div
|
|
- class="tw-bg-white tw-flex tw-justify-between"
|
|
|
|
- style="border-left: 1px solid var(--app-main-bg-color)"
|
|
|
|
|
|
+ class="tw-bg-white tw-flex tw-justify-between tw-items-center"
|
|
|
|
+ style="border-left: 1px solid var(--app-main-bg-color); height: 56px"
|
|
>
|
|
>
|
|
<div>
|
|
<div>
|
|
- 当前所在位置:<span class="location-teleport">{{
|
|
|
|
- store.currentLocation
|
|
|
|
- }}</span>
|
|
|
|
|
|
+ <span class="current-location-icon"></span>
|
|
|
|
+ <span style="color: var(--app-secondary-text-color)">
|
|
|
|
+ 当前所在位置:<span class="location-teleport">{{
|
|
|
|
+ store.currentLocation
|
|
|
|
+ }}</span></span
|
|
|
|
+ >
|
|
</div>
|
|
</div>
|
|
- <div class="tw-flex tw-cursor-pointer">
|
|
|
|
|
|
+ <div class="tw-flex tw-items-center tw-cursor-pointer tw-gap-2 tw-mr-2">
|
|
<div>{{ store.userInfo.displayName }}</div>
|
|
<div>{{ store.userInfo.displayName }}</div>
|
|
|
|
|
|
- <div @click="doLogout">退出</div>
|
|
|
|
|
|
+ <div class="logout-icon" @click="doLogout"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<router-view class="tw-m-8"></router-view>
|
|
<router-view class="tw-m-8"></router-view>
|
|
@@ -83,4 +86,32 @@ async function doLogout() {
|
|
.active-route {
|
|
.active-route {
|
|
color: #4d66fd;
|
|
color: #4d66fd;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+.basic-icon {
|
|
|
|
+ background-image: url(./images/基础管理.png);
|
|
|
|
+ margin-right: -2px;
|
|
|
|
+ width: 16px;
|
|
|
|
+ height: 16px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.project-icon {
|
|
|
|
+ background-image: url(./images/项目管理.png);
|
|
|
|
+ margin-right: -2px;
|
|
|
|
+ width: 16px;
|
|
|
|
+ height: 16px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.current-location-icon {
|
|
|
|
+ background-image: url(./images/当前位置.png);
|
|
|
|
+ margin-left: 20px;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ width: 10px;
|
|
|
|
+ height: 10px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.logout-icon {
|
|
|
|
+ background-image: url(./images/退出.png);
|
|
|
|
+ width: 32px;
|
|
|
|
+ height: 32px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|