添加8.9页面

This commit is contained in:
xianyi
2025-11-20 17:06:56 +08:00
parent 8aa5f7802f
commit 852239d5b7
15 changed files with 2422 additions and 157 deletions

223
src/pages/UI8/UI8.css Normal file
View File

@@ -0,0 +1,223 @@
.ui8-table-container {
width: 754px;
max-height: 881px;
overflow-y: auto;
overflow-x: hidden;
/* 隐藏滚动条但保持滚动功能 */
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 和 Edge */
}
.ui8-table-container::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
}
.ui8-table {
width: 754px;
border-collapse: collapse;
background-color: #ffffff;
}
.ui8-table-header {
color: rgba(0, 45, 93, 1);
font-size: 32px;
font-family: NotoSansCJKsc-Bold;
font-weight: 700;
text-align: center;
padding: 10px;
border: 1px solid rgba(0, 45, 93, 0.2);
background-color: rgba(233, 242, 245, 1);
position: sticky;
top: 0;
z-index: 10;
}
.ui8-table-dept {
width: 200px;
background-color: #b12651;
color: white;
}
.ui8-table-project {
width: 554px;
background-color: #053875;
color: white;
}
.ui8-table-row {
border-bottom: 2px solid #d3d3d3;
border-right: 2px solid #d3d3d3;
}
.ui8-table-dept-cell {
color: black;
background-color: #daeef2;
font-size: 24px;
font-family: NotoSansCJKsc-Medium;
font-weight: 500;
padding-left: 20px;
border-right: 2px solid #d3d3d3;
border-left: 2px solid #d3d3d3;
}
.ui8-table-project-cell {
color: black;
font-size: 24px;
padding: 0;
font-family: NotoSansCJKsc-Regular;
text-align: left;
}
.ui8-project-item {
border-bottom: 2px solid #d3d3d3;
line-height: 1.5;
}
.ui8-project-item:last-child {
border-bottom: none;
}
/* PDF 展示容器 */
.ui8-pdf-container {
height: 1000px;
display: flex;
flex-direction: column;
align-items: center;
box-sizing: border-box;
position: relative;
user-select: none;
touch-action: pan-y; /* 允许垂直触摸滑动 */
-webkit-user-select: none;
-webkit-touch-callout: none;
}
.ui8-pdf-page-wrapper {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 15px;
border-radius: 5px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
max-width: 100%;
max-height: 1200px;
transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
/* 向上滑动动画(下一页) */
.ui8-pdf-page-wrapper.slide-up {
animation: slideUpOut 0.3s ease-out;
}
@keyframes slideUpOut {
0% {
transform: translateY(0);
opacity: 1;
}
100% {
transform: translateY(-10px);
opacity: 0;
}
}
/* 向下滑动动画(上一页) */
.ui8-pdf-page-wrapper.slide-down {
animation: slideDownOut 0.3s ease-out;
}
@keyframes slideDownOut {
0% {
transform: translateY(0);
opacity: 1;
}
100% {
transform: translateY(10px);
opacity: 0;
}
}
.ui8-pdf-page {
display: flex;
justify-content: center;
}
.ui8-pdf-page canvas {
max-width: 100%;
height: auto;
display: block;
}
@keyframes swipeHint {
0%, 100% {
opacity: 0.65;
transform: translateY(0) scale(1);
}
50% {
opacity: 1;
transform: translateY(-5px) scale(1.02);
}
}
/* PDF 翻页控制 */
.ui8-pdf-controls {
display: flex;
justify-content: center;
align-items: center;
gap: 30px;
width: 100%;
padding: 12px 0;
margin-top: 5px;
}
.ui8-page-info {
font-size: 26px;
font-family: NotoSansCJKsc-Bold;
font-weight: 700;
color: rgba(0, 45, 93, 1);
min-width: 140px;
text-align: center;
letter-spacing: 1px;
transition: transform 0.2s ease;
animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
.ui8-loading,
.ui8-error {
padding: 40px;
font-size: 28px;
font-family: NotoSansCJKsc-Medium;
font-weight: 500;
text-align: center;
color: rgba(0, 45, 93, 1);
}
.ui8-error {
color: #b12651;
}
.ui8-right-section {
z-index: 9999;
position: fixed;
right: 0;
bottom: 250px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.ui8-right-section :last-child {
margin-top: 10px;
margin-left: 100px;
}