|
@@ -84,16 +84,6 @@ const handlePageScroll = useThrottleFn(() => {
|
|
|
} else {
|
|
|
showToTop.value = false
|
|
|
}
|
|
|
-
|
|
|
- if (page >= endPageNum) return
|
|
|
- const clientHeight = document.documentElement.clientHeight || document.body.clientHeight; // 可视高度
|
|
|
- const scrollHeight = document.body.scrollHeight; // 总高度
|
|
|
- const bufferHeight = 400;
|
|
|
- if ((scrollHeight - top - clientHeight) < bufferHeight + 100) {
|
|
|
- console.log('触底')
|
|
|
- page++
|
|
|
- handleLoadContent();
|
|
|
- }
|
|
|
}, 300)
|
|
|
|
|
|
function handleBackTop() {
|
|
@@ -216,9 +206,9 @@ function handleGoTestRisk(){
|
|
|
.report-ht_pdf-wrap {
|
|
|
background-color: #fff;
|
|
|
padding: var(--page-padding);
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- overflow-y: auto;
|
|
|
+ // display: flex;
|
|
|
+ // flex-direction: column;
|
|
|
+ // overflow-y: auto;
|
|
|
.title-box {
|
|
|
font-size: 36px;
|
|
|
line-height: 44px;
|