Prechádzať zdrojové kódy

Merge branch 'master' of http://git.choozmo.com:3000/choozmo/New-Bhouse-Web

# Conflicts:
#	themes/hugo-universal-theme-master/static/css/style.bhouse.css
#	themes/hugo-universal-theme-master/static/css/style.bhouse.css.map
#	themes/hugo-universal-theme-master/static/css/style.bhouse.scss
#	themes/hugo-universal-theme-master/static/js/bhouse.js
develop_Yu 2 rokov pred
rodič
commit
8a7150b57a

BIN
.DS_Store


BIN
content/.DS_Store


BIN
content/collection/.DS_Store


BIN
content/collection/open_the_blinds_and_meet_the_simple_warmth_of_home/.DS_Store


+ 3 - 1
content/collection/open_the_blinds_and_meet_the_simple_warmth_of_home/index.md

@@ -7,8 +7,10 @@ draft: false
 type: "collection"
 url: "/collection/open_the_blinds_and_meet_the_simple_warmth_of_home/"
 image: "/img/collection/4646e6a4a20b4a9488f7aa1e517031a9.webp"
-cover_img : "/img/banner/bn_portfolio@2x.png"
+cover_img : "/img/7092849b423442c0afac90e9a06c9098.webp"
 description: "台中 吳工程師|新成屋<br>兩房兩廳|31.6 坪<br>總預算 111.9 萬<br>"
+banner_img_text: "「我們一家人最常在開放式的客餐廚一起活動,彼此陪伴的感覺最棒了。」"
+homeowner: "聰明可愛的小比、爸爸、媽媽"
 size: "31.6坪"
 bed_num: "兩房兩廳"
 house_type: "大樓/新成屋"

BIN
layouts/.DS_Store


+ 6 - 3
layouts/collection/list.html

@@ -35,6 +35,9 @@
         <a class="bhouseweb_item_type">20-35坪</a>
         <a class="bhouseweb_item_type">36-50坪</a>
         <a class="bhouseweb_item_type">50坪以上</a>
+        <a class="bhouseweb_item_type">50坪以上</a>
+        <a class="bhouseweb_item_type">50坪以上</a>
+        <a class="bhouseweb_item_type">50坪以上</a>        
       </div>
       <div class="bhouseweb_loc_type">
         <a class="fw-bold">預算</a>
@@ -70,15 +73,15 @@
 
   </div>
   <hr class="bhouseweb_loc_line">
-  <div class="bhouseweb_loc_content">
+  <div class="bhouseweb_loc_content" style="overflow-x:hidden">
     <div class="bhouseweb_loc_sec02">
       <div class="row px-0 mx-0">
         {{ $paginator := .Paginate .Data.Pages }}
         {{ range $paginator.Pages }}
-        <div class="col-6 col-md-6 p-1">
+        <div class="col-12 col-md-6 p-1">
           <div class="bhouseweb_loc_sec02_card secimg mx-0 px-0 border-0">
             <a href="{{ .RelPermalink }}">
-              <img src="{{ .Params.Image | relURL }}" alt="">
+              <img class="img-fluid" src="{{ .Params.Image | relURL }}" alt="">
               <div class="sec02-p-dec p-1 mt-1 text-center">
                 <h5 class="card-title">{{ replace .Title "|小寶優居・成家故事" "" }}</h5>
                 <p class="card-text">{{ .Description | safeHTML }}</p>

+ 18 - 10
layouts/collection/single.html

@@ -8,7 +8,11 @@
     <h2 class="style_house_title style_house_text m-0">{{ .Params.collection_title}}</h2>
 </div>
 <section class="style_house_banner container-fluid px-0">
-    <img src="/img/1 2.webp" alt="">
+    <img src="./{{ .Params.cover_img}}" alt="">
+    <div class="collection_banner_text_box">
+        <p>{{ .Params.banner_img_text}}</p>
+        <p>{{ .Params.homeowner}}|{{ .Params.bed_num}}|{{ .Params.size}}</p>
+      </div>
 </section>
 <div class="style_house_content">
     <div class="style_house_sec01">
@@ -312,16 +316,20 @@
                 class="fw-normal me-2">&lt;</span>回到成家故事案例</p>
     </a>
 </div>
-<hr class="style_house_line d-none d-md-block">
-<div class="style_house_content d-none d-md-block">
-    <div class="style_house_sec06">
+<hr class="style_house_line ">
+<div class="style_house_content home-content">
+    <div class="style_house_sec06 container-fluid px-0">
         <div class="row px-0 mx-0">
-            <div class="col-6 col-md-6">
-                <img class="img-fluid" src="/img/service planner.png" alt="">
-            </div>
-            <div class="col-6 col-md-6">
-                <img class="img-fluid" src="/img/qa.png" alt="">
-            </div>
+            <div class="col-6 col-sm-6 bg-portfolio ps-0">
+                <a href="/collection/">
+                  <div class="bg-img"></div>
+                </a>
+              </div>
+            <div class="col-6 col-sm-6 bg-qa pe-0">
+                <a href="/frequently_asked_questions/">
+                  <div class="bg-img"></div>
+                </a>
+              </div>
         </div>
     </div>
 </div>

BIN
static/.DS_Store


BIN
themes/.DS_Store


+ 94 - 12
themes/hugo-universal-theme-master/static/css/style.bhouse.css

@@ -358,7 +358,7 @@ img {
   left: 0;
   right: 0;
   bottom: 0px;
-  background-color: rgba(128, 143, 76, 0.6);
+  background-color: rgba(128, 143, 76, 0.8);
   text-align: end;
 }
 
@@ -858,8 +858,52 @@ img {
 
 /* Banner end */
 /* 成家故事作品集-collection start */
+.collection_banner_text_box {
+  padding: 20px 20vw;
+  position: absolute;
+  left: 0;
+  right: 0;
+  bottom: 0px;
+  background-color: rgba(128, 143, 76, 0.8);
+  text-align: end;
+}
+
+@media screen and (max-width: 767px) {
+  .collection_banner_text_box {
+    padding: 20px 2vw 20px 0;
+  }
+}
+
+.collection_banner_text_box p {
+  margin: 0;
+  color: #ffffff;
+  font-size: 22px;
+  font-family: NSJP-500;
+  letter-spacing: 2px;
+}
+
+@media screen and (max-width: 767px) {
+  .collection_banner_text_box p {
+    font-size: 17px;
+  }
+}
+
+.collection_banner_text_box p:last-child {
+  font-size: 18px;
+}
+
+@media (max-width: 575px) {
+  .collection_banner_text_box p:last-child {
+    font-size: 14px;
+  }
+}
+
+.style_house_banner {
+  position: relative;
+}
+
 .select {
-  text-decoration: underline !important;
+  border-bottom: 1.5px solid #565656 !important;
 }
 
 .bhouseweb_item_type {
@@ -895,7 +939,7 @@ img {
 }
 
 .bhouseweb_loc_sec01 {
-  width: 80%;
+  width: auto;
   margin-top: 180px;
   color: #656565;
   font-size: 0.9rem;
@@ -903,8 +947,9 @@ img {
 
 @media screen and (max-width: 767px) {
   .bhouseweb_loc_sec01 {
-    width: 95%;
+    width: auto;
     margin-top: 150px;
+    overflow-x: auto;
   }
 }
 
@@ -915,6 +960,24 @@ img {
   margin: 10px;
 }
 
+.bhouseweb_loc_type {
+  width: auto;
+  white-space: nowrap;
+}
+
+@media screen and (max-width: 767px) {
+  .bhouseweb_loc_type {
+    width: auto;
+    white-space: nowrap;
+  }
+}
+
+@media screen and (max-width: 767px) {
+  .bhouseweb_item_type {
+    display: inline-block;
+  }
+}
+
 @media screen and (max-width: 767px) {
   .bhouseweb_loc_sec01 .bhouseweb_loc_type,
   .bhouseweb_loc_sec01 .bhouseweb_loc_pattern,
@@ -930,7 +993,7 @@ img {
 .bhouseweb_loc_sec01 .bhouseweb_loc_size a {
   text-decoration: none;
   color: #565656;
-  padding: 5px 15px;
+  padding: 3px 15px;
 }
 
 @media screen and (max-width: 767px) {
@@ -938,7 +1001,7 @@ img {
   .bhouseweb_loc_sec01 .bhouseweb_loc_pattern a,
   .bhouseweb_loc_sec01 .bhouseweb_loc_budget a,
   .bhouseweb_loc_sec01 .bhouseweb_loc_size a {
-    padding: 5px 5px;
+    padding: 3px 5px;
   }
 }
 
@@ -970,7 +1033,7 @@ img {
   width: 70%;
   background: #565656 !important;
   border: none;
-  font-size: 1rem;
+  font-size: 14.4px;
   font-weight: 400;
   line-height: 1.5;
   outline: none;
@@ -980,7 +1043,7 @@ img {
 @media screen and (max-width: 767px) {
   .bhouseweb_loc_search_box #bhouseweb_search {
     width: 86%;
-    font-size: 1rem;
+    font-size: 14.4px;
   }
 }
 
@@ -1029,7 +1092,7 @@ img {
 
 @media screen and (max-width: 767px) {
   .bhouseweb_loc_sec02_card {
-    height: 160px;
+    height: 300px;
     padding: 0;
   }
 }
@@ -1067,14 +1130,14 @@ img {
 
 .bhouseweb_loc_sec02_card img {
   width: 100%;
-  height: 300px;
+  height: 100%;
   -o-object-fit: cover;
   object-fit: cover;
 }
 
 @media screen and (max-width: 767px) {
   .bhouseweb_loc_sec02_card img {
-    height: 100%;
+    height: 300px;
     -o-object-fit: cover;
     object-fit: cover;
   }
@@ -1091,6 +1154,22 @@ img {
 
 /* 成家故事作品集-collection end */
 /* 成家故事作品集內頁-simple_korean_style_hous start */
+.bg-portfolio .bg-img {
+  background-image: url(/img/home/X-1-02.png);
+}
+
+.bg-serve .bg-img {
+  background-image: url(/img/home/X-1-03.png);
+}
+
+.bg-qa .bg-img {
+  background-image: url(/img/home/X-1-04.png);
+}
+
+.bg-store .bg-img {
+  background-image: url(/img/home/X-1-05.png);
+}
+
 .icon-box img {
   margin-top: 0px;
   width: 35px;
@@ -1101,12 +1180,15 @@ img {
   background: #fff;
 }
 
+<<<<<<< HEAD
 @media screen and (max-width: 991px) {
   .style_house_ads {
     padding-top: 13px;
   }
 }
 
+=======
+>>>>>>> 907169339213b96cd772af4791d1652aba9d51f3
 .style_house_ads .style_house_text {
   width: 80.5%;
   margin: 0 auto;
@@ -1138,7 +1220,7 @@ img {
 
 @media screen and (max-width: 767px) {
   .style_house_banner img {
-    height: 150px;
+    height: 200px;
   }
 }
 

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 1 - 0
themes/hugo-universal-theme-master/static/css/style.bhouse.css.map


+ 88 - 12
themes/hugo-universal-theme-master/static/css/style.bhouse.scss

@@ -374,7 +374,7 @@ img {
   left: 0;
   right: 0;
   bottom: 0px;
-  background-color: rgba(128, 143, 76, 0.6);
+  background-color: rgba(128, 143, 76, 0.8);
   text-align: end;
 }
 
@@ -878,8 +878,41 @@ img {
 
 /* Banner end */
 /* 成家故事作品集-collection start */
+.collection_banner_text_box{
+  padding: 20px 20vw;
+  position: absolute;
+  left: 0;
+  right: 0;
+  bottom: 0px;
+  background-color: rgba(128, 143, 76, 0.8);
+  text-align: end;
+ 
+  @media screen and (max-width: 767px) {
+    padding: 20px 2vw 20px 0;
+  }
+  p{
+    margin: 0;
+    color: #ffffff;
+    font-size: 22px;
+    font-family: NSJP-500;
+    letter-spacing: 2px;
+    @media screen and (max-width: 767px) {
+      font-size: 17px;
+    }
+  }
+  p:last-child {
+    font-size: 18px;
+    @media (max-width: 575px) {
+      font-size: 14px;
+    }
+  }
+}
+.style_house_banner{
+  position: relative;
+}
 .select {
-  text-decoration: underline !important;
+  // text-decoration: underline !important;
+  border-bottom: 1.5px solid #565656 !important;
 }
 
 .bhouseweb_item_type {
@@ -915,7 +948,7 @@ img {
 }
 
 .bhouseweb_loc_sec01 {
-  width: 80%;
+  width: auto;
   margin-top: 180px;
   color: #656565;
   font-size: 0.9rem;
@@ -923,8 +956,12 @@ img {
 
 @media screen and (max-width: 767px) {
   .bhouseweb_loc_sec01 {
-    width: 95%;
+    // overflow-x: scroll;
+   width: auto;
     margin-top: 150px;
+    overflow-x: auto;
+
+  
   }
 }
 
@@ -934,6 +971,19 @@ img {
 .bhouseweb_loc_sec01 .bhouseweb_loc_size {
   margin: 10px;
 }
+.bhouseweb_loc_type{
+  width: auto;
+  white-space: nowrap;
+  @media screen and (max-width: 767px) {
+    width: auto;
+    white-space: nowrap;
+  }
+}
+.bhouseweb_item_type{
+  @media screen and (max-width: 767px) {
+    display: inline-block;
+  }
+}
 
 @media screen and (max-width: 767px) {
   .bhouseweb_loc_sec01 .bhouseweb_loc_type,
@@ -950,7 +1000,7 @@ img {
 .bhouseweb_loc_sec01 .bhouseweb_loc_size a {
   text-decoration: none;
   color: #565656;
-  padding: 5px 15px;
+  padding: 3px 15px;
 }
 
 @media screen and (max-width: 767px) {
@@ -958,7 +1008,7 @@ img {
   .bhouseweb_loc_sec01 .bhouseweb_loc_pattern a,
   .bhouseweb_loc_sec01 .bhouseweb_loc_budget a,
   .bhouseweb_loc_sec01 .bhouseweb_loc_size a {
-    padding: 5px 5px;
+    padding: 3px 5px;
   }
 }
 
@@ -990,7 +1040,7 @@ img {
   width: 70%;
   background: #565656 !important;
   border: none;
-  font-size: 1rem;
+  font-size: 14.4px;
   font-weight: 400;
   line-height: 1.5;
   outline: none;
@@ -1000,7 +1050,7 @@ img {
 @media screen and (max-width: 767px) {
   .bhouseweb_loc_search_box #bhouseweb_search {
     width: 86%;
-    font-size: 1rem;
+    font-size: 14.4px;
   }
 }
 
@@ -1049,7 +1099,7 @@ img {
 
 @media screen and (max-width: 767px) {
   .bhouseweb_loc_sec02_card {
-    height: 160px;
+    height: 300px;
     padding: 0;
   }
 }
@@ -1087,14 +1137,14 @@ img {
 
 .bhouseweb_loc_sec02_card img {
   width: 100%;
-  height: 300px;
+  height: 100%;
   -o-object-fit: cover;
   object-fit: cover;
 }
 
 @media screen and (max-width: 767px) {
   .bhouseweb_loc_sec02_card img {
-    height: 100%;
+    height: 300px;
     -o-object-fit: cover;
     object-fit: cover;
   }
@@ -1111,6 +1161,26 @@ img {
 
 /* 成家故事作品集-collection end */
 /* 成家故事作品集內頁-simple_korean_style_hous start */
+.bg-portfolio {
+  .bg-img {
+    background-image: url(/img/home/X-1-02.png);
+  }
+}
+.bg-serve {
+  .bg-img {
+    background-image: url(/img/home/X-1-03.png);
+  }
+}
+.bg-qa {
+  .bg-img {
+    background-image: url(/img/home/X-1-04.png);
+  }
+}
+.bg-store {
+  .bg-img {
+    background-image: url(/img/home/X-1-05.png);
+  }
+}
 .icon-box img {
   margin-top: 0px;
   width: 35px;
@@ -1118,9 +1188,15 @@ img {
 .style_house_ads {
   padding: 15px;
   background: #fff;
+<<<<<<< HEAD
   @media screen and (max-width: 991px) {
     padding-top: 13px;
   }
+=======
+  // @media screen and (max-width: 991px) {
+  //   padding-top: 100px;
+  // }
+>>>>>>> 907169339213b96cd772af4791d1652aba9d51f3
 }
 
 .style_house_ads .style_house_text {
@@ -1154,7 +1230,7 @@ img {
 
 @media screen and (max-width: 767px) {
   .style_house_banner img {
-    height: 150px;
+    height: 200px;
   }
 }
 

+ 4 - 0
themes/hugo-universal-theme-master/static/js/bhouse.js

@@ -93,7 +93,11 @@ $('.style_house_sec02 .slider-nav').slick({
   asNavFor: '.slider-for',
   dots: false,
   arrows: false,
+<<<<<<< HEAD
   centerMode: true,
+=======
+  // centerMode: true,
+>>>>>>> 907169339213b96cd772af4791d1652aba9d51f3
   focusOnSelect: true
 });
 

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov