This commit is contained in:
huangjinming 2023-03-03 17:45:52 +08:00
parent d8f9ccc237
commit ca78cd9d1b
28 changed files with 69 additions and 34 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -1,32 +1,41 @@
<template> <template>
<div> <div class="chip-container">
<div class="chip-container"> <div class="chip-content">
<div class="chip-content"> <div class="title">
<div class="title"> <img src="../../assets/img/home/chip/chip-title.png" alt=""></div> <img src="../../assets/img/home/chip/chip-title.png" alt="" />
<div class="container"> </div>
<div class="grid"> <div class="container">
<div class="grid-item-red"> </div> <div class="grid">
<div class="grid-item-red"></div> <div class="grid-item-red"></div>
<div class="grid-item-red"></div> <div class="grid-item-red"></div>
<div class="grid-item-red"></div> <div class="grid-item-red"></div>
</div> <div class="grid-item-red"></div>
</div>
<div class="grid"> <div class="grid">
<div class="grid-item-yellow"></div> <div class="grid-item-yellow"></div>
<div class="grid-item-yellow"></div> <div class="grid-item-yellow"></div>
<div class="grid-item-yellow"></div> <div class="grid-item-yellow"></div>
<div class="grid-item-yellow"></div> <div class="grid-item-yellow"></div>
</div> </div>
<div class="grid"> <div class="grid">
<div class="grid-item-blue"></div> <div class="grid-item-blue"></div>
<div class="grid-item-blue"></div> <div class="grid-item-blue"></div>
<div class="grid-item-blue"></div> <div class="grid-item-blue"></div>
<div class="grid-item-blue"></div> <div class="grid-item-blue"></div>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="chip-itm-bg">
<img src="../../assets/img/home/chip/chip-bg.png" alt="" />
</div>
<div class="chip-left">
<img src="../../assets/img/home/chip/chip-left.png" alt="" />
</div>
<div class="chip-right">
<img src="../../assets/img/home/chip/chip-right.png" alt="" />
</div>
</div> </div>
</template> </template>
@ -37,18 +46,45 @@ let ma;
<style lang="scss" scoped> <style lang="scss" scoped>
.chip-container { .chip-container {
position: relative; position: relative;
.chip-itm-bg {
position: absolute;
z-index: -1;
left: 150px;
top: 115px;
width: 1637px;
height: 609px;
img {
max-width: 100%;
height: auto;
object-fit: cover;
}
}
.chip-left {
position: absolute;
z-index: -1;
left: 0px;
top: 60px;
}
.chip-right {
position: absolute;
z-index: -1;
right: 40px;
top: -66px;
}
.chip-content { .chip-content {
width: 1440px; width: 1440px;
margin: 0 auto; margin: 0 auto;
position: relative;
// margin-top: 102px; // margin-top: 102px;
.title{
.title {
padding-top: 78px; padding-top: 78px;
display: flex; display: flex;
padding-bottom: 30px; padding-bottom: 30px;
justify-content: center; justify-content: center;
} }
.container { .container {
// position: ;
width: 85%; width: 85%;
margin: 0 auto; margin: 0 auto;
display: flex; display: flex;
@ -65,15 +101,15 @@ let ma;
margin-bottom: 20px; margin-bottom: 20px;
} }
.grid-item-red { .grid-item-red {
background:url('@/assets/img/home/chip/red-bg.png') no-repeat; background: url("@/assets/img/home/chip/red-bg.png") no-repeat;
height: 200px; height: 200px;
} }
.grid-item-yellow { .grid-item-yellow {
background:url('@/assets/img/home/chip/yellow-bg.png') no-repeat; background: url("@/assets/img/home/chip/yellow-bg.png") no-repeat;
height: 200px; height: 200px;
} }
.grid-item-blue{ .grid-item-blue {
background:url('@/assets/img/home/chip/blue-bg.png') no-repeat; background: url("@/assets/img/home/chip/blue-bg.png") no-repeat;
height: 200px; height: 200px;
} }
} }

View File

@ -239,7 +239,7 @@ const handleClick = (item) => {
.title { .title {
position: absolute; position: absolute;
right: 0%; right: 0%;
top: -342px; top: 302px;
text-align: center; text-align: center;
font-size: 190px; font-size: 190px;
font-family: "Big John"; font-family: "Big John";

View File

@ -99,7 +99,7 @@ function handactiveTab(index) {
top: 0; top: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
z-index: -1; z-index: -3;
color: transparent; color: transparent;
} }
} }

View File

@ -5,13 +5,13 @@
<TabBar></TabBar> <TabBar></TabBar>
<div class="centent-left"> <div class="centent-left">
<HeroSwiper></HeroSwiper> <HeroSwiper></HeroSwiper>
<div <!-- <div
class="hero-title" class="hero-title"
id="heroTest" id="heroTest"
:style="{ transform: 'translateY(' + -positionY1 + 'px)' }" :style="{ transform: 'translateY(' + -positionY1 + 'px)' }"
> >
HERO HERO
</div> </div> -->
<!-- <div class="hero-bg"> <!-- <div class="hero-bg">
<img src="@/assets/img/home/weapon-bg.png" alt="" /> <img src="@/assets/img/home/weapon-bg.png" alt="" />
</div> --> </div> -->

View File

@ -45,7 +45,6 @@
<div class="hero-big-img" :class="index >= 7 ? 'man-bg' :'woman-bg'"> <div class="hero-big-img" :class="index >= 7 ? 'man-bg' :'woman-bg'">
<img <img
class="hero_big_image" class="hero_big_image"
v-if="activeIndex == index"
:src="item.img" :src="item.img"
/> />
</div> </div>