diff --git a/src/components/home/DameplaySwiperCard.vue b/src/components/home/DameplaySwiperCard.vue index 80d6d11..e14146d 100644 --- a/src/components/home/DameplaySwiperCard.vue +++ b/src/components/home/DameplaySwiperCard.vue @@ -153,5 +153,8 @@ const handSlideNext = () => { background: url("@/assets/img/home/game-swiper-card/bullet-active.png") no-repeat right center; } + :deep( .swiper-pagination-bullet) { + opacity: 1; + } } diff --git a/src/components/home/GameGallerp.vue b/src/components/home/GameGallerp.vue index 9ece45e..e9cb08e 100644 --- a/src/components/home/GameGallerp.vue +++ b/src/components/home/GameGallerp.vue @@ -190,6 +190,9 @@ function handleScroll() { margin: 59px auto; margin-bottom: 71px; } + .btn{ + padding-top: 30px; + } .btn { width: 100%; display: flex; @@ -240,7 +243,7 @@ function handleScroll() { // transform: scaleX(1, 1); // } .go-to-btn { - margin-top: 30px; + // padding-top: 30px; width: 196px; height: 62px; position: relative; @@ -248,9 +251,8 @@ function handleScroll() { color: #263641; cursor: pointer; background-image: url("@/assets/img/home/go-to-btn.png"); - background-position: center; background-repeat: no-repeat; - background-size: cover; + background-size: 100% 100%; // border: 1px solid #333; // overflow: hidden; transition: background-image 0.3s; diff --git a/src/components/home/GameIntroduction.vue b/src/components/home/GameIntroduction.vue index b335def..7e9a411 100644 --- a/src/components/home/GameIntroduction.vue +++ b/src/components/home/GameIntroduction.vue @@ -26,7 +26,7 @@ - +
@@ -39,7 +39,7 @@ import TabBar from "./TabBar.vue"; import HeroCard from "./HeroCard.vue"; import WeaponCard from "./WeaponCard.vue"; import ChipCard from "./ChipCard.vue"; -import loginButton from "./loginButton.vue"; +import loginButton from "./btn.vue"; import { ref, computed } from "vue"; const listred = [ @@ -77,6 +77,10 @@ function handactiveTab(index) { .tab-bg { position: absolute; } + .btn-demo{ + width: 200px; + height: 70px; + } .game-bg { position: absolute; height: 100%; diff --git a/src/components/home/btn.vue b/src/components/home/btn.vue new file mode 100644 index 0000000..f3f1019 --- /dev/null +++ b/src/components/home/btn.vue @@ -0,0 +1,57 @@ + + + + \ No newline at end of file