From 79427dd90676020e6e0b204af731b7bf1a4ef462 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期一, 17 十一月 2025 12:15:16 +0800
Subject: [PATCH] 修改新增
---
src/views/work/menuIndex/index.vue | 40 +++-------------------------------------
1 files changed, 3 insertions(+), 37 deletions(-)
diff --git a/src/views/work/menuIndex/index.vue b/src/views/work/menuIndex/index.vue
index 462814d..da41bf4 100644
--- a/src/views/work/menuIndex/index.vue
+++ b/src/views/work/menuIndex/index.vue
@@ -1,30 +1,5 @@
<template>
- <div class="system-select-container">
- <div class="user-info-bar">
- <div class="user-left"></div>
- <h3 class="user-details">欢迎访问多体系建设信息化系统</h3>
- <div class="avatar-container">
- <el-dropdown @command="handleCommand" class="right-menu-item hover-effect" trigger="click">
- <div class="avatar-wrapper" style="display: flex;align-items: center">
- <img src="../assets/images/avator.png" class="user-avatar" />
- <span style="font-size: 16px">{{userName}}({{userTypeName}})</span>
- <el-icon><caret-bottom /></el-icon>
- </div>
- <template #dropdown>
- <el-dropdown-menu>
- <el-dropdown-item command="password">
- <span>修改密码</span>
- </el-dropdown-item>
- <el-dropdown-item divided command="logout">
- <span>退出登录</span>
- </el-dropdown-item>
- </el-dropdown-menu>
- </template>
- </el-dropdown>
- </div>
- </div>
-
- <!-- 重新布局的系统选择区域 -->
+ <div class="app-container">
<div class="systems-container">
<div class="layout-container">
<!-- 左侧列 -->
@@ -704,9 +679,6 @@
<style scoped lang="scss">
.system-select-container {
height: 100vh;
- display: flex;
- flex-direction: column;
- background-color: #f5f7fa;
}
.user-info-bar {
@@ -759,8 +731,6 @@
.systems-container {
flex: 1;
- padding: 20px;
- overflow-y: auto;
width: 100%;
}
@@ -768,7 +738,7 @@
display: flex;
gap: 20px;
width: 100%;
- height: 100%;
+ height: calc(100% - 60px);
max-width: none; /* 移除最大宽度限制 */
margin: 0; /* 移除居中margin */
}
@@ -1368,12 +1338,8 @@
// 超大屏幕优化
@media (min-width: 1920px) {
- .systems-container {
- padding: 30px 40px;
- }
-
.layout-container {
- gap: 30px;
+ gap: 20px;
}
.module-card {
--
Gitblit v1.9.2