diff --git a/src/assets/img/home/banner-out.png b/src/assets/img/home/banner-out.png index dbb86f0..5a24bd4 100644 Binary files a/src/assets/img/home/banner-out.png and b/src/assets/img/home/banner-out.png differ diff --git a/src/assets/img/home/banner-slogan.gif b/src/assets/img/home/banner-slogan.gif index 52562f8..706ce42 100644 Binary files a/src/assets/img/home/banner-slogan.gif and b/src/assets/img/home/banner-slogan.gif differ diff --git a/src/assets/img/home/hero/002.png b/src/assets/img/home/hero/002.png index 4012d07..c54cf77 100644 Binary files a/src/assets/img/home/hero/002.png and b/src/assets/img/home/hero/002.png differ diff --git a/src/assets/img/home/hero/banner-slogan.gif b/src/assets/img/home/hero/banner-slogan.gif new file mode 100644 index 0000000..706ce42 Binary files /dev/null and b/src/assets/img/home/hero/banner-slogan.gif differ diff --git a/src/assets/img/home/pvp-btn.png b/src/assets/img/home/pvp-btn.png index 66c633d..d495912 100644 Binary files a/src/assets/img/home/pvp-btn.png and b/src/assets/img/home/pvp-btn.png differ diff --git a/src/components/home/Banner.vue b/src/components/home/Banner.vue index 3e0c5b6..d589960 100644 --- a/src/components/home/Banner.vue +++ b/src/components/home/Banner.vue @@ -4,9 +4,8 @@
-
- +
@@ -50,18 +49,26 @@ import Slogan from "./Slogan.vue"; height: 937px; position: relative; .sologan { - margin: 0 auto; - width: 1600px; - height: 162px; + padding-top: 150px; + margin: 0px auto; + width: 1259px; + display: flex; + justify-content: center; + align-items: center; + img{ + object-fit: cover; + height: 514px; + } + // height: 162px; padding-bottom: 25px; } .content { - position: absolute; - top: 10px; - left: 10%; - z-index: 8; + // position: relative; + // + // z-index: 8; .download-center { + margin-top: 25px; display: flex; width: 566px; @@ -130,6 +137,7 @@ import Slogan from "./Slogan.vue"; top: 0; bottom: 0; width: 100%; + z-index: -1; height: 100%; img { width: 100%; diff --git a/src/components/home/DameplaySwiperCard.vue b/src/components/home/DameplaySwiperCard.vue index aabbe71..5c42801 100644 --- a/src/components/home/DameplaySwiperCard.vue +++ b/src/components/home/DameplaySwiperCard.vue @@ -6,6 +6,7 @@ :grabCursor="false" :centeredSlides="true" slidesPerView="2" + :autoplay="{ delay: 3500, disableOnInteraction: false }" :coverflowEffect="{ rotate: 0, stretch: 10, @@ -70,7 +71,7 @@ const imageList = reactive([ { imgSrc: new URL("@/assets/img/home/game-swiper-card/04.png", import.meta.url).href }, { imgSrc: new URL("@/assets/img/home/game-swiper-card/05.png", import.meta.url).href }, ]); -const modules = [EffectCoverflow, Pagination]; +const modules = [EffectCoverflow, Pagination,Autoplay]; const boxStyle4 = computed(() => ({ perspective: "300px", transition: "0s", diff --git a/src/components/home/GalleryBanner.vue b/src/components/home/GalleryBanner.vue index 476b15f..508ef71 100644 --- a/src/components/home/GalleryBanner.vue +++ b/src/components/home/GalleryBanner.vue @@ -4,6 +4,7 @@ :spaceBetween="10" :thumbs="{ swiper: thumbsSwiper }" :modules="modules" + :autoplay="{ delay: 3500, disableOnInteraction: false }" class="mySwiper2" ref="myRef" :navigation="{ diff --git a/src/components/home/NavBar.vue b/src/components/home/NavBar.vue deleted file mode 100644 index 631df91..0000000 --- a/src/components/home/NavBar.vue +++ /dev/null @@ -1,225 +0,0 @@ - - - - - diff --git a/src/components/layout/FooterBar.vue b/src/components/layout/FooterBar.vue index c8f1323..5b9523b 100644 --- a/src/components/layout/FooterBar.vue +++ b/src/components/layout/FooterBar.vue @@ -86,7 +86,6 @@ function backTop() {