|
|
@@ -2,7 +2,10 @@
|
|
|
<div class="home-container">
|
|
|
<div class="box-1">
|
|
|
<div class="inner-box left-box">
|
|
|
- <span @click="goToManagementInterface">{{ platformTitle }}</span>
|
|
|
+ <div class="box-icon" @click="goToManagementInterface">
|
|
|
+ <el-icon class="left-icon"><HomeFilled /></el-icon>
|
|
|
+ <span>{{ platformTitle }}</span>
|
|
|
+ </div>
|
|
|
<div class="dropdown-box">
|
|
|
<!-- 下拉菜单 -->
|
|
|
<el-dropdown v-model="selectedGrade" @command="handleGradeSelect" @visible-change="handleVisibleChange" popper-class="no-arrow-dropdown">
|
|
|
@@ -81,7 +84,7 @@
|
|
|
import { ref, onMounted, watch } from 'vue'
|
|
|
import { useRouter } from 'vue-router'
|
|
|
import { ClassList } from '@/api/class.js'
|
|
|
-import {ArrowUpBold, ArrowDownBold} from '@element-plus/icons-vue'
|
|
|
+import {ArrowUpBold, ArrowDownBold, HomeFilled} from '@element-plus/icons-vue'
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
import UserInfoPopover from '@/components/user/UserInfoPopover.vue'
|
|
|
|
|
|
@@ -376,6 +379,20 @@ window.updateTenantName = (newName) => {
|
|
|
line-height: rpx(16); // 行高
|
|
|
text-align: left;
|
|
|
}
|
|
|
+.box-icon {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ gap: rpx(5);
|
|
|
+ padding: rpx(3) rpx(5);
|
|
|
+ margin-right: rpx(5);
|
|
|
+ border-radius: rpx(30);
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ font-size: rpx(14);
|
|
|
+ color: white;
|
|
|
+}
|
|
|
|
|
|
.right-box {
|
|
|
flex: 1;
|