From ec153e135df542da1b8cbcffbbb50e840a474a93 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 15 Apr 2025 08:59:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/dashboard/templates/index.html | 129 ++------------------------- 1 file changed, 9 insertions(+), 120 deletions(-) diff --git a/admin/dashboard/templates/index.html b/admin/dashboard/templates/index.html index 9c8c868..4415fe6 100644 --- a/admin/dashboard/templates/index.html +++ b/admin/dashboard/templates/index.html @@ -655,137 +655,25 @@ } .user-card .el-card__body { - padding: 10px; + padding: 8px; } .user-info-container { - padding: 5px; + padding: 0; display: flex; flex-direction: column; - } - - .user-avatar-container { - text-align: center; - margin-bottom: 15px; - } - - .user-avatar-container img { - width: 80px; - height: 80px; - border-radius: 50%; - border: 2px solid #fff; - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); - } - - .user-info-empty { - text-align: center; - color: #909399; - padding: 20px 0; - } - - .user-info-empty i { - font-size: 24px; - margin-bottom: 10px; - } - - .user-info-header { - display: flex; - align-items: center; - } - - .user-avatar { - margin-right: 15px; - } - - .user-avatar img { - width: 60px; - height: 60px; - border-radius: 50%; - border: 2px solid #fff; - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); - } - - .user-details { - flex: 1; - } - - .user-nickname { - font-size: 18px; - font-weight: bold; - color: #303133; - margin-bottom: 5px; - } - - .user-wxid { - font-size: 14px; - color: #606266; - } - - /* 系统信息容器样式 */ - .system-info-container { - background-color: #f9f9f9; - border-radius: 4px; - padding: 15px; height: 100%; - display: flex; - flex-direction: column; justify-content: center; } - .system-info-row { - display: flex; - justify-content: space-between; - margin-bottom: 12px; - line-height: 1.5; - } - - .info-label { - color: #606266; - font-weight: 500; - } - - .info-value { - color: #303133; - text-align: right; - } - - .system-update-time { - text-align: right; - font-size: 12px; - color: #909399; - margin-top: auto; - } - - /* 系统状态标题栏样式 */ - .el-card__header { - position: relative; - } - - .system-info-summary { - position: absolute; - right: 20px; - font-size: 12px; - color: #909399; - } - - /* 用户信息容器样式调整 */ - .user-info-container { - background-color: #f9f9f9; - border-radius: 4px; - padding: 15px; - height: 100%; - display: flex; - flex-direction: column; - } - .user-avatar-container { text-align: center; - margin-bottom: 15px; + margin-bottom: 10px; } .user-avatar-container img { - width: 80px; - height: 80px; + width: 56px; /* 原来80px的70% */ + height: 56px; /* 原来80px的70% */ border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); @@ -794,16 +682,17 @@ .user-info-details { display: flex; flex-direction: column; - gap: 8px; + gap: 5px; /* 原来8px的缩小版 */ } .user-info-item { display: flex; align-items: center; + font-size: 12px; /* 缩小字体 */ } .user-info-label { - width: 70px; + width: 50px; /* 原来70px的缩小版 */ color: #606266; font-weight: 500; flex-shrink: 0; @@ -816,7 +705,7 @@ } .user-home-path { - font-size: 12px; + font-size: 10px; /* 原来12px的缩小版 */ } /* 移除不再需要的样式 */