Phoenix 7 months ago
parent 3f99879fce
commit ef0d0af2e4

@ -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

Loading…
Cancel
Save