From 5e82b38f628a209917e392256e9a165409b464cf Mon Sep 17 00:00:00 2001 From: hrx <18603305412@163.com> Date: Sun, 28 Sep 2025 17:58:45 +0800 Subject: [PATCH 1/2] uptada --- f/web-kboss/src/App.vue | 1 + .../components/FloatingBox/FloatingBox.vue | 2 +- .../src/components/HomePageSticky/index.vue | 14 +- .../src/layout/components/Sidebar/index.vue | 84 ++- f/web-kboss/src/main.js | 1 + f/web-kboss/src/router/index.js | 677 ++++++++---------- f/web-kboss/src/store/getters.js | 2 + f/web-kboss/src/store/modules/permission.js | 134 ++-- f/web-kboss/src/store/modules/user.js | 18 +- f/web-kboss/src/utils/permission.js | 2 +- .../customer/unsubscribe/JDNetdisk/index.vue | 15 - .../homePage/components/topBox/index.vue | 19 +- .../src/views/homePage/mainPage/index.vue | 14 +- 13 files changed, 518 insertions(+), 465 deletions(-) delete mode 100644 f/web-kboss/src/views/customer/unsubscribe/JDNetdisk/index.vue 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 @@ - +