diff --git a/f/web-kboss/src/App.vue b/f/web-kboss/src/App.vue index a8af28e..0c63085 100644 --- a/f/web-kboss/src/App.vue +++ b/f/web-kboss/src/App.vue @@ -112,6 +112,7 @@ export default { }, mounted() { this.audioElement = new Audio('https://www.kaiyuancloud.cn/dev/idfile?path=/batch_upload/phone-ring.mp3'); + // 设置音频循环播放 this.audioElement.loop = true; if (sessionStorage.getItem('juese') === '销售' && !window.location.href.includes('login')) { diff --git a/f/web-kboss/src/components/FloatingBox/FloatingBox.vue b/f/web-kboss/src/components/FloatingBox/FloatingBox.vue index 92ea1f1..40cf304 100644 --- a/f/web-kboss/src/components/FloatingBox/FloatingBox.vue +++ b/f/web-kboss/src/components/FloatingBox/FloatingBox.vue @@ -95,7 +95,7 @@ style="width: 80px;height: 25px;display: flex!important;justify-content: center;align-items: center">

diff --git a/f/web-kboss/src/components/HomePageSticky/index.vue b/f/web-kboss/src/components/HomePageSticky/index.vue index acc3098..b179b25 100644 --- a/f/web-kboss/src/components/HomePageSticky/index.vue +++ b/f/web-kboss/src/components/HomePageSticky/index.vue @@ -30,7 +30,17 @@ export default { } }, methods: { + + // handleScroll(){ + + // console.log("滚动条事件"); + + + // }, checkScreenHeight() { + + console.log(9999); + const screenHeight = window.innerHeight; // 可以根据实际需求调整阈值 this.shouldShow = screenHeight >= 900; @@ -46,10 +56,10 @@ export default { }, mounted() { this.checkScreenHeight(); - window.addEventListener('scroll', this.handleScroll); + // window.addEventListener('scroll', this.handleScroll); }, beforeDestroy() { - window.removeEventListener('scroll', this.handleScroll); + // window.removeEventListener('scroll', this.handleScroll); } } diff --git a/f/web-kboss/src/layout/components/Sidebar/index.vue b/f/web-kboss/src/layout/components/Sidebar/index.vue index 16bb303..08bf1c2 100644 --- a/f/web-kboss/src/layout/components/Sidebar/index.vue +++ b/f/web-kboss/src/layout/components/Sidebar/index.vue @@ -1,4 +1,4 @@ - +