223 lines
5.2 KiB
Vue
223 lines
5.2 KiB
Vue
<template>
|
|
<div>
|
|
<div class="banner">
|
|
<div class="content">
|
|
<div class="sologan">
|
|
<img src="@/assets/img/home/banner-slogan.gif" alt="" />
|
|
</div>
|
|
<div class="download-center">
|
|
<div class="download-item-google">
|
|
<a href="https://play.google.com/store/apps/details?id=io.metamask">
|
|
<img src="@/assets/img/home/google.png" alt=""
|
|
/></a>
|
|
</div>
|
|
<div class="download-item-andriod">
|
|
<a href="https://www.cebg.games/release/cebg.apk"
|
|
><img src="@/assets/img/home/andriod.png" alt=""
|
|
/></a>
|
|
</div>
|
|
<div class="download-item-apple">
|
|
<img src="@/assets/img/home/apple.png" alt="" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="posters">
|
|
<div class="poster poster-one"></div>
|
|
<div class="poster poster-tow"></div>
|
|
<div class="poster poster-there"></div>
|
|
</div>
|
|
<div class="banner-bg">
|
|
<img src="@/assets/img/home/banner-out.png" alt="" />
|
|
</div>
|
|
<div class="boder-bottom">
|
|
<img src="@/assets/img/home/banner-boder.png" alt="" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import Slogan from "./Slogan.vue";
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.banner {
|
|
width: 100%;
|
|
height: 100vh;
|
|
height: 937px;
|
|
position: relative;
|
|
.sologan {
|
|
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: relative;
|
|
//
|
|
// z-index: 8;
|
|
|
|
.download-center {
|
|
margin-top: 25px;
|
|
display: flex;
|
|
width: 566px;
|
|
margin: 0 auto;
|
|
justify-content: space-between;
|
|
.download-item-google {
|
|
width: 181px;
|
|
height: 56px;
|
|
background-color: #161515;
|
|
cursor: pointer;
|
|
position: relative;
|
|
background: url("../../assets/img/home/google.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
img {
|
|
opacity: 0;
|
|
}
|
|
&:hover {
|
|
background: url("../../assets/img/home/google-active.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
}
|
|
.download-item-andriod {
|
|
width: 181px;
|
|
height: 56px;
|
|
background-color: #161515;
|
|
cursor: pointer;
|
|
position: relative;
|
|
background: url("../../assets/img/home/andriod.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
img {
|
|
opacity: 0;
|
|
}
|
|
&:hover {
|
|
background: url("../../assets/img/home/andriod-active.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
}
|
|
.download-item-apple {
|
|
width: 181px;
|
|
height: 56px;
|
|
background-color: #161515;
|
|
cursor: pointer;
|
|
position: relative;
|
|
background: url("../../assets/img/home/apple.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
img {
|
|
opacity: 0;
|
|
}
|
|
&:hover {
|
|
background: url("../../assets/img/home/apple-active.png") no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.posters {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 40px;
|
|
z-index: 9;
|
|
margin-bottom: 12px;
|
|
margin-top: 74px;
|
|
width: 15px;
|
|
height: 90px;
|
|
transform: translate(-50%, -50%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
.poster {
|
|
width: 15px;
|
|
height: 12px;
|
|
background-image: url("@/assets/img/home/poster.png");
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
background-color: transparent;
|
|
background-size: contain;
|
|
-webkit-animation-name: arrow;
|
|
animation-name: arrow;
|
|
margin-bottom: 4px;
|
|
-webkit-animation-duration: 1.5s;
|
|
animation-duration: 1.5s;
|
|
-webkit-animation-timing-function: linear;
|
|
animation-timing-function: linear;
|
|
-webkit-animation-iteration-count: infinite;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
.poster-one {
|
|
top: 0;
|
|
-webkit-animation-delay: 0s;
|
|
animation-delay: 0s;
|
|
}
|
|
.poster-tow {
|
|
top: 18px;
|
|
-webkit-animation-delay: 0.5s;
|
|
animation-delay: 0.5s;
|
|
}
|
|
.poster-there {
|
|
top: 64px;
|
|
-webkit-animation-delay: 1s;
|
|
animation-delay: 1s;
|
|
}
|
|
@keyframes arrow {
|
|
50% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
}
|
|
.banner-bg {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
z-index: -1;
|
|
height: 100%;
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
.boder-bottom {
|
|
width: 100%;
|
|
z-index: 3;
|
|
position: absolute;
|
|
bottom: -1px;
|
|
img {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
}
|
|
}
|
|
.btn {
|
|
/* 设置按钮样式 */
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
text-decoration: none; /* 去除链接的下划线 */
|
|
color: #333; /* 设置链接文字颜色 */
|
|
}
|
|
|
|
.icon {
|
|
/* 设置图标样式 */
|
|
margin-right: 10px; /* 图标与文字之间的间距 */
|
|
}
|
|
|
|
.title {
|
|
/* 设置标题样式 */
|
|
}
|
|
|
|
.subtitle {
|
|
/* 设置副标题样式 */
|
|
}
|
|
</style>
|