void) {
+ changePos(target: number, step: number, cb: () => void) {
this.scrollLeft = target
setTimeout(function() {
cb()
@@ -136,58 +231,155 @@ export default class extends Vue {
diff --git a/src/components/main/ChipSection.vue b/src/components/main/ChipSection.vue
index 93f9c3c..c372cc2 100644
--- a/src/components/main/ChipSection.vue
+++ b/src/components/main/ChipSection.vue
@@ -2,9 +2,10 @@

-
how old are you
+
Earn your NFTs item by playing the game and sell it on the markedplace to make money.
+
@@ -30,7 +31,7 @@ export default class extends Vue {
}
.title {
position: absolute;
- top: 58px;
+ top: 100px;
left: 0;
right: 0;
display: flex;
@@ -44,6 +45,9 @@ export default class extends Vue {
.title .text{
color: white;
font-size: 28px;
+ margin: 10px 15px;
+ text-align: center;
+ text-shadow: 0 0 0.1em #fbc369, 0 0 0.1em #fbc369;
}
.main-img{
width: 87vw;
@@ -54,4 +58,28 @@ export default class extends Vue {
margin-left: auto;
margin-right: auto;
}
+.main-img_2 {
+ display: none;
+}
+@media (max-width: 767px) {
+ .main-img{
+ display: none;
+ }
+ .title img {
+ width: 281px;
+ }
+ .title .text{
+ font-size: 14px;
+ }
+ .main-img_2{
+ display: block;
+ width: 90vw;
+ position: absolute;
+ left: 0;
+ right: 0;
+ bottom: 20vh;
+ margin-left: auto;
+ margin-right: auto;
+ }
+}
diff --git a/src/components/main/GamePlaySection.vue b/src/components/main/GamePlaySection.vue
index afac18b..13511bf 100644
--- a/src/components/main/GamePlaySection.vue
+++ b/src/components/main/GamePlaySection.vue
@@ -2,16 +2,29 @@

-
hi you ar
+
Earn your NFTs item by playing the game and sell it on the markedplace to make money.
-
-

-

-
some thing error
-

+
'
+
+

+

+
Earn your NFTs item by playing the game and sell it on the markedplace to make money.
+

+
+
+
+
+
@@ -29,6 +42,16 @@ import SpineView from '@/components/main/SpineView.vue'
})
export default class extends Vue {
private hero: ISpineData = { id: 'hero10', skelName: 'pic_hero10', animName: 'animation', repeat: true, scale: 1.2 }
+ private videoShow = false
+ private videoUrl = 'https://cdn.cebg.games/video/v2.mp4'
+ showVideo() {
+ this.videoShow = true
+ }
+
+ hideVideo() {
+ this.videoShow = false
+ console.log('hide video')
+ }
}
@@ -44,7 +67,7 @@ export default class extends Vue {
flex-direction: column;
position: absolute;
left: 0;
- top: 38px;
+ top: 100px;
right: 0;
margin: auto;
width: 50vw;
@@ -70,12 +93,16 @@ export default class extends Vue {
right: 0;
bottom: 18vh;
position: absolute;
+ padding-bottom: 77px;
+ padding-top: 20px;
+}
+.color-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
- padding-bottom: 77px;
- padding-top: 20px;
+ width: 100%;
+ height: 80%;
}
.logo_t {
width: 151px;
@@ -111,4 +138,103 @@ export default class extends Vue {
background-image: url('~@/assets/main/p2/bg_bottom.png');
background-repeat: repeat-x;
}
+.video-bg{
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ z-index: 14;
+}
+.video-div {
+ width: 70vw;
+ height: 40vw;
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ margin: auto;
+ z-index: 15;
+}
+.video-div video {
+ width: 100%;
+ height: 100%;
+}
+@media (max-width: 767px) {
+ .title {
+ top: 60px;
+ }
+ .title img {
+ width: 100%;
+ }
+ .hero-anim{
+ width: 450px;
+ height: 600px;
+ left: 10px;
+ }
+ .color-view{
+ width: 100vw;
+ height: 50vh;
+ bottom: 8vh;
+ display: flex;
+ justify-content: end;
+ }
+ .color-content {
+ width: 50%;
+ justify-content: flex-start;
+ }
+ .logo_t{
+ width: 90px;
+ height: 70px;
+ margin-bottom: 8px;
+ }
+ .logo_b {
+ width: 180px;
+ height: auto;
+ margin-bottom: 80px;
+ }
+ .watch_btn{
+ width: 190px;
+ height: 60px;
+ margin-top: 100px;
+ }
+
+ .title .tips {
+ color: white;
+ font-size: 14px;
+ text-align: center;
+ text-shadow: 0 0 0.1em #fbc369, 0 0 0.1em #fbc369;
+ }
+ .color-view .text{
+ color: white;
+ font-size: 14px;
+ text-align: center;
+ text-shadow: 0 0 0.1em #fbc369, 0 0 0.1em #fbc369;
+ }
+ .video-div {
+ width: 100vw;
+ height: 56vw;
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ margin: auto;
+ z-index: 15;
+ }
+}
+@media (max-width: 415px) {
+ .hero-anim{
+ width: 200px;
+ height: 500px;
+ left: 10px;
+ }
+ .color-content {
+ width: 70%;
+ justify-content: flex-start;
+ }
+}
diff --git a/src/components/main/HomeHero.vue b/src/components/main/HomeHero.vue
index 803d790..c7d2a9b 100644
--- a/src/components/main/HomeHero.vue
+++ b/src/components/main/HomeHero.vue
@@ -35,22 +35,41 @@ export default class extends Vue {
diff --git a/src/components/main/HomeSection.vue b/src/components/main/HomeSection.vue
index dd83771..1e7624b 100644
--- a/src/components/main/HomeSection.vue
+++ b/src/components/main/HomeSection.vue
@@ -12,7 +12,7 @@
@@ -34,10 +34,10 @@ import HomeHero from '@/components/main/HomeHero.vue'
})
export default class extends Vue {
private heros: ISpineData[] = [
- { id: 'hero1', skelName: 'pic_hero2', animName: 'animation', repeat: true },
- { id: 'hero2', skelName: 'pic_hero3', animName: 'animation', repeat: true },
- { id: 'hero3', skelName: 'pic_hero9', animName: 'animation', repeat: true },
- { id: 'hero4', skelName: 'pic_hero1', animName: 'animation', repeat: true }
+ { id: 'hero1', skelName: 'pic_hero2', animName: 'animation', repeat: true, scale: 1.1 },
+ { id: 'hero2', skelName: 'pic_hero3', animName: 'animation', repeat: true, scale: 1.1 },
+ { id: 'hero3', skelName: 'pic_hero9', animName: 'animation', repeat: true, scale: 1.1 },
+ { id: 'hero4', skelName: 'pic_hero1', animName: 'animation', repeat: true, scale: 1.1 }
]
}
@@ -77,14 +77,48 @@ export default class extends Vue {
position: relative;
display: flex;
flex-direction: column-reverse;
+ overflow: hidden;
}
.spine-list{
display: flex;
+ justify-content: space-between;
}
-.hero-anim {
- width: 400px;
- height: 800px;
- margin-left: -90px;
- margin-right: -90px;
+.hero-von:not(:first-child){
+ margin-left: -120px;
+}
+
+@media (max-width: 767px) {
+ #home_section{
+ flex-direction: column;
+ align-items: center;
+ }
+ .home_left_panel{
+ width: 100vw;
+ align-items: center;
+ margin-top: 20px;
+ }
+ .home_right_panel {
+ width: 100vw;
+ height: 50vh;
+ }
+ .spine-list{
+ }
+
+ .home_left_panel .one_row:first-child{
+ margin-left: 0;
+ }
+ .one_row img {
+ max-width: 100%;
+ }
+ .version_list_panel img{
+ width: 25vw;
+ margin-right: 5px;
+ }
+ .hero-von:not(:first-child){
+ margin-left: -100px;
+ }
+}
+@media (max-width: 415px) {
+
}
diff --git a/src/components/main/MainFooter.vue b/src/components/main/MainFooter.vue
index 98f5ea7..38c8dbc 100644
--- a/src/components/main/MainFooter.vue
+++ b/src/components/main/MainFooter.vue
@@ -63,8 +63,8 @@ export default class extends Vue {
.centerPart{
width: 50vw;
display: grid;
- grid-template-columns: 33% 33% 33%;
- grid-template-rows: 80px 80px 80px;
+ grid-template-columns: repeat(3, 33.33%);
+ grid-template-rows: repeat(3, 80px);
padding-top: 50px;
}
.link-list a{
@@ -96,4 +96,35 @@ export default class extends Vue {
.community-list a img{
width: 50px;
}
+ @media (max-width: 767px) {
+ .footer{
+ flex-direction: column;
+ align-items: center;
+ }
+ .centerPart{
+ width: 80vw;
+ display: grid;
+ grid-template-rows: repeat(3, 30px);
+ padding-top: 30px;
+ }
+ .community-title {
+ width: 80vw;
+ display: flex;
+ justify-content: center;
+ }
+ .rightPart{
+ width: 80vw;
+ padding: 20px;
+ }
+ }
+ @media (max-width: 415px) {
+ .link-list a{
+ font-size: 14px;
+ }
+ }
+ @media (max-width: 376px) {
+ .link-list a{
+ font-size: 12px;
+ }
+ }
diff --git a/src/components/main/MainHeader.vue b/src/components/main/MainHeader.vue
index 2911a87..e05da46 100644
--- a/src/components/main/MainHeader.vue
+++ b/src/components/main/MainHeader.vue
@@ -1,7 +1,16 @@