This commit is contained in:
Phoenix 2024-03-04 14:05:54 +08:00
parent 3f99879fce
commit ef0d0af2e4

View File

@ -336,7 +336,7 @@ const footerClass = computed(() => {
const isShowBottom=ref(false) const isShowBottom=ref(false)
onMounted(() => { onMounted(() => {
scrollRef.value.addEventListener('scroll', function() { scrollRef.value.addEventListener('scroll', function() {
if (scrollRef.value.scrollTop + scrollRef.value.clientHeight +100>= scrollRef.value.scrollHeight) { if (scrollRef.value.scrollTop + scrollRef.value.clientHeight>= scrollRef.value.scrollHeight) {
isShowBottom.value=false isShowBottom.value=false
}else { }else {
isShowBottom.value=true isShowBottom.value=true