footer.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  1. <footer class="footer w-100 mt-5">
  2. <div class="container-fluid">
  3. <div class="row list">
  4. <div class="col">
  5. <div class="d-flex flex-column">
  6. <h5 class="title">
  7. 關於小寶優居
  8. </h5>
  9. <ul>
  10. <li>
  11. <a href="/about_bhouse/">我們的理念</a>
  12. </li>
  13. <li>
  14. <a href="/news/">最新消息公告</a>
  15. </li>
  16. <li>
  17. <a href="mailto:christine.tang@bhouse.com.tw,jade.wang@bhouse.com.tw">媒體聯繫</a>
  18. </li>
  19. <li>
  20. <a target="_blank" href="https://www.104.com.tw/company/1a2x6bk01k">人才招募</a>
  21. </li>
  22. </ul>
  23. <h5 class="title">
  24. 社群平台
  25. </h5>
  26. <ul>
  27. <li>
  28. <a href="https://www.facebook.com/bhouse.tw/" target="_blank">Facebook</a>
  29. </li>
  30. <li>
  31. <a href="https://www.youtube.com/channel/UCOYvhrSCu6DRbLWNoy6lDTg/videos?view=0"
  32. target="_blank">Youtube</a>
  33. </li>
  34. </ul>
  35. </div>
  36. </div>
  37. <div class="col">
  38. <div class="d-flex flex-column">
  39. <h5 class="title">
  40. 成家設計服務
  41. </h5>
  42. <ul>
  43. <li>
  44. <a href="/room_planner/">成家設計服務流程</a>
  45. </li>
  46. <li>
  47. <a href="/frequently_asked_questions/">服務常見QA</a>
  48. </li>
  49. </ul>
  50. <h5 class="title">
  51. 小寶優居門市
  52. </h5>
  53. <ul>
  54. <li>
  55. <a href="/store/" onclick="setValue('scope')">服務範圍</a>
  56. </li>
  57. <li>
  58. <a href="/store/" onclick="setValue('NewTaipei')">新北門市</a>
  59. </li>
  60. <!-- <li>
  61. <a href="">桃園門市</a>
  62. </li> -->
  63. <li>
  64. <a href="/store/" onclick="setValue('Taichung')">台中門市</a>
  65. </li>
  66. <li>
  67. <a href="/store/" onclick="setValue('Tainan')">台南門市</a>
  68. </li>
  69. </ul>
  70. </div>
  71. </div>
  72. <div class="col">
  73. <div class="d-flex flex-column">
  74. <h5 class="title">
  75. 室內設計作品
  76. </h5>
  77. <ul>
  78. <li>
  79. <a href="/collection/" onclick="setCollectionValue('透天')">透天設計</a>
  80. </li>
  81. <li>
  82. <a href="/collection/" onclick="setCollectionValue('大樓')">大樓設計</a>
  83. </li>
  84. </ul>
  85. <h5 class="title">
  86. 小寶設計單品
  87. </h5>
  88. <ul>
  89. <li>
  90. <a href="/furniture_design/sofa/">所有設計單品</a>
  91. </li>
  92. <li>
  93. <a href="/system_furniture/">關於系統櫃</a>
  94. </li>
  95. <li>
  96. <a href="/solid_wood_furniture/">關於家具</a>
  97. </li>
  98. <li>
  99. <a href="/about_mattress/">關於床墊</a>
  100. </li>
  101. </ul>
  102. </div>
  103. </div>
  104. <div class="col">
  105. <h5 class="title">
  106. 成家知識專欄
  107. </h5>
  108. <ul class="pills-blog">
  109. <li>
  110. <a href="/blog/pre-sale-house-design-change/">預售屋客變</a>
  111. </li>
  112. <li>
  113. <a href="/blog/house-acceptance-check/">驗屋交屋</a>
  114. </li>
  115. <li>
  116. <a href="/blog/budget-planning/">預算準備</a>
  117. </li>
  118. <li>
  119. <a href="/blog/about-interior-decoration/">認識裝修裝潢</a>
  120. </li>
  121. <li>
  122. <a href="/blog/floor-planning/">空間計畫</a>
  123. </li>
  124. <li>
  125. <a href="/blog/decoration-style/">居家風格</a>
  126. </li>
  127. <li>
  128. <a href="/blog/furnitures-appliances/">家具家電</a>
  129. </li>
  130. <li>
  131. <a href="/blog/design-acceptanc-and-move-in/">驗收入住</a>
  132. </li>
  133. </ul>
  134. </div>
  135. </div>
  136. <div class="d-block d-md-none mobile-list">
  137. <nav
  138. style="--bs-breadcrumb-divider: url(&#34;data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3E&#34;);"
  139. aria-label="breadcrumb">
  140. <ol class="breadcrumb m-0 d-none">
  141. <li class="breadcrumb-item">
  142. <a href="/" class="d-block" style="margin-top: -2px;">
  143. <img src="/img/bt_footer_index@2x.png" width="30px" alt="" class="m-auto">
  144. </a>
  145. </li>
  146. <li class="breadcrumb-item" id="breadcrumb_main">
  147. <a href="#"></a>
  148. </li>
  149. <!-- <li class="breadcrumb-item active" aria-current="page" id="breadcrumb_minor"></li> -->
  150. </ol>
  151. </nav>
  152. <div class="d-flex align-items-start mobile-tab-list">
  153. <div class="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical">
  154. <button class="nav-link" id="v-pills-roomPlanner-tab" data-bs-toggle="pill"
  155. data-bs-target="#v-pills-roomPlanner" type="button" role="tab" aria-controls="v-pills-roomPlanner"
  156. aria-selected="true">成家設計服務<span>></span></button>
  157. <button class="nav-link" id="v-pills-blog-tab" data-bs-toggle="pill" data-bs-target="#v-pills-blog"
  158. type="button" role="tab" aria-controls="v-pills-blog" aria-selected="false">成家知識專欄<span>></span></button>
  159. <button class="nav-link" id="v-pills-collection-tab" data-bs-toggle="pill"
  160. data-bs-target="#v-pills-collection" type="button" role="tab" aria-controls="v-pills-collection"
  161. aria-selected="false">室內設計作品<span>></span></button>
  162. <button class="nav-link" id="v-pills-store-tab" data-bs-toggle="pill" data-bs-target="#v-pills-store"
  163. type="button" role="tab" aria-controls="v-pills-store" aria-selected="false">小寶優居門市<span>></span></button>
  164. <button class="nav-link" id="v-pills-design-tab" data-bs-toggle="pill" data-bs-target="#v-pills-design"
  165. type="button" role="tab" aria-controls="v-pills-design" aria-selected="false">小寶設計單品<span>></span></button>
  166. <button class="nav-link" id="v-pills-about-tab" data-bs-toggle="pill" data-bs-target="#v-pills-about"
  167. type="button" role="tab" aria-controls="v-pills-about" aria-selected="false">關於小寶優居<span>></span></button>
  168. <button class="nav-link" id="v-pills-social-tab" data-bs-toggle="pill" data-bs-target="#v-pills-social"
  169. type="button" role="tab" aria-controls="v-pills-social" aria-selected="false">社群平台<span>></span></button>
  170. </div>
  171. <div class="tab-content" id="v-pills-tabContent">
  172. <div class="tab-pane fade" id="v-pills-roomPlanner" role="tabpanel" aria-labelledby="v-pills-roomPlanner-tab">
  173. <ul>
  174. <li>
  175. <a href="/room_planner/">成家設計服務流程</a>
  176. </li>
  177. <li>
  178. <a href="/frequently_asked_questions/">服務常見QA</a>
  179. </li>
  180. </ul>
  181. </div>
  182. <div class="tab-pane fade pills-blog" id="v-pills-blog" role="tabpanel" aria-labelledby="v-pills-blog-tab">
  183. <ul>
  184. <li>
  185. <a href="/blog/pre-sale-house-design-change/">預售屋客變</a>
  186. </li>
  187. <li>
  188. <a href="/blog/house-acceptance-check/">驗屋交屋</a>
  189. </li>
  190. <li>
  191. <a href="/blog/budget-planning/">預算準備</a>
  192. </li>
  193. <li>
  194. <a href="/blog/about-interior-decoration/">認識裝修裝潢</a>
  195. </li>
  196. <li>
  197. <a href="/blog/floor-planning/">空間計畫</a>
  198. </li>
  199. <li>
  200. <a href="/blog/decoration-style/">居家風格</a>
  201. </li>
  202. <li>
  203. <a href="/blog/furnitures-appliances/">家具家電</a>
  204. </li>
  205. <li>
  206. <a href="/blog/design-acceptanc-and-move-in/">驗收入住</a>
  207. </li>
  208. </ul>
  209. </div>
  210. <div class="tab-pane fade" id="v-pills-collection" role="tabpanel" aria-labelledby="v-pills-collection-tab">
  211. <ul>
  212. <li>
  213. <a href="/collection/" onclick="setCollectionValue('透天')">透天設計</a>
  214. </li>
  215. <li>
  216. <a href="/collection/" onclick="setCollectionValue('大樓')">大樓設計</a>
  217. </li>
  218. </ul>
  219. </div>
  220. <div class="tab-pane fade" id="v-pills-store" role="tabpanel" aria-labelledby="v-pills-store-tab">
  221. <ul>
  222. <li>
  223. <a href="/store/" onclick="setValue('scope')">服務範圍</a>
  224. </li>
  225. <li>
  226. <a href="/store/" onclick="setValue('NewTaipei')">新北門市</a>
  227. </li>
  228. <!-- <li>
  229. <a href="">桃園門市</a>
  230. </li> -->
  231. <li>
  232. <a href="/store/" onclick="setValue('Taichung')">台中門市</a>
  233. </li>
  234. <li>
  235. <a href="/store/" onclick="setValue('Tainan')">台南門市</a>
  236. </li>
  237. </ul>
  238. </div>
  239. <div class="tab-pane fade" id="v-pills-design" role="tabpanel" aria-labelledby="v-pills-design-tab">
  240. <ul>
  241. <li>
  242. <a href="/furniture_design/sofa/">所有設計單品</a>
  243. </li>
  244. <li>
  245. <a href="/system_furniture/">關於系統櫃</a>
  246. </li>
  247. <li>
  248. <a href="/solid_wood_furniture/">關於家具</a>
  249. </li>
  250. <li>
  251. <a href="/about_mattress/">關於床墊</a>
  252. </li>
  253. </ul>
  254. </div>
  255. <div class="tab-pane fade" id="v-pills-about" role="tabpanel" aria-labelledby="v-pills-about-tab">
  256. <ul>
  257. <li>
  258. <a href="/about_bhouse/">我們的理念</a>
  259. </li>
  260. <li>
  261. <a href="/news/">最新消息公告</a>
  262. </li>
  263. <li>
  264. <a href="mailto:christine.tang@bhouse.com.tw,jade.wang@bhouse.com.tw">媒體聯繫</a>
  265. </li>
  266. <li>
  267. <a target="_blank" href="https://www.104.com.tw/company/1a2x6bk01k">人才招募</a>
  268. </li>
  269. </ul>
  270. </div>
  271. <div class="tab-pane fade" id="v-pills-social" role="tabpanel" aria-labelledby="v-pills-social-tab">
  272. <ul>
  273. <li>
  274. <a href="https://www.facebook.com/bhouse.tw/" target="_blank">Facebook</a>
  275. </li>
  276. <li>
  277. <a href="https://www.youtube.com/channel/UCOYvhrSCu6DRbLWNoy6lDTg/videos?view=0"
  278. target="_blank">Youtube</a>
  279. </li>
  280. </ul>
  281. </div>
  282. </div>
  283. </div>
  284. </div>
  285. <div class="copyright">
  286. <p class="m-0 text-center" style="letter-spacing: 1px;">Copyright by 小寶優居</p>
  287. <!-- <div>
  288. <a href="">隱私權政策</a> <span> | </span>
  289. <a href="">使用條款</a> <span> | </span>
  290. <a href="">法律聲明</a>
  291. </div> -->
  292. </div>
  293. </div>
  294. </footer>
  295. <script>
  296. function setValue(item) {
  297. localStorage.setItem('store', item)
  298. }
  299. function setCollectionValue(type) {
  300. localStorage.setItem('type', type)
  301. }
  302. (function setBreadcrumb() {
  303. let pathName = window.location.pathname;
  304. const breadcrumbMain = document.getElementById('breadcrumb_main');
  305. // const breadcrumbMinor = document.getElementById('breadcrumb_minor');
  306. let mainTab = "";
  307. // let minorTab = "";
  308. let assignPathName = "";
  309. if (pathName.includes('room_planner') || pathName.includes('frequently_asked_questions')) {
  310. // minorTab = '';
  311. mainTab = '成家設計服務';
  312. assignPathName = '/room_planner/';
  313. } else if (pathName.includes('blog_main')) {
  314. // minorTab = '';
  315. mainTab = '成家知識專欄';
  316. assignPathName = '/blog_main/';
  317. } else if (pathName.includes('collection')) {
  318. mainTab = '室內設計作品';
  319. } else if (pathName.includes('store')) {
  320. mainTab = '小寶優居門市';
  321. } else if (pathName.includes('furniture_design') || pathName.includes('system_furniture') || pathName.includes('solid_wood_furniture') || pathName.includes('about_mattress')) {
  322. mainTab = '小寶設計單品';
  323. } else if (pathName.includes('about_bhouse') || pathName.includes('news')) {
  324. mainTab = '關於小寶優居';
  325. } else if (pathName.includes('blog')) {
  326. mainTab = '成家知識專欄';
  327. assignPathName = '/blog_main/';
  328. }
  329. let innerContent = `<a href="${assignPathName}">${mainTab}</a>`;
  330. breadcrumbMain.innerHTML = innerContent;
  331. /* 麵包屑_目前所在位置 */
  332. // if (pathName.includes('frequently_asked_questions')) {
  333. // minorTab = "服務常見QA";
  334. // } else if (pathName.includes('furniture_design')) {
  335. // minorTab = '所有設計單品';
  336. // } else if (pathName.includes('system_furniture')) {
  337. // minorTab = '關於系統櫃';
  338. // } else if (pathName.includes('solid_wood_furniture')) {
  339. // minorTab = '關於家具';
  340. // } else if (pathName.includes('about_mattress')) {
  341. // minorTab = '關於床墊';
  342. // } else if (pathName.includes('about_bhouse')) {
  343. // minorTab = '我們的理念';
  344. // } else if (pathName.includes('news')) {
  345. // minorTab = '最新消息公告';
  346. // } else if (pathName.includes('blog_main')) {
  347. // minorTab = '';
  348. // } else if (pathName.includes('blog')) {
  349. // let category = localStorage.getItem('category')
  350. // minorTab = category;
  351. // }
  352. // else if (pathName.includes('store')) {
  353. // let storeVal = localStorage.getItem('store');
  354. // switch (storeVal) {
  355. // case 'NewTaipei':
  356. // minorTab = '新北門市';
  357. // break;
  358. // case 'Taichung':
  359. // minorTab = '台中門市';
  360. // break;
  361. // case 'Tainan':
  362. // minorTab = '台南門市';
  363. // break;
  364. // default:
  365. // minorTab = '新北門市';
  366. // }
  367. // }
  368. // breadcrumbMinor.innerText = minorTab;
  369. if (mainTab === "") {
  370. breadcrumbMain.style.display = "none";
  371. }
  372. // if (minorTab === "") {
  373. // breadcrumbMinor.style.display = "none";
  374. // } else {
  375. // breadcrumbMinor.style.display = "block";
  376. // }
  377. // const blogItem = document.querySelectorAll(".pills-blog a");
  378. // for (let i = 0; i < blogItem.length; i++) {
  379. // blogItem[i].addEventListener("click", function (e) {
  380. // let categoryName = this.innerHTML;
  381. // localStorage.setItem('category', categoryName)
  382. // });
  383. // }
  384. })();
  385. </script>
  386. <!-- *** COPYRIGHT END *** -->