fix
BIN
src/assets/img/home/chip/chip-left.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
src/assets/img/home/chip/chip-right.png
Normal file
After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 14 KiB |
BIN
src/assets/img/home/hero/hero-left.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
src/assets/img/home/hero/hero-right.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 276 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 3.5 KiB |
@ -1,8 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
|
||||||
<div class="chip-container">
|
<div class="chip-container">
|
||||||
<div class="chip-content">
|
<div class="chip-content">
|
||||||
<div class="title"> <img src="../../assets/img/home/chip/chip-title.png" alt=""></div>
|
<div class="title">
|
||||||
|
<img src="../../assets/img/home/chip/chip-title.png" alt="" />
|
||||||
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<div class="grid-item-red"></div>
|
<div class="grid-item-red"></div>
|
||||||
@ -26,6 +27,14 @@
|
|||||||
</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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -37,11 +46,37 @@ 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;
|
||||||
@ -49,6 +84,7 @@ let ma;
|
|||||||
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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";
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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> -->
|
||||||
|
@ -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>
|
||||||
|