From 7a7dd4480a52aa290e5b6c8505d0dcedad14f16d Mon Sep 17 00:00:00 2001 From: qzysz <16602114135@126.com> Date: Tue, 24 Dec 2024 10:43:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/information/informationView.html | 235 +++++++++++++----- .../templates/system/meeting/add.html | 8 +- .../templates/system/meeting/meetingView.html | 42 ++-- 3 files changed, 193 insertions(+), 92 deletions(-) diff --git a/rwk-admin/src/main/resources/templates/system/information/informationView.html b/rwk-admin/src/main/resources/templates/system/information/informationView.html index be193f8..2d67880 100644 --- a/rwk-admin/src/main/resources/templates/system/information/informationView.html +++ b/rwk-admin/src/main/resources/templates/system/information/informationView.html @@ -44,16 +44,22 @@ padding: 20px; } .piece .content { - width: 75%; + width: 78%; max-height: 500px; box-sizing: border-box; - overflow-y: auto; /* 超出内容出现滚动条 */ - border-right: 1px solid #ccc; /* 右边框 */ - scrollbar-width: thin; /* Firefox: 设置滚动条宽度为细 */ - scrollbar-color: #888 #f1f1f1; /* Firefox: 滚动条颜色和背景颜色 */ + overflow-y: auto; + overflow-x: hidden; + border-right: 1px solid #ccc; + scrollbar-width: thin; + scrollbar-color: #888 #f1f1f1; + } + .piece .content .informationText { + padding: 20px; + word-wrap: break-word; + white-space: normal; } .piece .sidebar { - width: 25%; + width: 22%; max-height: 500px; padding: 10px 10px 10px 40px; position: relative; @@ -68,27 +74,58 @@ position: absolute; width: 0; height: 0; - border-left: 16px solid blue; /* 三角形底部为左 */ + border-left: 16px solid blue; border-right: 16px solid transparent; border-top: 8px solid transparent; border-bottom: 8px solid transparent; - left: 10px; /* 三角形位置 */ - top: 21px; /* 默认位置 */ - transition: top 0.3s; /* 动画效果 */ + left: 10px; + top: 21px; + transition: top 0.3s; } .sidebar .active { color: blue; } - /* 自定义滚动条样式 */ .piece .content::-webkit-scrollbar { - width: 6px; /* 设置更细的滚动条宽度 */ + width: 6px; } .piece .content::-webkit-scrollbar-thumb { - background: #888; /* 滚动条颜色 */ - border-radius: 10px; /* 滚动条圆角 */ + background: #888; + border-radius: 10px; } .piece .content::-webkit-scrollbar-thumb:hover { - background: #555; /* 滚动条悬停颜色 */ + background: #555; + } + .multiLine-item { + display: flex; + flex-wrap: wrap; + margin-bottom: 10px; + padding: 5px 0; + } + .multiLine-item .left-content { + flex: 0 0 180px; + min-width: 180px; + padding-right: 15px; + } + .multiLine-item .right-content { + flex: 1; + word-break: break-all; + padding-left: 15px; + } + .informationText table { + table-layout: fixed; + border-collapse: collapse; + } + .informationText table th, + .informationText table td { + padding: 8px; + word-wrap: break-word; + white-space: normal; + } + .bg-color-1 { + background-color: #f9f9f9; + } + .bg-color-2 { + background-color: #ffffff; } @@ -207,7 +244,7 @@