|
@@ -2,7 +2,7 @@
|
|
|
* @Author: LiZhiWei
|
|
* @Author: LiZhiWei
|
|
|
* @Date: 2026-01-21 08:51:46
|
|
* @Date: 2026-01-21 08:51:46
|
|
|
* @LastEditors: LiZhiWei
|
|
* @LastEditors: LiZhiWei
|
|
|
- * @LastEditTime: 2026-01-22 08:26:30
|
|
|
|
|
|
|
+ * @LastEditTime: 2026-01-22 10:58:19
|
|
|
* @Description:
|
|
* @Description:
|
|
|
-->
|
|
-->
|
|
|
<template>
|
|
<template>
|
|
@@ -99,10 +99,9 @@
|
|
|
{ label: '账单资金', value: '15亿/年' },
|
|
{ label: '账单资金', value: '15亿/年' },
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
- const isAboutVisible = ref(false)
|
|
|
|
|
const isVideoPlaying = ref(false)
|
|
const isVideoPlaying = ref(false)
|
|
|
- const aboutRef = ref(null)
|
|
|
|
|
-
|
|
|
|
|
|
|
+ const aboutRef = ref<HTMLElement | null>(null)
|
|
|
|
|
+ const { isVisible: isAboutVisible } = useScrollReveal(aboutRef)
|
|
|
const playVideo = () => {
|
|
const playVideo = () => {
|
|
|
isVideoPlaying.value = true
|
|
isVideoPlaying.value = true
|
|
|
}
|
|
}
|
|
@@ -110,23 +109,6 @@
|
|
|
const closeVideo = () => {
|
|
const closeVideo = () => {
|
|
|
isVideoPlaying.value = false
|
|
isVideoPlaying.value = false
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- onMounted(() => {
|
|
|
|
|
- const observer = new IntersectionObserver(
|
|
|
|
|
- (entries) => {
|
|
|
|
|
- entries.forEach((entry) => {
|
|
|
|
|
- if (!entry.isIntersecting) return
|
|
|
|
|
- isAboutVisible.value = true
|
|
|
|
|
- observer.unobserve(entry.target)
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
- { threshold: 0.1 }
|
|
|
|
|
- )
|
|
|
|
|
-
|
|
|
|
|
- if (aboutRef.value) {
|
|
|
|
|
- observer.observe(aboutRef.value)
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|