使用接口
This commit is contained in:
@@ -77,20 +77,27 @@
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* PDF 展示容器 */
|
||||
/* PDF 展示容器 - 改为滚动显示模式 */
|
||||
.ui8-pdf-container {
|
||||
height: 1000px;
|
||||
height: 1200px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
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;
|
||||
/* 隐藏滚动条但保持滚动功能 */
|
||||
scrollbar-width: none; /* Firefox */
|
||||
-ms-overflow-style: none; /* IE 和 Edge */
|
||||
padding: 20px 10px;
|
||||
}
|
||||
|
||||
.ui8-pdf-container::-webkit-scrollbar {
|
||||
display: none; /* Chrome, Safari, Opera */
|
||||
}
|
||||
|
||||
/* PDF 页面包装器 - 不再需要,保留以防兼容性 */
|
||||
.ui8-pdf-page-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -100,8 +107,6 @@
|
||||
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;
|
||||
}
|
||||
|
||||
/* 向上滑动动画(下一页) */
|
||||
|
||||
Reference in New Issue
Block a user