From b453282b9481ec49f04afd3ab5b1cfd86895d6b9 Mon Sep 17 00:00:00 2001 From: huangjinming Date: Fri, 24 Feb 2023 15:44:34 +0800 Subject: [PATCH] newcebg --- src/components/home/GameGallerp.vue | 5 +---- src/components/home/TabBar.vue | 4 +--- src/components/home/WhatCebg.vue | 5 ----- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/components/home/GameGallerp.vue b/src/components/home/GameGallerp.vue index 035e09d..688880d 100644 --- a/src/components/home/GameGallerp.vue +++ b/src/components/home/GameGallerp.vue @@ -158,7 +158,6 @@ function handleScroll() { position: absolute; right: 0%; top: -750px; - // padding-top: 40px; text-align: center; font-size: 190px; font-family: "Big John"; @@ -166,8 +165,7 @@ function handleScroll() { line-height: 30px; opacity: 0.3; z-index: 1; - // transform: translate(-50%, -50%); - // transform: translateZ(-3px); + } .content { width: 1440px; @@ -210,7 +208,6 @@ function handleScroll() { background-position: center; background-repeat: no-repeat; background-size: cover; - // border: 1px solid #333; overflow: hidden; transition: background-image 0.3s ease-in-out; } diff --git a/src/components/home/TabBar.vue b/src/components/home/TabBar.vue index b2b6801..604c716 100644 --- a/src/components/home/TabBar.vue +++ b/src/components/home/TabBar.vue @@ -22,9 +22,7 @@ const props = defineProps([ "getTabIcon", ]); const emit = defineEmits(["getTabIcon", "handactiveTab"]); -// function getTabIcon(index) { -// emit("handactiveTab", index); -// } + function handactiveTab(index) { emit("handactiveTab", index); } diff --git a/src/components/home/WhatCebg.vue b/src/components/home/WhatCebg.vue index 3c39412..ff11461 100644 --- a/src/components/home/WhatCebg.vue +++ b/src/components/home/WhatCebg.vue @@ -163,8 +163,6 @@ function handleScroll() { top: -85px; right: 0; z-index: 1; - - // line-height: 30px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -193,10 +191,7 @@ function handleScroll() { padding-bottom: 168px; margin: 0 auto; display: flex; - // align-items: center; flex-direction: column; - - // justify-content: space-between; position: relative; .what-content { display: flex;