From 132ea41f5b961071740ef8ae9953cd809632ab21 Mon Sep 17 00:00:00 2001 From: JayChou <2064936853@qq.com> Date: Mon, 22 Jul 2024 11:49:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Layout/index.vue | 14 +- src/Layout/tabbar/index.vue | 6 +- src/assets/images/crous-card.png | Bin 0 -> 53670 bytes src/router/module/constRouter/index.ts | 162 +++++++++++----------- src/views/home/components/Graph.vue | 155 +++++++++++++++++++++ src/views/home/index.vue | 178 ++++++++++++++++++------- src/views/home/index1.vue | 82 ++++++++++++ src/views/talentDevelopment/index.vue | 48 ++++++- 8 files changed, 506 insertions(+), 139 deletions(-) create mode 100644 src/assets/images/crous-card.png create mode 100644 src/views/home/components/Graph.vue create mode 100644 src/views/home/index1.vue diff --git a/src/Layout/index.vue b/src/Layout/index.vue index bf87edf..cd260ca 100644 --- a/src/Layout/index.vue +++ b/src/Layout/index.vue @@ -63,7 +63,7 @@ onMounted(() => { // 页面滚动窗口监听事件 window.onscroll = function () { let high = document.documentElement.scrollTop || document.body.scrollTop //兼容各浏览器 - console.log(high,totop.value.offsetTop) + // console.log(high,totop.value.offsetTop) if (flog.value) { num = num - 20 @@ -94,20 +94,20 @@ onMounted(() => { .gotop { display: none; - width: 45px; - height: 45px; + width: 45PX; + height: 45PX; z-index: 999; position: fixed; bottom: 50px; right: 50px; background-image: url('../assets/images/jinglingtu.png'); - background-position: -264px -78px; + background-position: -264PX -78PX; transition: top 0.2s linear; animation: show 0.5s ease-in-out; } .gotop:hover { transition: background-image 0.2s ease-in; - background-position: -215px -78px; + background-position: -215PX -78PX; } .bian { animation: bian 0.1s ease-in-out; @@ -128,10 +128,10 @@ onMounted(() => { } @keyframes bian { 0% { - background-position: -6px -145px; + background-position: -6PX -145PX; } 100% { - background-position: -316px -78px; + background-position: -316PX -78PX; } } // @keyframes fei { diff --git a/src/Layout/tabbar/index.vue b/src/Layout/tabbar/index.vue index 11df34e..c743dfb 100644 --- a/src/Layout/tabbar/index.vue +++ b/src/Layout/tabbar/index.vue @@ -14,10 +14,10 @@