jeter20131220 3 years ago
parent
commit
cbd95a5aea

+ 27 - 3
goto.js

@@ -1,12 +1,13 @@
 
+
+
+
 $('designer-nav').hide();
 
 $(".item-down").click(function () {
   $('.designer-nav').slideToggle();
 });
 
-// var scene = document.getElementById('scene');
-// var parallaxInstance = new Parallax(scene);
 
 
 $("*").each(function (index, element) {
@@ -141,4 +142,27 @@ function sec03BottomImg() {
 //   }     
 //   var direction = range < 0 ?'next':'prev';
 //   $("#carousel-example-generic").carousel(direction);
-// }
+// }
+
+var scene = document.getElementById('scene');
+var parallaxInstance = new Parallax(scene);
+
+var scene1 = document.getElementById('scene1');
+var parallaxInstance = new Parallax(scene1);
+
+var scene2 = document.getElementById('scene2');
+var parallaxInstance = new Parallax(scene2);
+
+$(window).bind('scroll',function(e){
+  parallaxScroll();
+ });
+
+ function parallaxScroll(){
+	var scrolled = $(window).scrollTop();
+	$('.object178').css('top',(200-(scrolled*.2))+'px');
+  $('.object188').css('top',(150-(scrolled*.1))+'px');
+	$('.object177').css('top',(600-(scrolled*.25))+'px');
+	$('.object182').css('top',(400-(scrolled*.2))+'px');
+  $('.object241').css('top',(600-(scrolled*.1))+'px');
+  $('.object242').css('top',(700-(scrolled*.1))+'px');
+}

BIN
img/2381.png


BIN
img/2382.png


BIN
img/2383.png


BIN
img/23833.png


BIN
img/238332.png


BIN
img/23888.png


BIN
img/mobile-logo/组 238 - 複製 (2).png


BIN
img/mobile-logo/组 238 - 複製.png


BIN
img/mobile-logo/组 238.png


BIN
img/object/177.png


BIN
img/object/组 238.png


+ 32 - 7
index.html

@@ -17,7 +17,7 @@
 </head>
 
 <body id="top">
-    <div class="body-content">
+    <div style="overflow-x: hidden;" class="body-content">
         <section id="Navigation" class="container-fluid px-0 mx-0">
             <div id="nav" class="row px-0 mx-0">
                 <div id="logo" class=" col-md-2 col-lg-5">
@@ -86,9 +86,29 @@
         <section class="banner">
             <div class="banner-content">
                 <div class="card bg-transparent border-0">
-                    <div id="scene">
-                        <img id="banner-des" src="./img/banner-img.png" class="card-img" alt="...">
+                    <div id="banner-des">
+                        <div id="lux-banner" class="px-0">
+                                <div id="scene"class="lux-01 px-0">
+                                    <div data-depth="0.4">
+                                        <img  class="img-fluid" src="./img/2381.png" alt="">
+                                    </div>
+                                </div>
+                                <div id="scene1" class="lux-02 px-0">
+                                    <div data-depth="0.1">
+                                        <img  class="img-fluid" src="./img/2382.png" alt="">
+                                    </div>
+                                </div>
+                                <div id="scene2" class="lux-03 px-0 text-center">
+                                    <div data-depth="0.4">
+                                        <img class="img-fluid" src="./img/238332.png" alt="">
+                                    </div>
+                                </div>
+                            
+                        </div>
                     </div>
+                    <!-- <div>
+                        <img id="banner-des" src="./img/banner-img.png" class="card-img" alt="...">
+                    </div> -->
                     <img id="banner-m" src="./img/banner-img-m.png" class="card-img" alt="">
                     <div class="banner-title card-img-overlay">
                         <img id="title-des" class="img-fluid" src="./img/banner-title.png" alt="">
@@ -215,8 +235,10 @@
                 <div class="sec">
                     <div class="row mx-0 px-0">
                         <div style="position: relative;" class="col-5 col-md-6 col-lg-6 mx-0 px-0">
-                            <img style="position: absolute;" class="object178" src="./img/object/178.png" alt="">
-                            <img style="position: absolute;" class="object188" src="./img/object/188.png" alt="">
+                            <div  id="scene">
+                                <img style="position: absolute;" class="object178" src="./img/object/178.png" alt="">
+                            </div>
+                            <img  style="position: absolute;" class="object188" src="./img/object/188.png" alt="">
                             <div class="test">
                                 <div class="cover"></div>
                                 <img style="position: relative; z-index: 2;" class="sec02-img img-fluid"
@@ -228,13 +250,14 @@
                         </div>
                         <div class="col-7 col-md-6 col-lg-6">
                             <div class="sec02-right">
-                                <div class="sec02-int">
+                                <div style="position: relative;" class="sec02-int">
                                     <div class="title_back">
                                         <div class="title">
                                             <h3 class="d-inline ps-5">ISSUE1&emsp;<span class="fw-light">——</span></h3>
                                             <h1>世界豪宅趨勢</h1>
                                         </div>
                                     </div>
+                                    <img style="position: absolute;" class="object177" src="./img/sec03/177.png" alt="">
                                     <div class="sec02-text test_content">
                                         <p>推開窗,就能擁抱廣闊的綠意,所以,世界各大都市最昂貴、最</p>
                                         <p>有價值的豪宅,都是集中於市區內大型綠地周邊的宅邸,更強</p>
@@ -359,7 +382,7 @@
                 <div class="sec03-content d-flex justify-content-end">
                     <div class="test">
                         <div class="p_cover"></div>
-                        <img class="sec03-img01 img-fluid" src="./img/object/mockup-wall-with-plants-shelf.png" alt="">
+                        <img  class="sec03-img01 img-fluid" src="./img/object/mockup-wall-with-plants-shelf.png" alt="">
                     </div>
                     <img class="sec03-img02" src="./img/object/405.png" alt="">
                 </div>
@@ -380,6 +403,8 @@
             <div class="sec04-content sec">
                 <div class="sec04-int mb-5">
                         <img style="position: absolute; z-index: 30;" class="object182" src="./img/object/182.png" alt="">
+                        <img style="position: absolute; z-index: 30;" class="object182-m" src="./img/object/182.png" alt="">
+
                     <div class="title_back">
                         <div id="issue3" class="title">
                             <h3 class="d-inline ps-5">ISSUE3&emsp;<span class="fw-light">——</span></h3>

+ 118 - 5
style.css

@@ -19,6 +19,7 @@ body {
 
 .body-content {
   overflow: hidden;
+  position: relative;
 }
 
 #Navigation {
@@ -269,7 +270,7 @@ body {
 }
 
 .banner .banner-content {
-  width: 62vw;
+  width: 70vw;
   margin: 0 auto;
 }
 
@@ -279,23 +280,93 @@ body {
   }
 }
 
+.banner .banner-content #lux-banner {
+  display: -ms-grid;
+  display: grid;
+  -ms-grid-columns: 1fr 1fr 1fr;
+      grid-template-columns: 1fr 1fr 1fr;
+  width: 65vw;
+  margin-left: 5vw;
+}
+
+.banner .banner-content #lux-banner .lux-01 {
+  overflow: hidden;
+  border-radius: 150px 150px 0% 0%;
+  margin-top: 3vw;
+  width: 17vw;
+  height: 30vw;
+}
+
+.banner .banner-content #lux-banner .lux-01 img {
+  position: relative;
+  bottom: 30px;
+  width: 100%;
+  -webkit-transform: scale(1.2);
+          transform: scale(1.2);
+  height: 35vw;
+}
+
+.banner .banner-content #lux-banner .lux-02 {
+  overflow: hidden;
+  border-radius: 150px 150px 0% 0%;
+  width: 17vw;
+  height: 33vw;
+}
+
+.banner .banner-content #lux-banner .lux-02 img {
+  position: relative;
+  bottom: 30px;
+  width: 100%;
+  -webkit-transform: scale(1.2);
+          transform: scale(1.2);
+  height: 35vw;
+  -o-object-fit: cover;
+     object-fit: cover;
+}
+
+.banner .banner-content #lux-banner .lux-03 {
+  overflow: hidden;
+  border-radius: 150px 150px 0% 0%;
+  margin-top: 3vw;
+  width: 17vw;
+  height: 30vw;
+}
+
+.banner .banner-content #lux-banner .lux-03 img {
+  position: relative;
+  bottom: 30px;
+  width: 100%;
+  -webkit-transform: scale(1.2);
+          transform: scale(1.2);
+  height: 35vw;
+  -o-object-fit: cover;
+     object-fit: cover;
+}
+
 .banner .banner-content .banner-title {
   margin-top: 8vw;
+  width: 65vw;
+  margin-left: 3vw;
 }
 
 @media screen and (max-width: 767px) {
   .banner .banner-content .banner-title {
     margin-top: 20vw;
+    width: 100%;
+    margin-left: 0vw;
   }
 }
 
 .banner .banner-content .banner-title #title-des {
+  margin: 0 auto;
   -webkit-animation-name: title;
           animation-name: title;
   -webkit-animation-duration: 2s;
           animation-duration: 2s;
   -webkit-animation-delay: 0.5s;
           animation-delay: 0.5s;
+  -webkit-animation-fill-mode: backwards;
+          animation-fill-mode: backwards;
 }
 
 @media screen and (max-width: 767px) {
@@ -636,7 +707,7 @@ body {
 }
 
 .sec02 {
-  background: url(./img/sec02/sec02-bg.png);
+  background: url(./img/bg.png);
   background-repeat: no-repeat;
   background-size: cover;
 }
@@ -686,6 +757,8 @@ body {
   z-index: 30;
   top: -5vw;
   left: 4.5vw;
+  -webkit-transition: 0.5s;
+  transition: 0.5s;
 }
 
 @media screen and (max-width: 1024px) {
@@ -700,9 +773,26 @@ body {
   }
 }
 
+.sec02 .sec02-content .object177 {
+  right: -1vw;
+  width: 500px;
+  top: 15vw;
+  -webkit-transition: 0.5s;
+  transition: 0.5s;
+}
+
+@media screen and (max-width: 1024px) {
+  .sec02 .sec02-content .object177 {
+    width: 300px;
+    top: 10vw;
+  }
+}
+
 .sec02 .sec02-content .object188 {
   width: 180px;
   left: 42vw;
+  -webkit-transition: 0.5s;
+  transition: 0.5s;
 }
 
 @media screen and (max-width: 1024px) {
@@ -1040,6 +1130,8 @@ body {
   width: 450px;
   top: -7vw;
   left: -10vw;
+  -webkit-transition: 0.5s;
+  transition: 0.5s;
 }
 
 @media screen and (max-width: 1024px) {
@@ -1050,9 +1142,26 @@ body {
 
 @media screen and (max-width: 767px) {
   .sec04 .sec04-content .object182 {
-    width: 250px;
-    left: 64vw;
-    top: -30vw;
+    display: none;
+  }
+}
+
+.sec04 .sec04-content .object182-m {
+  top: -7vw;
+  width: 250px;
+  left: 64vw;
+  top: -30vw;
+}
+
+@media screen and (max-width: 1024px) {
+  .sec04 .sec04-content .object182-m {
+    display: none;
+  }
+}
+
+@media screen and (min-width: 1025px) {
+  .sec04 .sec04-content .object182-m {
+    display: none;
   }
 }
 
@@ -1166,6 +1275,8 @@ body {
   left: -8vw;
   z-index: 0;
   top: 18vw;
+  -webkit-transition: 0.5s;
+  transition: 0.5s;
 }
 
 @media screen and (max-width: 1024px) {
@@ -1185,6 +1296,8 @@ body {
   right: -6vw;
   top: 18vw;
   z-index: 1;
+  -webkit-transition: 0.5s;
+  transition: 0.5s;
 }
 
 @media screen and (max-width: 1024px) {

File diff suppressed because it is too large
+ 0 - 0
style.css.map


+ 94 - 5
style.scss

@@ -26,6 +26,7 @@ body {
 }
 .body-content{
     overflow: hidden;
+    position: relative;
 }
 // 主選單
 #Navigation {
@@ -212,20 +213,78 @@ body {
         padding-top: 20vw;
     }
     .banner-content {
-        width: 62vw;
+        width: 70vw;
         margin: 0 auto;
         @media screen and(max-width:$moblie) {
             width: 95vw;
         }
+        #lux-banner{
+            display: grid;
+            grid-template-columns: 1fr 1fr 1fr;
+            width: 65vw;
+            margin-left: 5vw;
+            .lux-01{
+                overflow: hidden;
+                border-radius:150px 150px 0% 0%;
+              margin-top: 3vw;
+                width: 17vw;
+                height:30vw;
+                img{
+                    position: relative;
+                    bottom:30px;
+                    width: 100%;
+                    transform: scale(1.2);
+                    height:35vw;
+                }
+                
+            }
+            .lux-02{
+                overflow: hidden;
+                border-radius:150px 150px 0% 0%;
+                width: 17vw;
+                height:33vw;
+                img{
+                    position: relative;
+                    bottom:30px;
+                    width: 100%;
+                    transform: scale(1.2);
+                    height:35vw;
+                    object-fit: cover;
+                }
+                
+            }
+            .lux-03{
+                overflow: hidden;
+                border-radius:150px 150px 0% 0%;
+                margin-top: 3vw;
+                width: 17vw;
+                height:30vw;
+                img{
+                    position: relative;
+                    bottom:30px;
+                    width: 100%;
+                    transform: scale(1.2);
+                    height:35vw;
+                    object-fit: cover;
+                }
+                
+            }
+        }
         .banner-title {
             margin-top: 8vw;
+            width: 65vw;
+            margin-left: 3vw;
             @media screen and(max-width:$moblie) {
                 margin-top: 20vw;
+                width: 100%;
+                margin-left:0vw;
             }
             #title-des {
+                margin: 0 auto;
                 animation-name: title;
                 animation-duration: 2s;
                 animation-delay: 0.5s;
+                animation-fill-mode: backwards;
                 @media screen and(max-width:$moblie) {
                     display: none;
                 }
@@ -443,7 +502,7 @@ body {
 }
 // sec02桌機板
 .sec02 {
-    background: url(./img/sec02/sec02-bg.png);
+    background: url(./img/bg.png);
     background-repeat: no-repeat;
     background-size: cover;
     @media screen and(max-width:$moblie) {
@@ -475,6 +534,8 @@ body {
             z-index: 30;
             top: -5vw;
             left: 4.5vw;
+            transition: 0.5s;
+            // margin-left: 120px;
             @media screen and(max-width:$table) {
                 width: 150px;
             }
@@ -482,9 +543,22 @@ body {
                 display: none;
             }
         }
+        .object177{
+         right:-1vw;
+            width: 500px;
+            top:15vw;
+            transition: 0.5s;
+            @media screen and(max-width:$table) {
+                width: 300px;
+                top:10vw;
+            }
+        }
         .object188 {
             width: 180px;
             left: 42vw;
+            // margin-left: 620px;
+            // margin-top: 50px;
+            transition: 0.5s;
             @media screen and(max-width:$table) {
                 width: 100px;
             }
@@ -742,13 +816,24 @@ body {
             width: 450px;
             top: -7vw;
             left: -10vw;
+            transition: 0.5s;
             @media screen and(max-width:$table) {
                 width: 300px;
             }
             @media screen and(max-width:$moblie) {
-               width: 250px;
-               left:64vw;
-               top:-30vw;
+              display: none;
+            }
+        }
+        .object182-m{
+            top: -7vw;
+            width: 250px;
+            left:64vw;
+            top:-30vw;
+            @media screen and(max-width:$table) {
+               display: none;
+            }
+            @media screen and(min-width:$desktop) {
+               display: none;
             }
         }
         #issue3 {
@@ -833,6 +918,8 @@ body {
                 left: -8vw;
                 z-index: 0;
                 top: 18vw;
+                transition: 0.5s;
+
                 @media screen and(max-width:$table) {
                     display: none;
                 }
@@ -845,6 +932,8 @@ body {
                 right:-6vw;
                 top:18vw;
                 z-index: 1;
+                transition: 0.5s;
+
                 @media screen and(max-width:$table) {
                     display: none;
                 }

Some files were not shown because too many files changed in this diff