index.html 46 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <!-- Google Tag Manager -->
  5. <script>(function (w, d, s, l, i) {
  6. w[l] = w[l] || []; w[l].push({
  7. 'gtm.start':
  8. new Date().getTime(), event: 'gtm.js'
  9. }); var f = d.getElementsByTagName(s)[0],
  10. j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
  11. 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
  12. })(window, document, 'script', 'dataLayer', 'GTM-W3RJHTZ');</script>
  13. <!-- End Google Tag Manager -->
  14. <script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-W3RJHTZ"></script>
  15. <!-- <script src="https://connect.facebook.net/signals/config/585285442299590?v=2.9.100&amp;r=stable" async=""></script> -->
  16. <meta charset="UTF-8" />
  17. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  18. <meta http-equiv="X-UA-Compatible" content="ie=edge, Chrome=1" />
  19. <meta http-equiv="Cache-Control" content="no-cache" />
  20. <meta name="copyright" content="2021 © 幸福空間 │ All Rights Reserved." />
  21. <meta name="creation-date" content="2021-08-05 12:00:04 GTM+8" />
  22. <meta name="description" content="讓幸福室內設計,走進您的生活,解決您的裝潢問
  23. 題!幸福空間是台灣最大的室內設計、設計師與設計個案影音平台之一,找尋室內設計點子與案例我
  24. 們一定能幫助你!" />
  25. <meta name="distribution" content="Taiwan" />
  26. <meta name="keywords" content="" />
  27. <meta name="revisit-after" content="1 days" />
  28. <meta name="robots" content="all" />
  29. <meta name="format-detection" content="telephone=no" />
  30. <meta property="og:description" content="讓幸福室內設計,走進您的生活,解決您的裝潢問題!
  31. 幸福空間是台灣最大的室內設計、設計師與設計個案影音平台之一,找尋室內設計點子與案例我們一定能幫助
  32. 你!" />
  33. <meta property="og:site_name" content="幸福空間" />
  34. <meta property="og:title" content="幸福空間 - 台灣最大的室內設計、設計師與設計個案影音平台" />
  35. <meta property="og:type" content="website" />
  36. <meta property="og:locale" content="zh_TW" />
  37. <title>幸福空間 - 室內設計、裝潢、居家生活、影音平台</title>
  38. <link rel="icon" href="https://hhh.com.tw/assets/images/favicon.ico" />
  39. <!-- Fontawesome -->
  40. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"
  41. integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous" />
  42. <!-- Bootstrap -->
  43. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
  44. integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous" />
  45. <!-- axios -->
  46. <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  47. <!-- Google Font -->
  48. <link rel="preconnect" href="https://fonts.googleapis.com" />
  49. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
  50. <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600&display=swap" rel="stylesheet" />
  51. <!-- CSS -->
  52. <link rel="stylesheet" href="../../css/reset.css" />
  53. <link rel="stylesheet" href="../../css/lists.css" />
  54. <link rel="stylesheet" href="../../css/all.css" />
  55. <script type="application/ld+json">
  56. {
  57. "@context": "https://schema.org",
  58. "@type": "LocalBusiness",
  59. "@id": "https://hhh.com.tw/",
  60. "image": ["https://hhh.com.tw/_nuxt/img/def1b0a.svg"],
  61. "name": "幸福空間股份有限公司",
  62. "address": "110台北市信義區菸廠路88號五樓之6",
  63. "url": "https://hhh.com.tw/",
  64. "telephone": "+886-2-6617-0123"
  65. }
  66. </script>
  67. <script type="application/ld+json">
  68. {
  69. "@context": "https://schema.org",
  70. "@type": "Organization",
  71. "url": "https://hhh.com.tw/",
  72. "logo": "https://hhh.com.tw/_nuxt/img/def1b0a.svg",
  73. "name": "幸福空間",
  74. "sameAs": [
  75. "https://www.facebook.com/hhhfb/",
  76. "https://page.line.me/ovs4341s",
  77. "https://www.youtube.com/user/gorgeousspace",
  78. "https://www.instagram.com/gorgeous_space/"
  79. ],
  80. "contactPoint": [
  81. {
  82. "@type": "ContactPoint",
  83. "areaServed": "TW",
  84. "telephone": "+886-2-6617-0123",
  85. "contactType": "customer service",
  86. "availableLanguage": "Chinese"
  87. }
  88. ]
  89. }
  90. </script>
  91. <script type="application/ld+json">
  92. {
  93. "@context": "https://schema.org",
  94. "@type": "WebSite",
  95. "name": "幸福空間-室內設計、裝潢、居家生活、影音平台",
  96. "author": "幸福空間",
  97. "url": "https://hhh.com.tw/",
  98. "potentialAction": {
  99. "@type": "SearchAction",
  100. "target": "https://hhh.com.tw/search/lists/case/{search_term_string}-keyword/",
  101. "query-input": "required name=search_term_string"
  102. }
  103. }
  104. </script>
  105. </head>
  106. <body>
  107. <div class="container d-flex flex-column align-items-center justify-content-center list-content">
  108. <h2 class="list-headline">全國室內設計師推薦</h2>
  109. <!-- 搜尋 -->
  110. <div class="row w-100 justify-content-center mt-5">
  111. <div class="col-md-10">
  112. <div class="card search-card">
  113. <div class="card-body p-4">
  114. <div class="input-group input-group-lg mb-2">
  115. <input type="text" placeholder="請輸入關鍵字" aria-label="請輸入關鍵字" aria-describedby="searchbar"
  116. class="form-control border-primary keywords" autocomplete="off">
  117. <div class="input-group-append">
  118. <button type="button" data-ga="View_Search_Results" class="input-group-text">搜尋</button>
  119. </div>
  120. </div>
  121. <div class="search-bar-keyword d-flex mt-3 pl-4">
  122. <p>熱搜關鍵字</p>
  123. <ul class="d-flex ps-3">
  124. <li>
  125. <a href="javascript:void(0)" data-ga="Click_Promo_Keyword">客變</a>
  126. </li>
  127. <li>
  128. <a href="javascript:void(0)" data-ga="Click_Promo_Keyword">小坪數</a>
  129. </li>
  130. <li>
  131. <a href="javascript:void(0)" data-ga="Click_Promo_Keyword">老屋翻新</a>
  132. </li>
  133. <li>
  134. <a href="javascript:void(0)" data-ga="Click_Promo_Keyword">收納</a>
  135. </li>
  136. <!-- <li>
  137. <a href="javascript:void(0)" data-ga="Click_Promo_Keyword">軟裝佈置</a>
  138. </li>
  139. <li>
  140. <a href="javascript:void(0)" data-ga="Click_Promo_Keyword">新手裝修</a>
  141. </li>
  142. <li>
  143. <a href="javascript:void(0)" data-ga="Click_Promo_Keyword">風水</a>
  144. </li> -->
  145. <li>
  146. <a href="javascript:void(0)" data-ga="Click_Promo_Keyword">北歐風</a>
  147. </li>
  148. </ul>
  149. </div>
  150. </div>
  151. </div>
  152. </div>
  153. </div>
  154. <!-- 篩選 -->
  155. <div class="row w-100 mt-5 filter-list">
  156. <div class="col-12">
  157. <p class="mb-3 text-muted">
  158. 總共 <span class="text-primary font-weight-bold fs-4">254</span> 筆全國室內設計師符合條件
  159. </p>
  160. <div class="card text-dark bg-light border-0 mb-3 w-100 shadow-sm">
  161. <div class="card-body d-flex flex-wrap">
  162. <div class="dropdown">
  163. <button class="btn dropdown-toggle fw-bold search-tab" type="button" id="city" data-bs-toggle="dropdown"
  164. aria-expanded="false">
  165. 所在縣市
  166. </button>
  167. <ul class="dropdown-menu" aria-labelledby="city">
  168. <li>
  169. <div class="form-check">
  170. <input class="form-check-input" type="radio" name="city" id="taipei_city">
  171. <label class="form-check-label" for="taipei_city">
  172. 台北市
  173. </label>
  174. </div>
  175. </li>
  176. <li>
  177. <div class="form-check">
  178. <input class="form-check-input" type="radio" name="city" id="new_taipei_city">
  179. <label class="form-check-label" for="new_taipei_city">
  180. 新北市
  181. </label>
  182. </div>
  183. </li>
  184. <li>
  185. <div class="form-check">
  186. <input class="form-check-input" type="radio" name="city" id="keelung_city">
  187. <label class="form-check-label" for="keelung_city">
  188. 基隆市
  189. </label>
  190. </div>
  191. </li>
  192. <li>
  193. <div class="form-check">
  194. <input class="form-check-input" type="radio" name="city" id="taoyuan_city">
  195. <label class="form-check-label" for="taoyuan_city">
  196. 桃園市
  197. </label>
  198. </div>
  199. </li>
  200. <li>
  201. <div class="form-check">
  202. <input class="form-check-input" type="radio" name="city" id="hsinchu_city">
  203. <label class="form-check-label" for="hsinchu_city">
  204. 新竹市
  205. </label>
  206. </div>
  207. </li>
  208. <li>
  209. <div class="form-check">
  210. <input class="form-check-input" type="radio" name="city" id="hsinchu_county">
  211. <label class="form-check-label" for="hsinchu_county">
  212. 新竹縣
  213. </label>
  214. </div>
  215. </li>
  216. <li>
  217. <div class="form-check">
  218. <input class="form-check-input" type="radio" name="city" id="miaoli_county">
  219. <label class="form-check-label" for="miaoli_county">
  220. 苗栗縣
  221. </label>
  222. </div>
  223. </li>
  224. <li>
  225. <div class="form-check">
  226. <input class="form-check-input" type="radio" name="city" id="taichung_city">
  227. <label class="form-check-label" for="taichung_city">
  228. 台中市
  229. </label>
  230. </div>
  231. </li>
  232. <li>
  233. <div class="form-check">
  234. <input class="form-check-input" type="radio" name="city" id="changhua_county">
  235. <label class="form-check-label" for="changhua_county">
  236. 彰化縣
  237. </label>
  238. </div>
  239. </li>
  240. <li>
  241. <div class="form-check">
  242. <input class="form-check-input" type="radio" name="city" id="nantou_county">
  243. <label class="form-check-label" for="nantou_county">
  244. 南投縣
  245. </label>
  246. </div>
  247. </li>
  248. <li>
  249. <div class="form-check">
  250. <input class="form-check-input" type="radio" name="city" id="yunlin_county">
  251. <label class="form-check-label" for="yunlin_county">
  252. 雲林縣
  253. </label>
  254. </div>
  255. </li>
  256. <li>
  257. <div class="form-check">
  258. <input class="form-check-input" type="radio" name="city" id="chiayi_city">
  259. <label class="form-check-label" for="chiayi_city">
  260. 嘉義市
  261. </label>
  262. </div>
  263. </li>
  264. <li>
  265. <div class="form-check">
  266. <input class="form-check-input" type="radio" name="city" id="chiayi_county">
  267. <label class="form-check-label" for="chiayi_county">
  268. 嘉義縣
  269. </label>
  270. </div>
  271. </li>
  272. <li>
  273. <div class="form-check">
  274. <input class="form-check-input" type="radio" name="city" id="tainan_city">
  275. <label class="form-check-label" for="tainan_city">
  276. 台南市
  277. </label>
  278. </div>
  279. </li>
  280. <li>
  281. <div class="form-check">
  282. <input class="form-check-input" type="radio" name="city" id="kaohsiung_city">
  283. <label class="form-check-label" for="kaohsiung_city">
  284. 高雄市
  285. </label>
  286. </div>
  287. </li>
  288. <li>
  289. <div class="form-check">
  290. <input class="form-check-input" type="radio" name="city" id="pingtung_county">
  291. <label class="form-check-label" for="pingtung_county">
  292. 屏東縣
  293. </label>
  294. </div>
  295. </li>
  296. <li>
  297. <div class="form-check">
  298. <input class="form-check-input" type="radio" name="city" id="yilan_county">
  299. <label class="form-check-label" for="yilan_county">
  300. 宜蘭縣
  301. </label>
  302. </div>
  303. </li>
  304. <li>
  305. <div class="form-check">
  306. <input class="form-check-input" type="radio" name="city" id="hualien_county">
  307. <label class="form-check-label" for="hualien_county">
  308. 花蓮縣
  309. </label>
  310. </div>
  311. </li>
  312. <li>
  313. <div class="form-check">
  314. <input class="form-check-input" type="radio" name="city" id="taitung_county">
  315. <label class="form-check-label" for="taitung_county">
  316. 台東縣
  317. </label>
  318. </div>
  319. </li>
  320. <li>
  321. <div class="form-check">
  322. <input class="form-check-input" type="radio" name="city" id="penghu_county">
  323. <label class="form-check-label" for="penghu_county">
  324. 澎湖縣
  325. </label>
  326. </div>
  327. </li>
  328. <li>
  329. <div class="form-check">
  330. <input class="form-check-input" type="radio" name="city" id="kinmen_county">
  331. <label class="form-check-label" for="kinmen_county">
  332. 金門縣
  333. </label>
  334. </div>
  335. </li>
  336. <li>
  337. <div class="form-check">
  338. <input class="form-check-input" type="radio" name="city" id="lienchiang_county">
  339. <label class="form-check-label" for="lienchiang_county">
  340. 連江縣
  341. </label>
  342. </div>
  343. </li>
  344. </ul>
  345. </div>
  346. <div class="dropdown">
  347. <button class="btn dropdown-toggle fw-bold search-tab" type="button" id="region" data-bs-toggle="dropdown"
  348. aria-expanded="false">
  349. 接案地區
  350. </button>
  351. <ul class="dropdown-menu" aria-labelledby="region">
  352. <!-- <li>
  353. <div class="form-check">
  354. <input class="form-check-input" type="radio" name="region" id="all_region">
  355. <label class="form-check-label" for="all_region">
  356. 不拘
  357. </label>
  358. </div>
  359. </li> -->
  360. <li>
  361. <div class="form-check">
  362. <input class="form-check-input" type="radio" name="region" id="north_region">
  363. <label class="form-check-label" for="north_region">
  364. 北區
  365. </label>
  366. </div>
  367. </li>
  368. <li>
  369. <div class="form-check">
  370. <input class="form-check-input" type="radio" name="region" id="central_region">
  371. <label class="form-check-label" for="central_region">
  372. 中區
  373. </label>
  374. </div>
  375. </li>
  376. <li>
  377. <div class="form-check">
  378. <input class="form-check-input" type="radio" name="region" id="south_region">
  379. <label class="form-check-label" for="south_region">
  380. 南區
  381. </label>
  382. </div>
  383. </li>
  384. <li>
  385. <div class="form-check">
  386. <input class="form-check-input" type="radio" name="region" id="east_region">
  387. <label class="form-check-label" for="east_region">
  388. 宜蘭花東
  389. </label>
  390. </div>
  391. </li>
  392. <li>
  393. <div class="form-check">
  394. <input class="form-check-input" type="radio" name="region" id="outlying_region">
  395. <label class="form-check-label" for="outlying_region">
  396. 離島地區
  397. </label>
  398. </div>
  399. </li>
  400. <li>
  401. <div class="form-check">
  402. <input class="form-check-input" type="radio" name="region" id="overseas_region">
  403. <label class="form-check-label" for="overseas_region">
  404. 海外地區
  405. </label>
  406. </div>
  407. </li>
  408. </ul>
  409. </div>
  410. <div class="dropdown">
  411. <button class="btn dropdown-toggle fw-bold search-tab" type="button" id="dtype" data-bs-toggle="dropdown"
  412. aria-expanded="false">
  413. 接案類型
  414. </button>
  415. <ul class="dropdown-menu" aria-labelledby="dtype">
  416. <!-- <li>
  417. <div class="form-check">
  418. <input class="form-check-input" type="radio" name="d_type" id="d_typeall">
  419. <label class="form-check-label" for="d_typeall">
  420. 不拘
  421. </label>
  422. </div>
  423. </li> -->
  424. <li>
  425. <div class="form-check">
  426. <input class="form-check-input" type="radio" name="d_type" id="d_typesmall">
  427. <label class="form-check-label" for="d_typesmall">
  428. 小坪數
  429. </label>
  430. </div>
  431. </li>
  432. <li>
  433. <div class="form-check">
  434. <input class="form-check-input" type="radio" name="d_type" id="d_typestandard">
  435. <label class="form-check-label" for="d_typestandard">
  436. 標準格局
  437. </label>
  438. </div>
  439. </li>
  440. <li>
  441. <div class="form-check">
  442. <input class="form-check-input" type="radio" name="d_type" id="d_typevilla">
  443. <label class="form-check-label" for="d_typevilla">
  444. 別墅
  445. </label>
  446. </div>
  447. </li>
  448. <li>
  449. <div class="form-check">
  450. <input class="form-check-input" type="radio" name="d_type" id="d_typebig">
  451. <label class="form-check-label" for="d_typebig">
  452. 大坪數
  453. </label>
  454. </div>
  455. </li>
  456. <li>
  457. <div class="form-check">
  458. <input class="form-check-input" type="radio" name="d_type" id="d_typemiddle">
  459. <label class="form-check-label" for="d_typemiddle">
  460. 樓中樓
  461. </label>
  462. </div>
  463. </li>
  464. <li>
  465. <div class="form-check">
  466. <input class="form-check-input" type="radio" name="d_type" id="d_typesample">
  467. <label class="form-check-label" for="d_typesample">
  468. 實品/樣品屋
  469. </label>
  470. </div>
  471. </li>
  472. <li>
  473. <div class="form-check">
  474. <input class="form-check-input" type="radio" name="d_type" id="d_typecommercial">
  475. <label class="form-check-label" for="d_typecommercial">
  476. 商業空間
  477. </label>
  478. </div>
  479. </li>
  480. <li>
  481. <div class="form-check">
  482. <input class="form-check-input" type="radio" name="d_type" id="d_typeraisehigh">
  483. <label class="form-check-label" for="d_typeraisehigh">
  484. 挑高樓層
  485. </label>
  486. </div>
  487. </li>
  488. <li>
  489. <div class="form-check">
  490. <input class="form-check-input" type="radio" name="d_type" id="d_typeworkspace">
  491. <label class="form-check-label" for="d_typeworkspace">
  492. 工作空間
  493. </label>
  494. </div>
  495. </li>
  496. <li>
  497. <div class="form-check">
  498. <input class="form-check-input" type="radio" name="d_type" id="d_typedining">
  499. <label class="form-check-label" for="d_typedining">
  500. 餐飲空間
  501. </label>
  502. </div>
  503. </li>
  504. <li>
  505. <div class="form-check">
  506. <input class="form-check-input" type="radio" name="d_type" id="d_typehomestay">
  507. <label class="form-check-label" for="d_typehomestay">
  508. 民宿旅館
  509. </label>
  510. </div>
  511. </li>
  512. <li>
  513. <div class="form-check">
  514. <input class="form-check-input" type="radio" name="d_type" id="d_typepublic">
  515. <label class="form-check-label" for="d_typepublic">
  516. 公共空間
  517. </label>
  518. </div>
  519. </li>
  520. <li>
  521. <div class="form-check">
  522. <input class="form-check-input" type="radio" name="d_type" id="d_typerenovation">
  523. <label class="form-check-label" for="d_typerenovation">
  524. 老屋翻新
  525. </label>
  526. </div>
  527. </li>
  528. </ul>
  529. </div>
  530. <div class="dropdown">
  531. <button class="btn dropdown-toggle fw-bold search-tab" type="button" id="dstyle" data-bs-toggle="dropdown"
  532. aria-expanded="false">
  533. 接案風格
  534. </button>
  535. <ul class="dropdown-menu" aria-labelledby="dstyle">
  536. <!-- <li>
  537. <div class="form-check">
  538. <input class="form-check-input" type="radio" name="d_style" id="d_styleall">
  539. <label class="form-check-label" for="d_styleall">
  540. 不拘
  541. </label>
  542. </div>
  543. </li> -->
  544. <li>
  545. <div class="form-check">
  546. <input class="form-check-input" type="radio" name="d_style" id="d_stylenordic">
  547. <label class="form-check-label" for="d_stylenordic">
  548. 北歐風
  549. </label>
  550. </div>
  551. </li>
  552. <li>
  553. <div class="form-check">
  554. <input class="form-check-input" type="radio" name="d_style" id="d_stylemodern">
  555. <label class="form-check-label" for="d_stylemodern">
  556. 現代風
  557. </label>
  558. </div>
  559. </li>
  560. <li>
  561. <div class="form-check">
  562. <input class="form-check-input" type="radio" name="d_style" id="d_styleindustry">
  563. <label class="form-check-label" for="d_styleindustry">
  564. 工業風
  565. </label>
  566. </div>
  567. </li>
  568. <li>
  569. <div class="form-check">
  570. <input class="form-check-input" type="radio" name="d_style" id="d_styleamerican">
  571. <label class="form-check-label" for="d_styleamerican">
  572. 美式風
  573. </label>
  574. </div>
  575. </li>
  576. <li>
  577. <div class="form-check">
  578. <input class="form-check-input" type="radio" name="d_style" id="d_styleleisure">
  579. <label class="form-check-label" for="d_styleleisure">
  580. 休閒多元
  581. </label>
  582. </div>
  583. </li>
  584. <li>
  585. <div class="form-check">
  586. <input class="form-check-input" type="radio" name="d_style" id="d_stylevanguard">
  587. <label class="form-check-label" for="d_stylevanguard">
  588. 前衛風
  589. </label>
  590. </div>
  591. </li>
  592. <li>
  593. <div class="form-check">
  594. <input class="form-check-input" type="radio" name="d_style" id="d_stylerustuc">
  595. <label class="form-check-label" for="d_stylerustuc">
  596. 鄉村風
  597. </label>
  598. </div>
  599. </li>
  600. <li>
  601. <div class="form-check">
  602. <input class="form-check-input" type="radio" name="d_style" id="d_stylemashup">
  603. <label class="form-check-label" for="d_stylemashup">
  604. 混搭風
  605. </label>
  606. </div>
  607. </li>
  608. <li>
  609. <div class="form-check">
  610. <input class="form-check-input" type="radio" name="d_style" id="d_styleneoclassic">
  611. <label class="form-check-label" for="d_styleneoclassic">
  612. 新古典
  613. </label>
  614. </div>
  615. </li>
  616. <li>
  617. <div class="form-check">
  618. <input class="form-check-input" type="radio" name="d_style" id="d_styleluxurious">
  619. <label class="form-check-label" for="d_styleluxurious">
  620. 奢華風
  621. </label>
  622. </div>
  623. </li>
  624. <li>
  625. <div class="form-check">
  626. <input class="form-check-input" type="radio" name="d_style" id="d_styleclassical">
  627. <label class="form-check-label" for="d_styleclassical">
  628. 古典風
  629. </label>
  630. </div>
  631. </li>
  632. <li>
  633. <div class="form-check">
  634. <input class="form-check-input" type="radio" name="d_style" id="d_styleexotic">
  635. <label class="form-check-label" for="d_styleexotic">
  636. 異國風
  637. </label>
  638. </div>
  639. </li>
  640. <li>
  641. <div class="form-check">
  642. <input class="form-check-input" type="radio" name="d_style" id="d_stylezen">
  643. <label class="form-check-label" for="d_stylezen">
  644. 日式禪風
  645. </label>
  646. </div>
  647. </li>
  648. <li>
  649. <div class="form-check">
  650. <input class="form-check-input" type="radio" name="d_style" id="d_styleoriental">
  651. <label class="form-check-label" for="d_styleoriental">
  652. 東方風
  653. </label>
  654. </div>
  655. </li>
  656. <li>
  657. <div class="form-check">
  658. <input class="form-check-input" type="radio" name="d_style" id="d_stylemuju">
  659. <label class="form-check-label" for="d_stylemuju">
  660. 無印風
  661. </label>
  662. </div>
  663. </li>
  664. <li>
  665. <div class="form-check">
  666. <input class="form-check-input" type="radio" name="d_style" id="d_styleminimalism">
  667. <label class="form-check-label" for="d_styleminimalism">
  668. 簡約風
  669. </label>
  670. </div>
  671. </li>
  672. <li>
  673. <div class="form-check">
  674. <input class="form-check-input" type="radio" name="d_style" id="d_stylejpstyle">
  675. <label class="form-check-label" for="d_stylejpstyle">
  676. 日式風
  677. </label>
  678. </div>
  679. </li>
  680. <li>
  681. <div class="form-check">
  682. <input class="form-check-input" type="radio" name="d_style" id="d_styleentrylux">
  683. <label class="form-check-label" for="d_styleentrylux">
  684. 輕奢風
  685. </label>
  686. </div>
  687. </li>
  688. </ul>
  689. </div>
  690. <div class="dropdown">
  691. <button class="btn dropdown-toggle fw-bold search-tab" type="button" id="budget" data-bs-toggle="dropdown"
  692. aria-expanded="false">
  693. 接案預算
  694. </button>
  695. <ul class="dropdown-menu" aria-labelledby="budget">
  696. <!-- <li>
  697. <div class="form-check">
  698. <input class="form-check-input" type="radio" name="d_budget" id="d_budgetall">
  699. <label class="form-check-label" for="d_budgetall">
  700. 不拘
  701. </label>
  702. </div>
  703. </li> -->
  704. <li>
  705. <div class="form-check">
  706. <input class="form-check-input" type="radio" name="d_budget" id="d_budgetd100">
  707. <label class="form-check-label" for="d_budgetd100">
  708. 100萬以下
  709. </label>
  710. </div>
  711. </li>
  712. <li>
  713. <div class="form-check">
  714. <input class="form-check-input" type="radio" name="d_budget" id="d_budgetd200">
  715. <label class="form-check-label" for="d_budgetd200">
  716. 100~200萬
  717. </label>
  718. </div>
  719. </li>
  720. <li>
  721. <div class="form-check">
  722. <input class="form-check-input" type="radio" name="d_budget" id="d_budgetd300">
  723. <label class="form-check-label" for="d_budgetd300">
  724. 200~300萬
  725. </label>
  726. </div>
  727. </li>
  728. <li>
  729. <div class="form-check">
  730. <input class="form-check-input" type="radio" name="d_budget" id="d_budgetd400">
  731. <label class="form-check-label" for="d_budgetd400">
  732. 300~400萬
  733. </label>
  734. </div>
  735. </li>
  736. <li>
  737. <div class="form-check">
  738. <input class="form-check-input" type="radio" name="d_budget" id="d_budgetd500">
  739. <label class="form-check-label" for="d_budgetd500">
  740. 400~500萬
  741. </label>
  742. </div>
  743. </li>
  744. <li>
  745. <div class="form-check">
  746. <input class="form-check-input" type="radio" name="d_budget" id="d_budgetd501">
  747. <label class="form-check-label" for="d_budgetd501">
  748. 500萬以上
  749. </label>
  750. </div>
  751. </li>
  752. </ul>
  753. </div>
  754. <div class="dropdown">
  755. <button class="btn dropdown-toggle fw-bold search-tab" type="button" id="arch" data-bs-toggle="dropdown"
  756. aria-expanded="false">
  757. 建築師執照
  758. </button>
  759. <ul class="dropdown-menu" aria-labelledby="arch">
  760. <li>
  761. <div class="form-check">
  762. <input class="form-check-input" type="radio" name="darch" id="darchall">
  763. <label class="form-check-label" for="darchall">
  764. 不拘
  765. </label>
  766. </div>
  767. </li>
  768. <li>
  769. <div class="form-check">
  770. <input class="form-check-input" type="radio" name="darch" id="darchY">
  771. <label class="form-check-label" for="darchY">
  772. </label>
  773. </div>
  774. </li>
  775. </ul>
  776. </div>
  777. <div class="dropdown">
  778. <button class="btn dropdown-toggle fw-bold search-tab" type="button" id="award" data-bs-toggle="dropdown"
  779. aria-expanded="false">
  780. 亞洲設計獎得主
  781. </button>
  782. <ul class="dropdown-menu" aria-labelledby="award">
  783. <li>
  784. <div class="form-check">
  785. <input class="form-check-input" type="radio" name="award" id="awardall">
  786. <label class="form-check-label" for="awardall">
  787. 不拘
  788. </label>
  789. </div>
  790. </li>
  791. <li>
  792. <div class="form-check">
  793. <input class="form-check-input" type="radio" name="award" id="awardY">
  794. <label class="form-check-label" for="awardY">
  795. </label>
  796. </div>
  797. </li>
  798. </ul>
  799. </div>
  800. </div>
  801. </div>
  802. <div class="row">
  803. <div class="col-md-9">
  804. <div class="d-flex flex-wrap align-items-center">
  805. <div class="text-primary d-flex flex-wrap align-items-center search-tab-result">
  806. <!-- <span class="me-3">
  807. <span class="budget">
  808. 接案地區:不拘
  809. <img src="https://hhh.com.tw/assets/images/section/icon/close-btn-search.svg" alt="close-btn-search">
  810. </span>
  811. </span> -->
  812. <!-- <button type="button" class="btn btn-light btn-sm text-muted px-3">全部清除</button> -->
  813. </div>
  814. <button type="button" id="removeResultBtn" class="btn btn-light btn-sm text-muted px-3">全部清除</button>
  815. </div>
  816. </div>
  817. <div class="col-md-3">
  818. <div class="d-flex justify-content-end search-btn-filter">
  819. <button id="hot">
  820. 人氣
  821. </button>
  822. <span class="mx-1">|</span>
  823. <button id="new">
  824. 最新
  825. </button>
  826. <span class="mx-1">|</span>
  827. <button id="recommend" class="active">
  828. 推薦
  829. </button>
  830. </div>
  831. </div>
  832. </div>
  833. <!-- 設計師列表 -->
  834. <div class="row mt-5" id="designerList">
  835. <!-- 動態載入 -->
  836. </div>
  837. <!-- 分頁 -->
  838. <div class="d-flex justify-content-center my-5">
  839. <nav aria-label="Page navigation example">
  840. <ul class="pagination border list-pagination">
  841. <li class="page-item">
  842. <a class="page-link" href="#" aria-label="Previous">
  843. <span aria-hidden="true"><</span>
  844. </a>
  845. </li>
  846. <li class="page-item">
  847. <a class="page-link" href="#">1</a>
  848. </li>
  849. <li class="page-item">
  850. <a class="page-link" href="#">2</a>
  851. </li>
  852. <li class="page-item">
  853. <a class="page-link" href="#">3</a>
  854. </li>
  855. <li class="page-item">
  856. <a class="page-link" href="#" aria-label="Next">
  857. <span aria-hidden="true">></span>
  858. </a>
  859. </li>
  860. </ul>
  861. </nav>
  862. </div>
  863. </div>
  864. </div>
  865. </div>
  866. <!-- jQuery -->
  867. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  868. <!-- Bootstrap -->
  869. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.1/dist/umd/popper.min.js"
  870. integrity="sha384-W8fXfP3gkOKtndU4JGtKDvXbO53Wy8SZCQHczT5FMiiqmQfUpWbYdTil/SxwZgAN"
  871. crossorigin="anonymous"></script>
  872. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.min.js"
  873. integrity="sha384-skAcpIdS7UcVUC05LJ9Dxay8AXcDYfBJqt1CJ85S/CFujBsIzCIv+l9liuYLaMQ/"
  874. crossorigin="anonymous"></script>
  875. <script src="./js/main.js"></script>
  876. <script>
  877. // // $('#navbar').load('../hhh_index/template/nav-new.html');
  878. // $('#removeResultBtn').hide(); // 隱藏全部清除按鈕
  879. // // 處理 radio 選取狀態
  880. // $('.filter-list .form-check').click(function (e) {
  881. // e.preventDefault();
  882. // $(this).find('.form-check-input').prop('checked', true);
  883. // // 取得 radio 按鈕的 label
  884. // let radioLabel = $(this).find('.form-check-label').text().trim().replace(/\s+/g, ' '); // 移除換行空白
  885. // console.log('radioLabel', radioLabel);
  886. // // 取上一層 search-tab 按鈕文字
  887. // let buttonValue = $(this).closest('.dropdown').find('.search-tab').text().trim();
  888. // console.log('Selected button text:', buttonValue);
  889. // let buttonId = $(this).closest('.dropdown').find('.search-tab').attr('id');
  890. // console.log('buttonId', buttonId);
  891. // updateSelectedOptions(buttonId, buttonValue, radioLabel);
  892. // });
  893. // let filterList = []; // 篩選條件
  894. // // 更新篩選狀態
  895. // function updateSelectedOptions(id, button, radio) {
  896. // console.log('更新篩選狀態', button, radio);
  897. // if (filterList.length) {
  898. // let exists = false; // 判斷是否已存在
  899. // for (let index = 0; index < filterList.length; index++) {
  900. // const element = filterList[index];
  901. // // 如有重複 button 只改 radio 狀態
  902. // if (element.text === button) {
  903. // element.value = radio;
  904. // exists = true;
  905. // // 更新篩選的值
  906. // $(`.search-tab-result .budget:contains(${button})`).find('p').text(`${button}:${radio}`);
  907. // // $(`#${id} ul`).find('.form-check-input').prop('checked', true);
  908. // }
  909. // }
  910. // // 如果 filterList 中不存在則新增
  911. // if (!exists) {
  912. // const newItem = {
  913. // id: id,
  914. // text: button,
  915. // value: radio
  916. // };
  917. // filterList.push(newItem);
  918. // createFilterHtml(newItem);
  919. // }
  920. // } else {
  921. // // 儲存篩選條件
  922. // filterList.push({
  923. // id: id,
  924. // text: button,
  925. // value: radio
  926. // })
  927. // for (let index = 0; index < filterList.length; index++) {
  928. // const element = filterList[index];
  929. // createFilterHtml(element);
  930. // }
  931. // }
  932. // designerSearch(); // 搜尋
  933. // console.log('filterList', filterList);
  934. // // 切換按鈕選取狀態
  935. // $('.dropdown').each(function () {
  936. // let hasCheckedRadio = $(this).find('input[type="radio"]:checked').length > 0;
  937. // $(this).find('.search-tab').toggleClass('active', hasCheckedRadio);
  938. // });
  939. // }
  940. // // 新增篩選條件 HTML
  941. // function createFilterHtml(item) {
  942. // let dom = `
  943. // <span class="me-3">
  944. // <span class="d-flex budget">
  945. // <p class="me-1">${item.text}:${item.value}</p>
  946. // <img src="https://hhh.com.tw/assets/images/section/icon/close-btn-search.svg" alt="close-btn-search">
  947. // </span>
  948. // </span>`;
  949. // $('.search-tab-result').append(dom);
  950. // $('#removeResultBtn').show();
  951. // }
  952. // let page = 1; // 當前頁數
  953. // let pageSize = 18; // 每頁數量
  954. // // 列表篩選
  955. // async function designerSearch(type = "") {
  956. // // 預設排序為 recommend
  957. // let url = `https://m3.hhh.com.tw:18673/designer_search?page=${page}&page_size=${pageSize}&order_by=recommend`;
  958. // console.log('type', type);
  959. // if (type === "order_by") {
  960. // url += `&${type}=${assignOrder}`
  961. // }
  962. // if (filterList.length) {
  963. // filterList.map(item => {
  964. // if (item.id === 'budget') {
  965. // switch (item.value) {
  966. // case "100萬以下":
  967. // url += `&${item.id}=1`
  968. // break;
  969. // case "100~200萬":
  970. // url += `&${item.id}=2`
  971. // break;
  972. // case "200~300萬":
  973. // url += `&${item.id}=3`
  974. // break;
  975. // case "300~400萬":
  976. // url += `&${item.id}=4`
  977. // break;
  978. // case "400~500萬":
  979. // url += `&${item.id}=5`
  980. // break;
  981. // case "500萬以上":
  982. // url += `&${item.id}=6`
  983. // break;
  984. // default:
  985. // break;
  986. // }
  987. // } else {
  988. // url += `&${item.id}=${item.value}`
  989. // }
  990. // })
  991. // }
  992. // console.log('url >>', url);
  993. // let resultHtml = '';
  994. // try {
  995. // const response = await axios.get(url);
  996. // console.log("response", response);
  997. // let totalCount = response.data.total_count;
  998. // let totalPages = Math.ceil(totalCount / pageSize);
  999. // console.log('totalCount', totalCount);
  1000. // console.log('totalPages', totalPages);
  1001. // setPagination(totalPages); // 分頁處理
  1002. // let resultHtml = '';
  1003. // response.data.designers.forEach((item) => {
  1004. // resultHtml += `
  1005. // <div class="col-md-4 mb-4">
  1006. // <a href="${item.DesignerLink}">
  1007. // <div class="card">
  1008. // <img src="${item.CaseCoverImg}" class="cover-img" alt="${item.DesignerName} ${item.DesignerTitle}">
  1009. // <div class="card-body d-flex align-items-center">
  1010. // <img src="${item.DesignerCoverImg}" alt="" class="me-3 person-img">
  1011. // <section>
  1012. // <h5 class="card-text text-muted">${item.DesignerTitle}</h5>
  1013. // <h6 class="card-title mb-0 text-dark">
  1014. // <span class="font-weight-bold">
  1015. // ${item.DesignerName}
  1016. // </span>
  1017. // 設計師
  1018. // </h6>
  1019. // </section>
  1020. // </div>
  1021. // </div>
  1022. // </a>
  1023. // </div>`;
  1024. // });
  1025. // $('#designerList').html(resultHtml);
  1026. // } catch (error) {
  1027. // console.log("error", error);
  1028. // }
  1029. // }
  1030. // designerSearch();
  1031. // // 分頁
  1032. // function setPagination(pages) {
  1033. // console.log('setPagination pages', pages);
  1034. // // 往前一頁
  1035. // let dom = `
  1036. // <li class="page-item" onclick="handlePagination(this, 'previous')">
  1037. // <a class="page-link" href="#" aria-label="Previous">
  1038. // <span aria-hidden="true"><</span>
  1039. // </a>
  1040. // </li>`;
  1041. // for (let index = 0; index < pages; index++) {
  1042. // dom += `
  1043. // <li class="page-item" onclick="handlePagination(this)">
  1044. // <a class="page-link" href="#">${index + 1}</a>
  1045. // </li>`;
  1046. // }
  1047. // // 往後一頁
  1048. // dom += `
  1049. // <li class="page-item" onclick="handlePagination(this, 'next')">
  1050. // <a class="page-link" href="#" aria-label="Next">
  1051. // <span aria-hidden="true">></span>
  1052. // </a>
  1053. // </li>`;
  1054. // $('.designer-list-content .pagination').html(dom);
  1055. // $('.designer-list-content .page-item').removeClass('active');
  1056. // $('.designer-list-content .page-item').eq(page).addClass('active'); // 當前頁數加上選取狀態
  1057. // }
  1058. // // 頁碼處理
  1059. // function handlePagination(item, type = "") {
  1060. // if (type === "previous") {
  1061. // // 往前一頁
  1062. // console.log('previous');
  1063. // page--;
  1064. // console.log(page);
  1065. // return;
  1066. // } else if (type === "next") {
  1067. // // 往後一頁
  1068. // console.log('next');
  1069. // page++;
  1070. // console.log(page);
  1071. // return;
  1072. // }
  1073. // console.log('item', item);
  1074. // // 切換選取狀態
  1075. // $('.designer-list-content .page-item').removeClass('active');
  1076. // $(item).addClass('active');
  1077. // page = $(item).find('.page-link')[0].innerText; // 修改當前頁數
  1078. // designerSearch();
  1079. // }
  1080. // let assignOrder = ""; // 當前排序
  1081. // // new, hot, recommend 排序 (預設推薦)
  1082. // $(".search-btn-filter button").click(function () {
  1083. // // 切換選取狀態
  1084. // $('.search-btn-filter').find('.active').removeClass('active');
  1085. // $(this).addClass('active');
  1086. // assignOrder = $(this).attr('id');
  1087. // console.log('assignOrder', assignOrder);
  1088. // designerSearch("order_by");
  1089. // });
  1090. </script>
  1091. </body>
  1092. </html>