navbar.html 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792
  1. <nav class="navbar navbar-expand-lg navbar-light bg-light p-lg-0">
  2. <div class="container-fluid flex-row-reverse flex-lg-row">
  3. <button id="search-btn" data-bs-toggle="modal" data-bs-target="#searchModal"
  4. class="d-block d-lg-none search-btn mb-1 pe-4">
  5. <img src="https://hhh.com.tw/hhh_index/images/icon/ionic-ios-search.svg" alt="" />
  6. </button>
  7. <a href="https://hhh.com.tw/">
  8. <img alt="logo" src="https://m.hhh.com.tw/_nuxt/img/def1b0a.svg" class="logo" />
  9. </a>
  10. <a href="https://hhh.com.tw/calculator_request/index.html" class="renovation-btn d-none d-lg-block"
  11. target="_blank">裝修計算機</a>
  12. <button class="navbar-toggler mb-menu-btn" type="button" data-bs-toggle="collapse"
  13. data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
  14. aria-label="Toggle navigation">
  15. <span class="navbar-toggler-icon"></span>
  16. </button>
  17. <span class="shadow-item"></span>
  18. <div class="collapse navbar-collapse mt-3 mt-lg-0" id="navbarSupportedContent">
  19. <ul class="navbar-nav ms-auto align-items-lg-center px-3 px-lg-0 pb-1 pb-lg-0">
  20. <!-- <li class="nav-item">
  21. <a class="nav-link active" aria-current="page" href="#">Home</a>
  22. </li>
  23. <li class="nav-item">
  24. <div class="d-flex">
  25. <a class="nav-link d-flex align-items-center w-100 mt-lg-2" href="https://shop.hhh.com.tw/" target="_blank"
  26. style="color: var(--sub-color)">
  27. <img class="d-block d-lg-none" src=".../../img/menu/cart.svg" alt="">
  28. <span class="fw-bold ms-3 ms-lg-0">+好物</span>
  29. </a>
  30. </div>
  31. </li> -->
  32. <li class="nav-item dropdown">
  33. <!-- <a href="https://hhh.com.tw/columns/lists/all-columntypea/" target="" data-bs-toggle="dropdown"
  34. aria-expanded="false" class="nav-link dropdown-toggle">
  35. <span>專欄文章</span>
  36. </a> -->
  37. <span class="nav-link d-flex align-items-center justify-content-between" role="button"
  38. data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="false">
  39. <section class="d-flex">
  40. <img src="../../img/menu/pen.svg" alt="" class="d-block d-lg-none">
  41. <a onclick="window.location.href='https://hhh.com.tw/columns/lists/all-columntypea/';">
  42. <p class="ms-3 ms-lg-0 d-flex"><span class="search-text">尋找</span>專欄文章</p>
  43. </a>
  44. </section>
  45. <div class="expand d-block d-lg-none"><i class="fas fa-chevron-down"></i></div>
  46. </span>
  47. <ul class="dropdown-menu dropdown-level-width py-0 py-lg-2 list">
  48. <li class="nav-item dropdown dropdown-sub hover-block">
  49. <div class="dropdown ps-0 ps-lg-4 pe-0 pe-lg-2 py-1">
  50. <span class="nav-link d-flex align-items-center justify-content-between p-2" role="button"
  51. data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="false">
  52. <a onclick="window.location.href='https://hhh.com.tw/columns/lists/editorchoose-columntypea/';"
  53. class="submenu">
  54. <p>編輯精選</p>
  55. </a>
  56. <div class="expand">
  57. <i aria-hidden="true" class="fas fa-chevron-down d-block d-lg-none"></i>
  58. <i aria-hidden="true" class="v-icon fa fa-angle-right theme--light d-none d-lg-block"
  59. style="font-size: 14px"></i>
  60. </div>
  61. </span>
  62. <ul class="dropdown-menu dropdown-level-width p-0 p-lg-2">
  63. <li>
  64. <a href="https://hhh.com.tw/columns/lists/editorchoose-columntypea/hometrends-columntypeb/"
  65. target="" class="dropdown-item py-2">居家趨勢</a>
  66. </li>
  67. <li>
  68. <a href="https://hhh.com.tw/columns/lists/editorchoose-columntypea/hotrank-columntypeb/" target=""
  69. class="dropdown-item py-2">人氣排行</a>
  70. </li>
  71. <li>
  72. <a href="https://hhh.com.tw/columns/lists/editorchoose-columntypea/archdesign-columntypeb/"
  73. target="" class="dropdown-item py-2">建築設計</a>
  74. </li>
  75. <li>
  76. <a href="https://hhh.com.tw/columns/lists/editorchoose-columntypea/styleselection-columntypeb/"
  77. target="" class="dropdown-item py-2">風格選店</a>
  78. </li>
  79. <li>
  80. <a href="https://hhh.com.tw/columns/lists/editorchoose-columntypea/charitable-columntypeb/"
  81. target="" class="dropdown-item py-2">公益活動</a>
  82. </li>
  83. <li>
  84. <a href="https://hhh.com.tw/columns/lists/editorchoose-columntypea/exhibition-columntypeb/"
  85. target="" class="dropdown-item py-2">展演資訊</a>
  86. </li>
  87. </ul>
  88. </div>
  89. </li>
  90. <li class="nav-item dropdown dropdown-sub hover-block">
  91. <div class="dropdown ps-0 ps-lg-4 pe-0 pe-lg-2 py-1">
  92. <span class="nav-link d-flex align-items-center justify-content-between p-2" role="button"
  93. data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="false">
  94. <a onclick="window.location.href='https://hhh.com.tw/columns/lists/housedesign-columntypea/';"
  95. class="submenu">
  96. <p>居家設計</p>
  97. </a>
  98. <div class="expand">
  99. <i aria-hidden="true" class="fas fa-chevron-down d-block d-lg-none"></i>
  100. <i aria-hidden="true" class="v-icon fa fa-angle-right theme--light d-none d-lg-block"
  101. style="font-size: 14px"></i>
  102. </div>
  103. </span>
  104. <ul class="dropdown-menu dropdown-level-width p-0 p-lg-2">
  105. <li>
  106. <a href="https://hhh.com.tw/columns/lists/housedesign-columntypea/smallhouse-columntypeb/" target=""
  107. class="dropdown-item py-2">小宅規劃</a>
  108. </li>
  109. <li>
  110. <a href="https://hhh.com.tw/columns/lists/housedesign-columntypea/oldhouse-columntypeb/" target=""
  111. class="dropdown-item py-2">老屋翻新</a>
  112. </li>
  113. <li>
  114. <a href="https://hhh.com.tw/columns/lists/housedesign-columntypea/stylebuild-columntypeb/" target=""
  115. class="dropdown-item py-2">風格營造</a>
  116. </li>
  117. <li>
  118. <a href="https://hhh.com.tw/columns/lists/housedesign-columntypea/color-columntypeb/" target=""
  119. class="dropdown-item py-2">配色佈置</a>
  120. </li>
  121. <li>
  122. <a href="https://hhh.com.tw/columns/lists/housedesign-columntypea/goodhouse-columntypeb/" target=""
  123. class="dropdown-item py-2">好宅特輯</a>
  124. </li>
  125. <li>
  126. <a href="https://hhh.com.tw/columns/lists/housedesign-columntypea/proposal-columntypeb/" target=""
  127. class="dropdown-item py-2">設計提案</a>
  128. </li>
  129. </ul>
  130. </div>
  131. </li>
  132. <li class="nav-item dropdown dropdown-sub hover-block">
  133. <div class="dropdown ps-0 ps-lg-4 pe-0 pe-lg-2 py-1">
  134. <span class="nav-link d-flex align-items-center justify-content-between p-2" role="button"
  135. data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="false">
  136. <a onclick="window.location.href='https://hhh.com.tw/columns/lists/decoration-columntypea/';"
  137. class="submenu">
  138. <p>裝修前線</p>
  139. </a>
  140. <div class="expand">
  141. <i aria-hidden="true" class="fas fa-chevron-down d-block d-lg-none"></i>
  142. <i aria-hidden="true" class="v-icon fa fa-angle-right theme--light d-none d-lg-block"
  143. style="font-size: 14px"></i>
  144. </div>
  145. </span>
  146. <ul class="dropdown-menu dropdown-level-width p-0 p-lg-2">
  147. <li>
  148. <a href="https://hhh.com.tw/columns/lists/decoration-columntypea/news-columntypeb/" target=""
  149. class="dropdown-item py-2">新聞最前線</a>
  150. </li>
  151. <li>
  152. <a href="https://hhh.com.tw/columns/lists/decoration-columntypea/allocation-columntypeb/" target=""
  153. class="dropdown-item py-2">預算分配</a>
  154. </li>
  155. <li>
  156. <a href="https://hhh.com.tw/columns/lists/decoration-columntypea/process-columntypeb/" target=""
  157. class="dropdown-item py-2">施工流程</a>
  158. </li>
  159. <li>
  160. <a href="https://hhh.com.tw/columns/lists/decoration-columntypea/knowledge-columntypeb/" target=""
  161. class="dropdown-item py-2">建材知識</a>
  162. </li>
  163. <li>
  164. <a href="https://hhh.com.tw/columns/lists/decoration-columntypea/decorating-columntypeb/" target=""
  165. class="dropdown-item py-2">裝潢撇步</a>
  166. </li>
  167. </ul>
  168. </div>
  169. </li>
  170. <li class="nav-item dropdown dropdown-sub hover-block">
  171. <div class="dropdown ps-0 ps-lg-4 pe-0 pe-lg-2 py-1">
  172. <span class="nav-link d-flex align-items-center justify-content-between p-2" role="button"
  173. data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="false">
  174. <a onclick="window.location.href='https://hhh.com.tw/columns/lists/plus-columntypea/';"
  175. class="submenu">
  176. <p>生活 PLUS</p>
  177. </a>
  178. <div class="expand">
  179. <i aria-hidden="true" class="fas fa-chevron-down d-block d-lg-none"></i>
  180. <i aria-hidden="true" class="v-icon fa fa-angle-right theme--light d-none d-lg-block"
  181. style="font-size: 14px"></i>
  182. </div>
  183. </span>
  184. <ul class="dropdown-menu dropdown-level-width p-0 p-lg-2">
  185. <li>
  186. <a href="https://hhh.com.tw/columns/lists/plus-columntypea/fengshui-columntypeb/" target=""
  187. class="dropdown-item py-2">居家風水</a>
  188. </li>
  189. <li>
  190. <a href="https://hhh.com.tw/columns/lists/plus-columntypea/housekeeping-columntypeb/" target=""
  191. class="dropdown-item py-2">家事清潔</a>
  192. </li>
  193. <li>
  194. <a href="https://hhh.com.tw/columns/lists/plus-columntypea/storageskills-columntypeb/" target=""
  195. class="dropdown-item py-2">收納技巧</a>
  196. </li>
  197. <li>
  198. <a href="https://hhh.com.tw/columns/lists/plus-columntypea/renovation-columntypeb/" target=""
  199. class="dropdown-item py-2">改造修繕</a>
  200. </li>
  201. <li>
  202. <a href="https://hhh.com.tw/columns/lists/plus-columntypea/retire-columntypeb/" target=""
  203. class="dropdown-item py-2">退休好幸福</a>
  204. </li>
  205. </ul>
  206. </div>
  207. </li>
  208. <li class="nav-item dropdown dropdown-sub hover-block">
  209. <div class="dropdown ps-0 ps-lg-4 pe-0 pe-lg-2 py-1">
  210. <span class="nav-link d-flex align-items-center justify-content-between p-2" role="button"
  211. data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="false">
  212. <a onclick="window.location.href='https://hhh.com.tw/columns/lists/gooditem-columntypea/';"
  213. class="submenu">
  214. <p>品牌好物</p>
  215. </a>
  216. <div class="expand">
  217. <i aria-hidden="true" class="fas fa-chevron-down d-block d-lg-none"></i>
  218. <i aria-hidden="true" class="v-icon fa fa-angle-right theme--light d-none d-lg-block"
  219. style="font-size: 14px"></i>
  220. </div>
  221. </span>
  222. <ul class="dropdown-menu dropdown-level-width p-0 p-lg-2">
  223. <li>
  224. <a href="https://hhh.com.tw/columns/lists/gooditem-columntypea/furnishings-columntypeb/" target=""
  225. class="dropdown-item py-2">家具家飾</a>
  226. </li>
  227. <li>
  228. <a href="https://hhh.com.tw/columns/lists/gooditem-columntypea/appliances-columntypeb/" target=""
  229. class="dropdown-item py-2">美型家電</a>
  230. </li>
  231. <li>
  232. <a href="https://hhh.com.tw/columns/lists/gooditem-columntypea/recommend-columntypeb/" target=""
  233. class="dropdown-item py-2">推薦廚衛</a>
  234. </li>
  235. <li>
  236. <a href="https://hhh.com.tw/columns/lists/gooditem-columntypea/homegoods-columntypeb/" target=""
  237. class="dropdown-item py-2">居家好物</a>
  238. </li>
  239. <li>
  240. <a href="https://hhh.com.tw/columns/lists/gooditem-columntypea/quality-columntypeb/" target=""
  241. class="dropdown-item py-2">優質建材</a>
  242. </li>
  243. <li>
  244. <a href="https://hhh.com.tw/columns/lists/gooditem-columntypea/brandnews-columntypeb/" target=""
  245. class="dropdown-item py-2">品牌新訊</a>
  246. </li>
  247. </ul>
  248. </div>
  249. </li>
  250. <li class="nav-item dropdown dropdown-sub hover-block">
  251. <div class="dropdown ps-0 ps-lg-4 pe-0 pe-lg-2 py-1">
  252. <span class="nav-link d-flex align-items-center justify-content-between p-2" role="button"
  253. data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="false">
  254. <a onclick="window.location.href='https://hhh.com.tw/columns/lists/focus-columntypea/';"
  255. class="submenu">
  256. <p>房市焦點</p>
  257. </a>
  258. <div class="expand">
  259. <i aria-hidden="true" class="fas fa-chevron-down d-block d-lg-none"></i>
  260. <i aria-hidden="true" class="v-icon fa fa-angle-right theme--light d-none d-lg-block"
  261. style="font-size: 14px"></i>
  262. </div>
  263. </span>
  264. <ul class="dropdown-menu dropdown-level-width p-0 p-lg-2">
  265. <li>
  266. <a href="https://hhh.com.tw/columns/lists/focus-columntypea/housingnews-columntypeb/" target=""
  267. class="dropdown-item py-2">房市新聞</a>
  268. </li>
  269. <li>
  270. <a href="https://hhh.com.tw/columns/lists/focus-columntypea/specsearch-columntypeb/" target=""
  271. class="dropdown-item py-2">建案特搜</a>
  272. </li>
  273. <li>
  274. <a href="https://hhh.com.tw/columns/lists/focus-columntypea/buyandsell-columntypeb/" target=""
  275. class="dropdown-item py-2">買屋賣屋</a>
  276. </li>
  277. <li>
  278. <a href="https://hhh.com.tw/columns/lists/focus-columntypea/mortgage-columntypeb/" target=""
  279. class="dropdown-item py-2">房貸稅務</a>
  280. </li>
  281. <li>
  282. <a href="https://hhh.com.tw/columns/lists/focus-columntypea/renting-columntypeb/" target=""
  283. class="dropdown-item py-2">租房須知</a>
  284. </li>
  285. </ul>
  286. </div>
  287. </li>
  288. <li class="nav-item dropdown dropdown-sub hover-block">
  289. <div class="dropdown ps-0 ps-lg-4 pe-0">
  290. <a class="nav-link p-2 my-1" href="https://hhh.com.tw/topic/lists/1-page/new-sort/" class="submenu">
  291. <p>主題企劃</p>
  292. </a>
  293. </div>
  294. </li>
  295. </ul>
  296. </li>
  297. <!-- <li class="nav-item">
  298. <a href="https://hhh.com.tw/about/calculator/" target="_blank" class="nav-link">估預算</a>
  299. </li> -->
  300. <!-- <li class="nav-item dropdown"><a href="https://hhh.com.tw/photos/index/" target=""
  301. class="nav-link">
  302. <span>找風格</span>
  303. </a>
  304. <ul class="dropdown-menu dropdown-level-width">
  305. <li class="nav-item dropdown dropdown-sub">
  306. <div class="d-flex justify-content-between align-items-center py-2">
  307. <a href="https://hhh.com.tw/photos/lists/nordic-style/" class="submenu dropdown-item">北歐風</a>
  308. </div>
  309. </li>
  310. <li class="nav-item dropdown dropdown-sub">
  311. <div class="d-flex justify-content-between align-items-center py-2"><a
  312. href="https://hhh.com.tw/photos/lists/modern-style/" class="submenu dropdown-item">現代風</a>
  313. </div>
  314. </li>
  315. <li class="nav-item dropdown dropdown-sub">
  316. <div class="d-flex justify-content-between align-items-center py-2"><a
  317. href="https://hhh.com.tw/photos/lists/industry-style/" class="submenu dropdown-item">工業風</a>
  318. </div>
  319. </li>
  320. </ul>
  321. </li> -->
  322. <li class="nav-item dropdown">
  323. <span class="nav-link d-flex align-items-center justify-content-between" role="button"
  324. data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="false">
  325. <section class="d-flex">
  326. <img src="../../img/menu/designs.svg" alt="" class="d-block d-lg-none">
  327. <a onclick="window.location.href='https://hhh.com.tw/cases/lists/';">
  328. <p class="ms-3 ms-lg-0 d-flex"><span class="search-text">尋找</span>空間靈感</p>
  329. </a>
  330. </section>
  331. <div class="expand d-block d-lg-none"><i class="fas fa-chevron-down"></i></div>
  332. </span>
  333. <ul class="dropdown-menu dropdown-level-width py-0 py-lg-2 list">
  334. <li class="nav-item dropdown dropdown-sub">
  335. <div class="d-flex justify-content-between align-items-center py-2">
  336. <a href="https://hhh.com.tw/cases/lists/small-ctype/" class="submenu dropdown-item">小坪數</a>
  337. </div>
  338. </li>
  339. <li class="nav-item dropdown dropdown-sub">
  340. <div class="d-flex justify-content-between align-items-center py-2">
  341. <a href="https://hhh.com.tw/cases/lists/renovation-condition/" class="submenu dropdown-item">老屋翻新</a>
  342. </div>
  343. </li>
  344. <li class="nav-item dropdown dropdown-sub">
  345. <div class="d-flex justify-content-between align-items-center py-2">
  346. <a href="https://hhh.com.tw/search/lists/case/%E9%A2%A8%E6%B0%B4-keyword/"
  347. class="submenu dropdown-item">風水</a>
  348. </div>
  349. </li>
  350. </ul>
  351. </li>
  352. <li class="nav-item dropdown">
  353. <span class="nav-link d-flex align-items-center justify-content-between" role="button"
  354. data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="false">
  355. <section class="d-flex">
  356. <img src="../../img/menu/person.svg" alt="" class="d-block d-lg-none">
  357. <a onclick="window.location.href='https://hhh.com.tw/designers/lists/';">
  358. <p class="ms-3 ms-lg-0 d-flex"><span class="search-text">尋找</span>設計師</p>
  359. </a>
  360. </section>
  361. <div class="expand d-block d-lg-none"><i class="fas fa-chevron-down"></i></div>
  362. </span>
  363. <ul class="dropdown-menu dropdown-level-width py-0 py-lg-2 list">
  364. <li class="nav-item dropdown dropdown-sub">
  365. <div class="d-flex justify-content-between align-items-center py-2">
  366. <a href="https://hhh.com.tw/designers/lists/" class="submenu dropdown-item">設計師總覽</a>
  367. </div>
  368. </li>
  369. <!--
  370. <li class="nav-item dropdown dropdown-sub">
  371. <div class="d-flex justify-content-between align-items-center py-2">
  372. <a href="https://event.hhh.com.tw/EmergingDesigners/" target="_blank"
  373. class="submenu dropdown-item">新銳設計師</a>
  374. </div>
  375. </li>
  376. -->
  377. <li class="nav-item dropdown dropdown-sub">
  378. <div class="d-flex justify-content-between align-items-center py-2">
  379. <a href="https://event.hhh.com.tw/2023-Most-Favorite-Designers/index.php" target="_blank"
  380. class="submenu dropdown-item">觀眾最愛設計師</a>
  381. </div>
  382. </li>
  383. <!--
  384. <li class="nav-item dropdown dropdown-sub">
  385. <div class="d-flex justify-content-between align-items-center py-2">
  386. <a href="https://event.hhh.com.tw/2023trends/" target="_blank" class="submenu dropdown-item">大師有約</a>
  387. </div>
  388. </li>
  389. -->
  390. <li class="nav-item dropdown dropdown-sub">
  391. <div class="d-flex justify-content-between align-items-center py-2">
  392. <a href="https://event.hhh.com.tw/topglory/" target="_blank" class="submenu dropdown-item">Glory
  393. 國際大賞</a>
  394. </div>
  395. </li>
  396. <li class="nav-item dropdown dropdown-sub">
  397. <div class="d-flex justify-content-between align-items-center py-2">
  398. <a href="https://hhh.com.tw/event170427/" target="_blank" class="submenu dropdown-item">老屋翻新</a>
  399. </div>
  400. </li>
  401. <li class="nav-item dropdown dropdown-sub">
  402. <div class="d-flex justify-content-between align-items-center py-2">
  403. <a href="https://hhh.com.tw/minordecor" target="_blank" class="submenu dropdown-item">輕裝修方案</a>
  404. </div>
  405. </li>
  406. <!--
  407. <li class="nav-item dropdown dropdown-sub">
  408. <div class="d-flex justify-content-between align-items-center py-2">
  409. <a href="https://matching.framer.website/" target="_blank" class="submenu dropdown-item">居家快易便</a>
  410. </div>
  411. </li>
  412. -->
  413. </ul>
  414. </li>
  415. <li class="nav-item dropdown">
  416. <span class="nav-link d-flex align-items-center justify-content-between" role="button"
  417. data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="false">
  418. <section class="d-flex">
  419. <img src="../../img/menu/videos.svg" alt="" class="d-block d-lg-none">
  420. <a onclick="window.location.href='https://hhh.com.tw/videos/lists/';">
  421. <p class="ms-3 ms-lg-0 d-flex"><span class="search-text">尋找</span>裝修影片</p>
  422. </a>
  423. </section>
  424. <div class="expand d-block d-lg-none"><i class="fas fa-chevron-down"></i></div>
  425. </span>
  426. <ul class="dropdown-menu dropdown-level-width py-0 py-lg-2 list">
  427. <li class="nav-item dropdown dropdown-sub">
  428. <div class="d-flex justify-content-between align-items-center py-2">
  429. <a href="https://hhh.com.tw/videos/lists/" class="submenu dropdown-item">發燒影音</a>
  430. </div>
  431. </li>
  432. <!-- <li class="nav-item dropdown dropdown-sub">
  433. <div class="d-flex justify-content-between align-items-center py-2">
  434. <a href="https://hhh.com.tw/video-list-5945tw.php" class="submenu dropdown-item">呼叫師傅</a>
  435. </div>
  436. </li> -->
  437. <li class="nav-item dropdown dropdown-sub">
  438. <div class="d-flex justify-content-between align-items-center py-2">
  439. <a href="https://hhh.com.tw/program/" class="submenu dropdown-item">TV 節目表</a>
  440. </div>
  441. </li>
  442. </ul>
  443. </li>
  444. <!-- <li class="nav-item dropdown"><a href="https://hhh.com.tw/products/lists/" target="" data-toggle="dropdown"
  445. class="nav-link">居家商品</a>
  446. <ul class="dropdown-menu dropdown-level-width">
  447. <li class="nav-item dropdown dropdown-sub">
  448. <div class="d-flex justify-content-between align-items-center py-2"><a
  449. href="https://hhh.com.tw/products/lists/" class="submenu dropdown-item">商品總覽</a></div>
  450. </li>
  451. <li class="nav-item dropdown dropdown-sub">
  452. <div class="d-flex justify-content-between align-items-center py-2"><a
  453. href="https://hhh.com.tw/products/lists/furniture-pcategorya/" class="submenu dropdown-item">傢俱</a>
  454. </div>
  455. </li>
  456. <li class="nav-item dropdown dropdown-sub">
  457. <div class="d-flex justify-content-between align-items-center py-2"><a
  458. href="https://hhh.com.tw/products/lists/household-pcategorya/" class="submenu dropdown-item">家電</a>
  459. </div>
  460. </li>
  461. <li class="nav-item dropdown dropdown-sub">
  462. <div class="d-flex justify-content-between align-items-center py-2"><a
  463. href="https://hhh.com.tw/products/lists/kitchen-pcategorya/" class="submenu dropdown-item">廚房</a>
  464. </div>
  465. </li>
  466. <li class="nav-item dropdown dropdown-sub">
  467. <div class="d-flex justify-content-between align-items-center py-2"><a
  468. href="https://hhh.com.tw/products/lists/bathroom-pcategorya/" class="submenu dropdown-item">衛浴</a>
  469. </div>
  470. </li>
  471. <li class="nav-item dropdown dropdown-sub">
  472. <div class="d-flex justify-content-between align-items-center py-2"><a
  473. href="https://hhh.com.tw/products/lists/lighting-pcategorya/" class="submenu dropdown-item">照明</a>
  474. </div>
  475. </li>
  476. <li class="nav-item dropdown dropdown-sub">
  477. <div class="d-flex justify-content-between align-items-center py-2"><a
  478. href="https://hhh.com.tw/brands/lists/" class="submenu dropdown-item">品牌總覽</a></div>
  479. </li>
  480. <li class="nav-item dropdown dropdown-sub">
  481. <div class="d-flex justify-content-between align-items-center py-2"><a
  482. href="https://hhh.com.tw/brand-index.php?brand_id=194" target="_blank"
  483. class="submenu dropdown-item">軟裝佈置</a></div>
  484. </li>
  485. <li class="nav-item dropdown dropdown-sub">
  486. <div class="d-flex justify-content-between align-items-center py-2"><a
  487. href="https://event.hhh.com.tw/2021-Top-Brands/index.php" target="_blank"
  488. class="submenu dropdown-item">消費者愛用品牌</a></div>
  489. </li>
  490. </ul>
  491. </li>
  492. <li class="nav-item">
  493. <div class="d-flex">
  494. <a class="nav-link d-flex align-items-center w-100 mt-lg-2" href="https://hhh.com.tw/brands/lists/"
  495. target="_blank">
  496. <img src="../../img/menu/sofa.svg" alt="" height="22" class="d-block d-lg-none">
  497. <span class="ms-3 ms-lg-0">品牌館</span>
  498. </a>
  499. </div>
  500. </li> -->
  501. <li class="nav-item">
  502. <div class="d-flex">
  503. <a class="nav-link d-flex align-items-center w-100" href="https://hhh.com.tw/builder/lists/">
  504. <img src="../../img/menu/building.svg" alt="" height="22" class="d-block d-lg-none mx-1">
  505. <span class="ms-3 ms-lg-0 d-flex"><span class="search-text">尋找</span>新建案</span>
  506. </a>
  507. </div>
  508. </li>
  509. <!-- <li class="nav-item">
  510. <div class="d-flex">
  511. <a class="nav-link d-flex align-items-center w-100 mt-lg-2" href="https://hhh.com.tw/forum/category/"
  512. target="_blank">
  513. <img src="../../img/menu/discuss.svg" alt="" class="d-block d-lg-none">
  514. <span class="ms-3 ms-lg-0">討論區</span>
  515. </a>
  516. </div>
  517. </li> -->
  518. </ul>
  519. <ul class="navbar-nav mb-2 mb-lg-0 ms-auto d-none d-lg-flex">
  520. <li class="nav-item d-flex align-items-center" id="app_user">
  521. <!-- <a class="nav-link" href="javascript:;" onclick="hhh_user_api_login()">
  522. <section class="d-flex align-items-center">
  523. <img src="../../img/icon/material-people.svg" alt="" class="me-2" />
  524. <span>登入</span>
  525. </section>
  526. </a> -->
  527. </li>
  528. <!-- 暫時隱藏 -->
  529. <!-- <li class="nav-item">
  530. <a class="nav-link" href="#">
  531. <section class="d-flex align-items-center">
  532. <img src="https://hhh.com.tw/images/icon/feather-briefcase.svg" alt="" class="me-2">
  533. <span class="pt-1">設計師登入</span>
  534. </section>
  535. </a>
  536. </li> -->
  537. <li class="nav-item d-none d-lg-block">
  538. <a class="nav-link" href="javascript:;" type="button" data-bs-toggle="modal" data-bs-target="#searchModal">
  539. <button type="button" class="search-btn">
  540. <img src="https://hhh.com.tw/hhh_index/images/icon/ionic-ios-search.svg" alt="" />
  541. </button>
  542. </a>
  543. </li>
  544. </ul>
  545. <!-- Footer -->
  546. <footer class="d-block d-lg-none footer">
  547. <div class="container" style="margin:0 auto;">
  548. <div class="row">
  549. <div class="col-12 col-lg-4 about-list">
  550. <section>
  551. <h4>相關連結</h4>
  552. <div class="d-flex justify-content-lg-center">
  553. <ul>
  554. <li>
  555. <a href="https://event.hhh.com.tw/agent/lecture.html" target="_blank">
  556. <img src="../../img/menu/freelecture.svg" alt="免費報名幸福講堂">
  557. 免費報名幸福講堂
  558. </a>
  559. </li>
  560. <li>
  561. <a href="https://event.hhh.com.tw/agent/" target="_blank">
  562. <img src="../../img/menu/agent.svg" alt="幸福經紀人">
  563. 幸福經紀人 <span>0800-366-086</span>
  564. </a>
  565. </li>
  566. <li>
  567. <a href="http://gstv.com.tw/" target="_blank">
  568. <img src="../../img/menu/tv.svg" alt="幸福空間居家台">
  569. 幸福空間居家台
  570. </a>
  571. </li>
  572. <li>
  573. <a href="https://event.hhh.com.tw/contest/2018/" target="_blank">
  574. <img src="../../img/menu/prize.svg" alt="ADA 亞洲設計獎">
  575. ADA 亞洲設計獎
  576. </a>
  577. </li>
  578. <li>
  579. <a href="https://www.leju.com.tw/" target="_blank">
  580. <img src="../../img/menu/Image-1@2x.png" alt="樂居網">
  581. 樂居網
  582. </a>
  583. </li>
  584. </ul>
  585. </div>
  586. </section>
  587. </div>
  588. <div class="col-12 col-lg-4 follow-list">
  589. <section>
  590. <h4>追蹤我們</h4>
  591. <div class="d-flex flex-column align-items-center">
  592. <section class="media">
  593. <a href="https://www.facebook.com/hhhfb" target="_blank">
  594. <img src="../../img/media/fb.svg" alt="Facebook" class="media-item before">
  595. <img src="../../img/media/fb_h.svg" alt="Facebook" class="media-item after">
  596. </a>
  597. <a href="https://page.line.me/ovs4341s?openQrModal=true" target="_blank">
  598. <img src="../../img/media/ln.svg" alt="Line" class="media-item before">
  599. <img src="../../img/media/ln_h.svg" alt="Line" class="media-item after">
  600. </a>
  601. <a href="https://www.youtube.com/user/gorgeousspace" target="_blank">
  602. <img src="../../img/media/yt.svg" alt="YouTube" class="media-item before">
  603. <img src="../../img/media/yt_h.svg" alt="YouTube" class="media-item after">
  604. </a>
  605. <a href="https://www.instagram.com/gorgeous_space/" target="_blank">
  606. <img src="../../img/media/ig.svg" alt="Instagram" class="media-item before">
  607. <img src="../../img/media/ig_h.svg" alt="Instagram" class="media-item after">
  608. </a>
  609. <a href="https://www.tiktok.com/@gorgeousspace" target="_blank">
  610. <img src="../../img/media/tt.svg" alt="Tiktok" class="media-item before">
  611. <img src="../../img/media/tt_h.svg" alt="Tiktok" class="media-item after rounded-circle">
  612. </a>
  613. </section>
  614. </div>
  615. </section>
  616. </div>
  617. <div class="col-12 col-lg-4 more-list">
  618. <section>
  619. <h4 class="d-none d-lg-block">了解更多</h4>
  620. <div class="d-flex flex-column mt-2 mt-lg-0">
  621. <section class="subscriber-item">
  622. <input type="email" placeholder="訂閱電子報,請輸入您的 Email">
  623. <button class="d-flex justify-content-center align-items-center">
  624. <span class="spinner-border spinner-border-sm me-2" role="status" aria-hidden="true"></span>
  625. <p class="mb-0">訂閱</p>
  626. </button>
  627. </section>
  628. <div class="d-lg-flex justify-content-center">
  629. <section class="mt-4 link">
  630. <a href="https://hhh.com.tw/about/contact/" target="_blank">
  631. 聯絡我們
  632. </a>
  633. <a href="https://hhh.com.tw/about/privacy_policy" target="_blank">
  634. 隱私保護
  635. </a>
  636. <a href="https://hhh.com.tw/about/" target="_blank">
  637. 關於我們
  638. </a>
  639. <a href="https://hhh.com.tw/about/timeline/" target="_blank">
  640. 公司歷程
  641. </a>
  642. <a href="https://www.104.com.tw/company/d6hr8sg" target="_blank">
  643. 企業徵才
  644. </a>
  645. <a href="https://hhh.com.tw/about/sitemap/" target="_blank">
  646. 網站地圖
  647. </a>
  648. </section>
  649. </div>
  650. </div>
  651. </section>
  652. </div>
  653. <h2 class="d-none d-md-block">
  654. 幸福空間 版權所有 © Gorgeous Space Co.Ltd. All Rights Reserved
  655. </h2>
  656. <h2 class="d-block d-md-none">
  657. 幸福空間 版權所有 <br> © Gorgeous Space Co.Ltd. All Rights Reserved
  658. </h2>
  659. </div>
  660. </div>
  661. </footer>
  662. </div>
  663. </div>
  664. </nav>
  665. <script>
  666. // 登入
  667. function hhh_user_api_login() {
  668. window.location.href = `https://hhh.com.tw/users`;
  669. }
  670. let userData = [];
  671. function hhh_user_api() {
  672. console.log('登入');
  673. $.ajax({
  674. method: "post",
  675. url: "https://hhh.com.tw/adapter/index?http_method=GET&api_url=/base/v1/member/index",
  676. // async: false,
  677. dataType: "json",
  678. }).done(function (msg) {
  679. userData = msg;
  680. let app_user = "";
  681. console.log('hhh_user_msg', msg);
  682. if (msg.status == "Success") {
  683. app_user += `
  684. <div class="dropdown">
  685. <button class="btn dropdown-toggle" type="button" id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false" onclick="hhh_user_api_login()">
  686. <div class="d-flex align-items-center">
  687. <img src="${msg.data["user_avatar"]}" alt="user_avatar" class="user-avatar">
  688. <p class="ms-2">${msg.data["name"]}</p>
  689. </div>
  690. </button>
  691. <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
  692. <li><a class="dropdown-item" href="https://hhh.com.tw/users">會員專區</a></li>
  693. </ul>
  694. </div>`;
  695. } else {
  696. app_user += `
  697. <a class="nav-link" href="javascript:;" onclick="hhh_user_api_login()">
  698. <section class="d-flex align-items-center">
  699. <img src="../../img/icon/material-people.svg" alt="" class="me-2" />
  700. <span>登入</span>
  701. </section>
  702. </a>`;
  703. }
  704. $("#app_user").html(app_user);
  705. }).fail(function (err) {
  706. console.log('err', err);
  707. });
  708. }
  709. hhh_user_api();
  710. // 首頁搜尋
  711. $(".search-modal .keyword-list li").on("click", (e) => {
  712. dataLayer.push({
  713. 'event': 'Click_Promo_Keyword',
  714. 'promo_keyword': `${e.target.innerText}`,
  715. 'promo_category': 'All_Search'
  716. });
  717. location.href = `https://hhh.com.tw/search/lists/case/${e.target.innerText}-keyword/`;
  718. });
  719. $(".search-modal #search-input").on("click", () => {
  720. let keyword = $(".search-modal .keyword").val();
  721. dataLayer.push({
  722. 'event': 'View_Search_Results',
  723. 'search_term': `${keyword}`,
  724. 'search_category': 'All_Search'
  725. });
  726. location.href = `https://hhh.com.tw/search/lists/case/${keyword}-keyword/`;
  727. });
  728. $(".search-modal .keyword").on("keydown", (event) => {
  729. if (event.key === "Enter") {
  730. let keyword = $(".search-modal .keyword").val();
  731. dataLayer.push({
  732. 'event': 'View_Search_Results',
  733. 'search_term': `${keyword}`,
  734. 'search_category': 'All_Search'
  735. });
  736. location.href = `https://hhh.com.tw/search/lists/case/${keyword}-keyword/`;
  737. }
  738. });
  739. $(".nav-item.dropdown .nav-link").on("click", function () {
  740. $(this).find(".expand").toggleClass("rotate")
  741. });
  742. $(".nav-item.dropdown").on("click", function () {
  743. if (window.innerWidth > 991) {
  744. $(".dropdown-menu").removeClass("show");
  745. $(".nav-link").removeClass("show");
  746. }
  747. });
  748. // 開啟手機選單時隱藏 body
  749. $(".mb-menu-btn").on("click", function () {
  750. $('#navbar').toggleClass("show");
  751. });
  752. </script>