SyuanYu 2 роки тому
батько
коміт
c00aad71e9

+ 4 - 4
layouts/blog/single.html

@@ -42,14 +42,14 @@
       </a>
 
 
-      <ul class="read-more-list">
-        <!-- <li>你可能會喜歡的,延伸閱讀點擊標題,看更多設計專欄!</li>
+      <!-- <ul class="read-more-list">
+        <li>你可能會喜歡的,延伸閱讀點擊標題,看更多設計專欄!</li>
         <li><a href="">【居家風格】 60萬以下 ↓ 超有氛圍的成家夢想</a></li>
         <li><a href="">【認識裝潢裝修】 模組系統櫃板材等級挑選5攻略</a></li>
         <li><a href="">【認識裝潢裝修】 11-20坪 小坪數裝潢裝修,規劃師教你小宅打造大空間</a></li>
         <li><a href="">【認識裝潢裝修】 什麼是輕裝修?輕裝修的定義是什麼?輕裝修包含什麼呢?</a></li>
-        <li><a href="">【規劃師服務】 什麼是規劃師?連室內設計師都推薦的「規劃師服務」</a></li> -->
-      </ul>
+        <li><a href="">【規劃師服務】 什麼是規劃師?連室內設計師都推薦的「規劃師服務」</a></li>
+      </ul> -->
     </div>
   </div>
 </div>

+ 10 - 1
layouts/store/store.html

@@ -94,10 +94,19 @@
                   class="store-link" target="_blank">Times 24h</a> (土城區興城路112號,到門市步行約7分鐘)
               </div>
               <div class="store_content_item">
-                <span>停車資訊</span> &emsp;&emsp; <a
+                <span>&emsp;&emsp;&emsp;&emsp;</span> &emsp;&emsp; <a
                   href="https://www.google.com/maps/place/236%E5%8F%B0%E7%81%A3%E6%96%B0%E5%8C%97%E5%B8%82%E5%9C%9F%E5%9F%8E%E5%8D%80%E4%B8%AD%E8%8F%AF%E8%B7%AF%E4%BA%8C%E6%AE%B5271%E8%99%9F/@24.9706428,121.4360605,17z/data=!3m1!4b1!4m5!3m4!1s0x34681cd62fc44991:0x9c556c7d295b384e!8m2!3d24.970638!4d121.4382492"
                   class="store-link" target="_blank">168停車聯盟</a> (土城區中華路二段271號,到門市步行約5分鐘)
               </div>
+              <div class="store_content_item">
+                <span>交通方式</span> &emsp;&emsp; 捷運點 土城站 (到門市步行約10分鐘)
+              </div>
+              <div class="store_content_item">
+                <span>&emsp;&emsp;&emsp;&emsp;</span> &emsp;&emsp; 公車點 中華中學一站 (到門市步行約2分鐘)
+              </div>
+              <div class="store_content_item">
+                <span>&emsp;&emsp;&emsp;&emsp;</span> &emsp;&emsp; YouBike點 中華城林路口 (到門市步行約2分鐘)
+              </div>
               <div class="mt-4">
                 <a class="reservation-link" href="https://lihi1.com/uoYTg" data-vars-event="accuhit">立即預約,將有專人與你聯繫
                   &gt;</a>

+ 33 - 31
themes/hugo-universal-theme-master/layouts/partials/footer.html

@@ -154,7 +154,7 @@
           <li class="breadcrumb-item" id="breadcrumb_main">
             <a href="#"></a>
           </li>
-          <li class="breadcrumb-item active" aria-current="page" id="breadcrumb_minor"></li>
+          <!-- <li class="breadcrumb-item active" aria-current="page" id="breadcrumb_minor"></li> -->
         </ol>
       </nav>
 
@@ -313,17 +313,17 @@
   (function setBreadcrumb() {
     let pathName = window.location.pathname;
     const breadcrumbMain = document.getElementById('breadcrumb_main');
-    const breadcrumbMinor = document.getElementById('breadcrumb_minor');
+    // const breadcrumbMinor = document.getElementById('breadcrumb_minor');
     let mainTab = "";
-    let minorTab = "";
+    // let minorTab = "";
     let assignPathName = "";
 
     if (pathName.includes('room_planner') || pathName.includes('frequently_asked_questions')) {
-      minorTab = '';
+      // minorTab = '';
       mainTab = '成家設計服務';
       assignPathName = '/room_planner/';
     } else if (pathName.includes('blog_main')) {
-      minorTab = '';
+      // minorTab = '';
       mainTab = '成家知識專欄';
       assignPathName = '/blog_main/';
     } else if (pathName.includes('collection')) {
@@ -342,26 +342,28 @@
     let innerContent = `<a href="${assignPathName}">${mainTab}</a>`;
     breadcrumbMain.innerHTML = innerContent;
 
-    if (pathName.includes('frequently_asked_questions')) {
-      minorTab = "服務常見QA";
-    } else if (pathName.includes('furniture_design')) {
-      minorTab = '所有設計單品';
-    } else if (pathName.includes('system_furniture')) {
-      minorTab = '關於系統櫃';
-    } else if (pathName.includes('solid_wood_furniture')) {
-      minorTab = '關於家具';
-    } else if (pathName.includes('about_mattress')) {
-      minorTab = '關於床墊';
-    } else if (pathName.includes('about_bhouse')) {
-      minorTab = '我們的理念';
-    } else if (pathName.includes('news')) {
-      minorTab = '最新消息公告';
-    } else if (pathName.includes('blog_main')) {
-      minorTab = '';
-    } else if (pathName.includes('blog')) {
-      let category = localStorage.getItem('category')
-      minorTab = category;
-    }
+    /* 麵包屑_目前所在位置 */
+    // if (pathName.includes('frequently_asked_questions')) {
+    //   minorTab = "服務常見QA";
+    // } else if (pathName.includes('furniture_design')) {
+    //   minorTab = '所有設計單品';
+    // } else if (pathName.includes('system_furniture')) {
+    //   minorTab = '關於系統櫃';
+    // } else if (pathName.includes('solid_wood_furniture')) {
+    //   minorTab = '關於家具';
+    // } else if (pathName.includes('about_mattress')) {
+    //   minorTab = '關於床墊';
+    // } else if (pathName.includes('about_bhouse')) {
+    //   minorTab = '我們的理念';
+    // } else if (pathName.includes('news')) {
+    //   minorTab = '最新消息公告';
+    // } else if (pathName.includes('blog_main')) {
+    //   minorTab = '';
+    // } else if (pathName.includes('blog')) {
+    //   let category = localStorage.getItem('category')
+    //   minorTab = category;
+    // }
+
     // else if (pathName.includes('store')) {
     //   let storeVal = localStorage.getItem('store');
     //   switch (storeVal) {
@@ -379,17 +381,17 @@
     //   }
     // }
 
-    breadcrumbMinor.innerText = minorTab;
+    // breadcrumbMinor.innerText = minorTab;
 
     if (mainTab === "") {
       breadcrumbMain.style.display = "none";
     }
 
-    if (minorTab === "") {
-      breadcrumbMinor.style.display = "none";
-    } else {
-      breadcrumbMinor.style.display = "block";
-    }
+    // if (minorTab === "") {
+    //   breadcrumbMinor.style.display = "none";
+    // } else {
+    //   breadcrumbMinor.style.display = "block";
+    // }
 
     const blogItem = document.querySelectorAll(".pills-blog a");
     for (let i = 0; i < blogItem.length; i++) {

Різницю між файлами не показано, бо вона завелика
+ 24 - 200
themes/hugo-universal-theme-master/static/css/style.bhouse.css


Різницю між файлами не показано, бо вона завелика
+ 0 - 2
themes/hugo-universal-theme-master/static/css/style.bhouse.css.map


+ 24 - 17
themes/hugo-universal-theme-master/static/css/style.bhouse.scss

@@ -217,9 +217,6 @@ img {
 
 .navbar .mx-auto {
   padding: 0;
-  @media (max-width: 767px) {
-    padding: 5px 0px;
-  }
 }
 
 .navbar .navbar-brand img {
@@ -375,11 +372,11 @@ img {
   background-color: rgba(128, 143, 76, 0.8);
   text-align: end;
   display: flex;
-    flex-direction: column;
-    justify-content: center;
-    @media (max-width: 768px) {
-      padding: 20px 10vw;
-    }
+  flex-direction: column;
+  justify-content: center;
+  @media (max-width: 768px) {
+    padding: 20px 10vw;
+  }
 }
 
 .slider-item p {
@@ -400,11 +397,11 @@ img {
 
 .slider-item p:first-child {
   @media (max-width: 576px) {
-  margin-left: 24px;
+    margin-left: 24px;
   }
   @media (max-width: 400px) {
     margin-left: auto;
-    }
+  }
 }
 
 .slider-item p:last-child {
@@ -770,6 +767,12 @@ img {
     letter-spacing: 1px !important;
   }
 
+  // .accordion-body br {
+  //   content: "A" !important;
+  //   display: block !important;
+  //   margin-bottom: 1em !important;
+  // }
+
   .accordion .botder-item {
     margin-bottom: 10px;
     border-radius: 0;
@@ -1330,7 +1333,7 @@ input[type="search"]::-webkit-search-cancel-button {
 }
 
 .style_house_ads .style_house_text {
-  width: 80.5%;
+  // width: 80.5%;
   margin: 0 auto;
 }
 
@@ -1370,6 +1373,7 @@ input[type="search"]::-webkit-search-cancel-button {
   letter-spacing: 3px;
   margin-bottom: 25px;
   font-weight: 700;
+  text-align: center;
 }
 
 @media screen and (max-width: 767px) {
@@ -2131,13 +2135,12 @@ input[type="search"]::-webkit-search-cancel-button {
     display: none;
   }
 }
-#room-planner-service-5-service-inf2{
+#room-planner-service-5-service-inf2 {
   @media screen and (min-width: 1024px) {
     height: 180px;
   }
 }
 .room-planner-service-5-service-inf {
-
   ul {
     list-style: none;
   }
@@ -2148,7 +2151,6 @@ input[type="search"]::-webkit-search-cancel-button {
     letter-spacing: 1.5px;
     // margin-top: -5px;
     line-height: 2;
-
   }
   li::before {
     content: "";
@@ -2759,6 +2761,7 @@ input[type="search"]::-webkit-search-cancel-button {
   .accordion-body {
     padding: 0;
   }
+
   .accordion-button:focus {
     background: #fff;
     box-shadow: none;
@@ -3893,8 +3896,8 @@ input[type="search"]::-webkit-search-cancel-button {
 
 .blog_article .content {
   width: 50%;
-  margin: 60px auto;
-  padding-bottom: 60px;
+  margin: 60px auto 0;
+  // padding-bottom: 60px;
 }
 
 .blog_article .content section:first-child {
@@ -4085,7 +4088,11 @@ input[type="search"]::-webkit-search-cancel-button {
   color: #808e4c;
 }
 
-.blog_article .readMore,
+// .blog_article .readMore,
+// .blog_article .article_readMore {
+//   margin: 25px 0;
+// }
+
 .blog_article .article_readMore {
   margin: 25px 0;
 }

Деякі файли не було показано, через те що забагато файлів було змінено