This commit is contained in:
A1300399510
2023-07-21 15:13:46 +08:00
parent d53616c347
commit 955d8cf3b3
5 changed files with 180 additions and 13 deletions

View File

@@ -20,7 +20,6 @@
<!-- 右下角咨询 -->
<circle-btn></circle-btn>
</template>
<script setup>
@@ -104,7 +103,7 @@ const handleScroll = () => {
const scrollHeight = document.documentElement.scrollHeight;
const clientHeight = document.documentElement.clientHeight;
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
if (scrollTop + clientHeight >= scrollHeight) getData()
if (scrollTop + clientHeight >= scrollHeight - 350) getData()
};
let pitchValue = {}
@@ -125,6 +124,7 @@ const handleTransfer = (data) => {
<style lang="less" scoped>
.screen-box {
margin: 0 auto 20px;
// box-shadow: 0 0 3px 0 #d7d7d7;
}
.list {
@@ -150,6 +150,4 @@ const handleTransfer = (data) => {
justify-content: center;
margin: 0 auto;
}
</style>