list.html 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. {{ partial "headers.html" . }}
  5. </head>
  6. <body style="overflow-x: hidden;">
  7. {{ partial "nav.html" . }}
  8. <div class="container-fluid blog-categories blog-main p-0">
  9. <section class="bhouseweb_loc_banner">
  10. <img src="/img/banner/bn_blog@2x.png" class="banner-img card-img" alt="...">
  11. </section>
  12. <!-- 電腦版 -->
  13. <div class="d-none d-md-block">
  14. <div class="container">
  15. <section class="text-box">
  16. <p class="title" data-aos="fade-in" data-aos-duration="1000">買了房然後呢?</p>
  17. <span class="underline"></span>
  18. <div data-aos="fade-in" data-aos-duration="2000">
  19. <p>
  20. 最完整的成家知識地圖,一步步指導你從零開始完成 住宅設計、裝修裝潢、家具規劃,陪你美好成家!
  21. </p>
  22. <img class="left_img" src="/img/blog/dot_left.png" alt="">
  23. <img class="right_img" src="/img/blog/dot_right.png" alt="">
  24. </div>
  25. </section>
  26. </div>
  27. <div class="process">
  28. <img class="house_img" src="/img/blog/house.png" alt="" data-aos="fade-in" data-aos-duration="3000">
  29. <img class="star_green" src="/img/blog/star_green.png" alt="" data-aos="fade-in" data-aos-duration="3000">
  30. <img class="star_yellow" src="/img/blog/star_yellow.png" alt="" data-aos="fade-in" data-aos-duration="3000">
  31. <img class="ruler_img" src="/img/blog/ruler2.png" alt="" data-aos="fade-in" data-aos-duration="3000">
  32. <img class="line_01" src="/img/blog/Vector01.png" alt="">
  33. <div>
  34. <section style="position: relative;">
  35. <img src="/img/blog/icon/step01.png" alt="" data-gt-target="#blogTag_01" data-gt-duration="500"
  36. data-gt-offset="100">
  37. <span>
  38. <img src="/img/blog/number/01.png" alt="">
  39. </span>
  40. <h4>預售屋客變</h4>
  41. </section>
  42. <span class="dot"></span>
  43. <section>
  44. <img src="/img/blog/icon/step02.png" alt="" data-gt-target="#blogTag_02" data-gt-duration="500"
  45. data-gt-offset="180">
  46. <span>
  47. <img src="/img/blog/number/02.png" alt="">
  48. </span>
  49. <h4>驗收交屋</h4>
  50. </section>
  51. <section>
  52. <img src="/img/blog/icon/step03.png" alt="" data-gt-target="#blogTag_03" data-gt-duration="500"
  53. data-gt-offset="180">
  54. <span>
  55. <img src="/img/blog/number/03.png" alt="">
  56. </span>
  57. <h4>預算準備</h4>
  58. </section>
  59. <section>
  60. <img src="/img/blog/icon/step04.png" alt="" data-gt-target="#blogTag_04" data-gt-duration="500"
  61. data-gt-offset="180">
  62. <span>
  63. <img src="/img/blog/number/04.png" alt="">
  64. </span>
  65. <h4>認識裝修裝潢</h4>
  66. </section>
  67. <section style="margin-right: 0; position: relative;">
  68. <img src="/img/blog/icon/step05.png" alt="" data-gt-target="#blogTag_05" data-gt-duration="500"
  69. data-gt-offset="180">
  70. <span>
  71. <img src="/img/blog/number/05.png" alt="">
  72. </span>
  73. <h4>空間計畫</h4>
  74. <img class="line_02" src="/img/blog/Vector02.png" alt="">
  75. </section>
  76. </div>
  77. <div>
  78. <section>
  79. <img src="/img/blog/icon/step06.png" alt="" data-gt-target="#blogTag_06" data-gt-duration="500"
  80. data-gt-offset="180">
  81. <span>
  82. <img src="/img/blog/number/06.png" alt="">
  83. </span>
  84. <h4>居家風格</h4>
  85. </section>
  86. <section>
  87. <img src="/img/blog/icon/step07.png" alt="" data-gt-target="#blogTag_07" data-gt-duration="500"
  88. data-gt-offset="180">
  89. <span>
  90. <img src="/img/blog/number/07.png" alt="">
  91. </span>
  92. <h4>家具家電</h4>
  93. </section>
  94. <section style="margin-right: 0;">
  95. <img src="/img/blog/icon/step08.png" alt="" data-gt-target="#blogTag_08" data-gt-duration="500"
  96. data-gt-offset="180">
  97. <span>
  98. <img src="/img/blog/number/08.png" alt="">
  99. </span>
  100. <h4>驗收入住</h4>
  101. </section>
  102. </div>
  103. </div>
  104. <div class="article_list">
  105. <div class="container-fluid article_item">
  106. <!-- 01 -->
  107. <div class="row gx-5 align-items-center" id="blogTag_01">
  108. <div class="col-4" data-aos="fade-in" data-aos-duration="1000">
  109. <section class="img_box">
  110. <img src="/img/blog/step1.png" alt="">
  111. <img src="/img/blog/number/01.png" alt="">
  112. </section>
  113. </div>
  114. <div class="col-8">
  115. <section class="text_box">
  116. <h4>
  117. <span>第 1 步:</span>預售屋客變
  118. </h4>
  119. <ul>
  120. {{ $t := $.Site.GetPage "/blog" }}
  121. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "預售屋客變") }}
  122. <li>
  123. <div class="blog_img">
  124. <a href="{{ .Params.url }}">
  125. <span>
  126. <img src="{{ .Params.image }}" alt="">
  127. </span>
  128. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  129. </a>
  130. </div>
  131. <div class="blog_text">
  132. <h5>
  133. <a href="{{ .Params.url }}">{{ .Title }}</a>
  134. <span></span>
  135. </h5>
  136. <a href="{{ .Params.url }}">
  137. <p>
  138. {{ .Params.description }}
  139. </p>
  140. </a>
  141. </div>
  142. </li>
  143. <li>
  144. <span>
  145. <img src="/img/blog/line.png" alt="">
  146. </span>
  147. </li>
  148. {{ end }}
  149. </ul>
  150. <!-- 如有三篇文章需顯示按鈕 -->
  151. {{ $t := $.Site.GetPage "/blog" }}
  152. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "預售屋客變") }}
  153. {{ if (eq $index 2) }}
  154. <div class="btn_box">
  155. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  156. <p>閱讀更多</p>
  157. <img src="/img/blog/readmore.svg" alt="">
  158. </a>
  159. <span></span>
  160. </div>
  161. {{ end }}
  162. {{ end }}
  163. </section>
  164. </div>
  165. </div>
  166. <div class="blog_divider">
  167. <div class="bg_img"></div>
  168. <img src="/img/blog/line_first.png" alt="" class="line_right" style="top: -282px; height: auto;">
  169. <img src="/img/blog/line_left.png" alt="" class="line_left">
  170. <img src="/img/blog/tree1.png" alt="" class="logo_01">
  171. </div>
  172. <!-- 02 -->
  173. <div class="row gx-5 align-items-center" id="blogTag_02">
  174. <div class="col-8">
  175. <section class="text_box">
  176. <h4>
  177. <span>第 2 步:</span>驗收交屋
  178. </h4>
  179. <ul>
  180. {{ $t := $.Site.GetPage "/blog" }}
  181. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "驗收交屋") }}
  182. <li>
  183. <div class="blog_img">
  184. <a href="{{ .Params.url }}">
  185. <span>
  186. <img src="{{ .Params.image }}" alt="">
  187. </span>
  188. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  189. </a>
  190. </div>
  191. <div class="blog_text">
  192. <h5>
  193. <a href="{{ .Params.url }}">{{ .Title }}</a>
  194. <span></span>
  195. </h5>
  196. <a href="{{ .Params.url }}">
  197. <p>
  198. {{ .Params.description }}
  199. </p>
  200. </a>
  201. </div>
  202. </li>
  203. <li>
  204. <span>
  205. <img src="/img/blog/line.png" alt="">
  206. </span>
  207. </li>
  208. {{ end }}
  209. </ul>
  210. {{ $t := $.Site.GetPage "/blog" }}
  211. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "驗收交屋") }}
  212. {{ if (eq $index 2) }}
  213. <div class="btn_box">
  214. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  215. <p>閱讀更多</p>
  216. <img src="/img/blog/readmore.svg" alt="">
  217. </a>
  218. <span></span>
  219. </div>
  220. {{ end }}
  221. {{ end }}
  222. </section>
  223. </div>
  224. <div class="col-4" data-aos="fade-in" data-aos-duration="1000">
  225. <section class="img_box">
  226. <img src="/img/blog/step2.png" alt="">
  227. <img src="/img/blog/number/02.png" alt="">
  228. </section>
  229. </div>
  230. </div>
  231. <div class="blog_divider">
  232. <div class="bg_img"></div>
  233. <!-- <img src="/img/blog/Vector.png" alt=""> -->
  234. <img src="/img/blog/line_right.png" alt="" class="line_right">
  235. </div>
  236. <!-- 03 -->
  237. <div class="row gx-5 align-items-center" id="blogTag_03">
  238. <div class="col-4" data-aos="fade-in" data-aos-duration="1000">
  239. <section class="img_box">
  240. <img src="/img/blog/step3.png" alt="">
  241. <img src="/img/blog/number/03.png" alt="">
  242. </section>
  243. </div>
  244. <div class="col-8">
  245. <section class="text_box">
  246. <h4>
  247. <span>第 3 步:</span>預算準備
  248. </h4>
  249. <ul>
  250. {{ $t := $.Site.GetPage "/blog" }}
  251. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "預算準備") }}
  252. <li>
  253. <div class="blog_img">
  254. <a href="{{ .Params.url }}">
  255. <span>
  256. <img src="{{ .Params.image }}" alt="">
  257. </span>
  258. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  259. </a>
  260. </div>
  261. <div class="blog_text">
  262. <h5>
  263. <a href="{{ .Params.url }}">{{ .Title }}</a>
  264. <span></span>
  265. </h5>
  266. <a href="{{ .Params.url }}">
  267. <p>
  268. {{ .Params.description }}
  269. </p>
  270. </a>
  271. </div>
  272. </li>
  273. <li>
  274. <span>
  275. <img src="/img/blog/line.png" alt="">
  276. </span>
  277. </li>
  278. {{ end }}
  279. </ul>
  280. {{ $t := $.Site.GetPage "/blog" }}
  281. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "預算準備") }}
  282. {{ if (eq $index 2) }}
  283. <div class="btn_box">
  284. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  285. <p>閱讀更多</p>
  286. <img src="/img/blog/readmore.svg" alt="">
  287. </a>
  288. <span></span>
  289. </div>
  290. {{ end }}
  291. {{ end }}
  292. </section>
  293. </div>
  294. </div>
  295. <div class="blog_divider" style="margin-top: -1.3rem;">
  296. <div class="bg_img"></div>
  297. <!-- <img src="/img/blog/Vector.png" alt=""> -->
  298. <img src="/img/blog/line_left.png" alt="" class="line_left">
  299. <img src="/img/blog/tree2.png" alt="" class="logo_01">
  300. </div>
  301. <!-- 04 -->
  302. <div class="row gx-5 align-items-center" id="blogTag_04">
  303. <div class="col-8">
  304. <section class="text_box">
  305. <h4>
  306. <span>第 4 步:</span>認識裝修裝潢
  307. </h4>
  308. <ul>
  309. {{ $t := $.Site.GetPage "/blog" }}
  310. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "認識裝修裝潢") }}
  311. <li>
  312. <div class="blog_img">
  313. <a href="{{ .Params.url }}">
  314. <span>
  315. <img src="{{ .Params.image }}" alt="">
  316. </span>
  317. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  318. </a>
  319. </div>
  320. <div class="blog_text">
  321. <h5>
  322. <a href="{{ .Params.url }}">{{ .Title }}</a>
  323. <span></span>
  324. </h5>
  325. <a href="{{ .Params.url }}">
  326. <p>
  327. {{ .Params.description }}
  328. </p>
  329. </a>
  330. </div>
  331. </li>
  332. <li>
  333. <span>
  334. <img src="/img/blog/line.png" alt="">
  335. </span>
  336. </li>
  337. {{ end }}
  338. </ul>
  339. {{ $t := $.Site.GetPage "/blog" }}
  340. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "認識裝修裝潢") }}
  341. {{ if (eq $index 2) }}
  342. <div class="btn_box">
  343. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  344. <p>閱讀更多</p>
  345. <img src="/img/blog/readmore.svg" alt="">
  346. </a>
  347. <span></span>
  348. </div>
  349. {{ end }}
  350. {{ end }}
  351. </section>
  352. </div>
  353. <div class="col-4" data-aos="fade-in" data-aos-duration="1000">
  354. <section class="img_box">
  355. <img src="/img/blog/step4.png" alt="">
  356. <img src="/img/blog/number/04.png" alt="">
  357. </section>
  358. </div>
  359. </div>
  360. <div class="blog_divider">
  361. <div class="bg_img"></div>
  362. <!-- <img src="/img/blog/Vector.png" alt=""> -->
  363. <img src="/img/blog/line_right.png" alt="" class="line_right">
  364. <img src="/img/blog/search.png" alt="" class="logo_02">
  365. </div>
  366. <!-- 05 -->
  367. <div class="row gx-5 align-items-center" id="blogTag_05">
  368. <div class="col-4" data-aos="fade-in" data-aos-duration="1000">
  369. <section class="img_box">
  370. <img src="/img/blog/step5.png" alt="">
  371. <img src="/img/blog/number/05.png" style="top: -40px;" alt="">
  372. </section>
  373. </div>
  374. <div class="col-8">
  375. <section class="text_box">
  376. <h4>
  377. <span>第 5 步:</span>空間計畫
  378. </h4>
  379. <ul>
  380. {{ $t := $.Site.GetPage "/blog" }}
  381. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "空間計畫") }}
  382. <li>
  383. <div class="blog_img">
  384. <a href="{{ .Params.url }}">
  385. <span>
  386. <img src="{{ .Params.image }}" alt="">
  387. </span>
  388. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  389. </a>
  390. </div>
  391. <div class="blog_text">
  392. <h5>
  393. <a href="{{ .Params.url }}">{{ .Title }}</a>
  394. <span></span>
  395. </h5>
  396. <a href="{{ .Params.url }}">
  397. <p>
  398. {{ .Params.description }}
  399. </p>
  400. </a>
  401. </div>
  402. </li>
  403. <li>
  404. <span>
  405. <img src="/img/blog/line.png" alt="">
  406. </span>
  407. </li>
  408. {{ end }}
  409. </ul>
  410. {{ $t := $.Site.GetPage "/blog" }}
  411. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "空間計畫") }}
  412. {{ if (eq $index 2) }}
  413. <div class="btn_box">
  414. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  415. <p>閱讀更多</p>
  416. <img src="/img/blog/readmore.svg" alt="">
  417. </a>
  418. <span></span>
  419. </div>
  420. {{ end }}
  421. {{ end }}
  422. </section>
  423. </div>
  424. </div>
  425. <div class="blog_divider" style="margin-top: -1.3rem;">
  426. <div class="bg_img"></div>
  427. <!-- <img src="/img/blog/Vector.png" alt=""> -->
  428. <img src="/img/blog/line_left.png" alt="" class="line_left">
  429. <img src="/img/blog/tree3.png" alt="" class="logo_01">
  430. </div>
  431. <!-- 06 -->
  432. <div class="row gx-5 align-items-center" id="blogTag_06">
  433. <div class="col-8">
  434. <section class="text_box">
  435. <h4>
  436. <span>第 6 步:</span>居家風格
  437. </h4>
  438. <ul>
  439. {{ $t := $.Site.GetPage "/blog" }}
  440. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "居家風格") }}
  441. <li>
  442. <div class="blog_img">
  443. <a href="{{ .Params.url }}">
  444. <span>
  445. <img src="{{ .Params.image }}" alt="">
  446. </span>
  447. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  448. </a>
  449. </div>
  450. <div class="blog_text">
  451. <h5>
  452. <a href="{{ .Params.url }}">{{ .Title }}</a>
  453. <span></span>
  454. </h5>
  455. <a href="{{ .Params.url }}">
  456. <p>
  457. {{ .Params.description }}
  458. </p>
  459. </a>
  460. </div>
  461. </li>
  462. <li>
  463. <span>
  464. <img src="/img/blog/line.png" alt="">
  465. </span>
  466. </li>
  467. {{ end }}
  468. </ul>
  469. {{ $t := $.Site.GetPage "/blog" }}
  470. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "居家風格") }}
  471. {{ if (eq $index 2) }}
  472. <div class="btn_box">
  473. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  474. <p>閱讀更多</p>
  475. <img src="/img/blog/readmore.svg" alt="">
  476. </a>
  477. <span></span>
  478. </div>
  479. {{ end }}
  480. {{ end }}
  481. </section>
  482. </div>
  483. <div class="col-4" data-aos="fade-in" data-aos-duration="1000">
  484. <section class="img_box">
  485. <img src="/img/blog/step6.png" alt="">
  486. <img src="/img/blog/number/06.png" alt="">
  487. </section>
  488. </div>
  489. </div>
  490. <div class="blog_divider">
  491. <div class="bg_img"></div>
  492. <!-- <img src="/img/blog/Vector.png" alt=""> -->
  493. <img src="/img/blog/line_right.png" alt="" class="line_right">
  494. </div>
  495. <!-- 07 -->
  496. <div class="row gx-5 align-items-center" id="blogTag_07">
  497. <div class="col-4" data-aos="fade-in" data-aos-duration="1000">
  498. <section class="img_box">
  499. <img src="/img/blog/step7.png" alt="">
  500. <img src="/img/blog/number/07.png" style="top: -40px;" alt="">
  501. </section>
  502. </div>
  503. <div class="col-8">
  504. <section class="text_box">
  505. <h4>
  506. <span>第 7 步:</span>家具家電
  507. </h4>
  508. <ul>
  509. {{ $t := $.Site.GetPage "/blog" }}
  510. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "家具家電") }}
  511. <li>
  512. <div class="blog_img">
  513. <a href="{{ .Params.url }}">
  514. <span>
  515. <img src="{{ .Params.image }}" alt="">
  516. </span>
  517. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  518. </a>
  519. </div>
  520. <div class="blog_text">
  521. <h5>
  522. <a href="{{ .Params.url }}">{{ .Title }}</a>
  523. <span></span>
  524. </h5>
  525. <a href="{{ .Params.url }}">
  526. <p>
  527. {{ .Params.description }}
  528. </p>
  529. </a>
  530. </div>
  531. </li>
  532. <li>
  533. <span>
  534. <img src="/img/blog/line.png" alt="">
  535. </span>
  536. </li>
  537. {{ end }}
  538. </ul>
  539. {{ $t := $.Site.GetPage "/blog" }}
  540. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "家具家電") }}
  541. {{ if (eq $index 2) }}
  542. <div class="btn_box">
  543. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  544. <p>閱讀更多</p>
  545. <img src="/img/blog/readmore.svg" alt="">
  546. </a>
  547. <span></span>
  548. </div>
  549. {{ end }}
  550. {{ end }}
  551. </section>
  552. </div>
  553. </div>
  554. <div class="blog_divider" style="margin-top: -1.3rem;">
  555. <div class="bg_img"></div>
  556. <!-- <img src="/img/blog/Vector.png" alt=""> -->
  557. <img src="/img/blog/line_end.png" alt="" class="line_left" style="height: auto;">
  558. <img src="/img/blog/cube.png" alt="" class="logo_03">
  559. </div>
  560. <!-- 08 -->
  561. <div class="row gx-5 align-items-center" id="blogTag_08">
  562. <div class="col-8">
  563. <section class="text_box">
  564. <h4>
  565. <span>第 8 步:</span>驗收入住
  566. </h4>
  567. <ul>
  568. {{ $t := $.Site.GetPage "/blog" }}
  569. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "驗收入住") }}
  570. <li>
  571. <div class="blog_img">
  572. <a href="{{ .Params.url }}">
  573. <span>
  574. <img src="{{ .Params.image }}" alt="">
  575. </span>
  576. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  577. </a>
  578. </div>
  579. <div class="blog_text">
  580. <h5>
  581. <a href="{{ .Params.url }}">{{ .Title }}</a>
  582. <span></span>
  583. </h5>
  584. <a href="{{ .Params.url }}">
  585. <p>
  586. {{ .Params.description }}
  587. </p>
  588. </a>
  589. </div>
  590. </li>
  591. <li>
  592. <span>
  593. <img src="/img/blog/line.png" alt="">
  594. </span>
  595. </li>
  596. {{ end }}
  597. </ul>
  598. {{ $t := $.Site.GetPage "/blog" }}
  599. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "驗收入住") }}
  600. {{ if (eq $index 2) }}
  601. <div class="btn_box">
  602. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  603. <p>閱讀更多</p>
  604. <img src="/img/blog/readmore.svg" alt="">
  605. </a>
  606. <span></span>
  607. </div>
  608. {{ end }}
  609. {{ end }}
  610. </section>
  611. </div>
  612. <div class="col-4" data-aos="fade-in" data-aos-duration="1000">
  613. <section class="img_box">
  614. <img src="/img/blog/step8.png" alt="">
  615. <img src="/img/blog/number/08.png" alt="">
  616. </section>
  617. </div>
  618. </div>
  619. </div>
  620. <!-- 暫時隱藏主題 -->
  621. <!-- <div class="topic_list">
  622. <img src="/img/blog/ruler.png" alt="">
  623. <section>
  624. <h5>熱門主題</h5>
  625. <div>
  626. <a href="">標籤名稱</a>
  627. <a href="">標籤名稱</a>
  628. <a href="">標籤名稱</a>
  629. <a href="">標籤名稱</a>
  630. <a href="">標籤名稱</a>
  631. <a href="">標籤名稱</a>
  632. <a href="">標籤名稱</a>
  633. <a href="">標籤名稱</a>
  634. </div>
  635. </section>
  636. </div> -->
  637. </div>
  638. </div>
  639. <!-- 手機版 -->
  640. <div class="d-block d-md-none">
  641. <div class="container">
  642. <section class="text-box">
  643. <p class="title" data-aos="fade-in" data-aos-duration="1000">買了房然後呢?</p>
  644. <span class="underline"></span>
  645. <div data-aos="fade-in" data-aos-duration="2000">
  646. <p>
  647. 最完整的成家知識地圖,<br>一步步指導你從零開始完成<br>住宅設計、裝修裝潢、家具規劃,<br>陪你美好成家!
  648. </p>
  649. <img class="left_img" src="/img/blog/dot_left.png" alt="">
  650. <img class="right_img" src="/img/blog/dot_right.png" alt="">
  651. </div>
  652. </section>
  653. </div>
  654. <div class="process">
  655. <img class="house_img" src="/img/blog/house.png" alt="" data-aos="fade-in" data-aos-duration="3000">
  656. <img class="star_green" src="/img/blog/star_green.png" alt="" data-aos="fade-in" data-aos-duration="3000">
  657. <img class="star_yellow" src="/img/blog/star_yellow.png" alt="" data-aos="fade-in" data-aos-duration="3000">
  658. <div class="container process_mb">
  659. <div class="row w-100">
  660. <div class="col-6">
  661. <section style="position: relative;">
  662. <img src="/img/blog/icon/step01.png" alt="" data-gt-target="#blogTag_mb_01" data-gt-duration="500"
  663. data-gt-offset="0">
  664. <span>
  665. <img src="/img/blog/number/01.png" alt="">
  666. </span>
  667. <h4>預售屋客變</h4>
  668. </section>
  669. <span class="dot_mb"></span>
  670. <div class="mb_line_01"></div>
  671. </div>
  672. <div class="col-6">
  673. <section>
  674. <img src="/img/blog/icon/step02.png" alt="" data-gt-target="#blogTag_mb_02" data-gt-duration="500"
  675. data-gt-offset="0">
  676. <span>
  677. <img src="/img/blog/number/02.png" alt="">
  678. </span>
  679. <h4>驗收交屋</h4>
  680. </section>
  681. <div class="mb_line_02"></div>
  682. </div>
  683. <div class="col-6">
  684. <section>
  685. <img src="/img/blog/icon/step03.png" alt="" data-gt-target="#blogTag_mb_03" data-gt-duration="500"
  686. data-gt-offset="0">
  687. <span>
  688. <img src="/img/blog/number/03.png" alt="">
  689. </span>
  690. <h4>預算準備</h4>
  691. </section>
  692. <div class="mb_line_01"></div>
  693. </div>
  694. <div class="col-6">
  695. <section>
  696. <img src="/img/blog/icon/step04.png" alt="" data-gt-target="#blogTag_mb_04" data-gt-duration="500"
  697. data-gt-offset="0">
  698. <span>
  699. <img src="/img/blog/number/04.png" alt="">
  700. </span>
  701. <h4>認識裝修裝潢</h4>
  702. </section>
  703. <div class="mb_line_02"></div>
  704. </div>
  705. <div class="col-6">
  706. <section style="margin-right: 0; position: relative;">
  707. <img src="/img/blog/icon/step05.png" alt="" data-gt-target="#blogTag_mb_05" data-gt-duration="500"
  708. data-gt-offset="0">
  709. <span>
  710. <img src="/img/blog/number/05.png" alt="">
  711. </span>
  712. <h4>空間計畫</h4>
  713. </section>
  714. <div class="mb_line_01"></div>
  715. </div>
  716. <div class="col-6">
  717. <section>
  718. <img src="/img/blog/icon/step06.png" alt="" data-gt-target="#blogTag_mb_06" data-gt-duration="500"
  719. data-gt-offset="0">
  720. <span>
  721. <img src="/img/blog/number/06.png" alt="">
  722. </span>
  723. <h4>居家風格</h4>
  724. </section>
  725. <div class="mb_line_02"></div>
  726. </div>
  727. <div class="col-6 mb-0">
  728. <section>
  729. <img src="/img/blog/icon/step07.png" alt="" data-gt-target="#blogTag_mb_07" data-gt-duration="500"
  730. data-gt-offset="0">
  731. <span>
  732. <img src="/img/blog/number/07.png" alt="">
  733. </span>
  734. <h4>家具家電</h4>
  735. </section>
  736. <div class="mb_line_01"></div>
  737. </div>
  738. <div class="col-6 mb-0">
  739. <section style="margin-right: 0;">
  740. <img src="/img/blog/icon/step08.png" alt="" data-gt-target="#blogTag_mb_08" data-gt-duration="500"
  741. data-gt-offset="0">
  742. <span>
  743. <img src="/img/blog/number/08.png" alt="">
  744. </span>
  745. <h4>驗收入住</h4>
  746. </section>
  747. </div>
  748. </div>
  749. </div>
  750. </div>
  751. <div class="article_list">
  752. <div class="row gx-5 align-items-center article_item">
  753. <div class="col-12" data-aos="fade-in" data-aos-duration="1000" id="blogTag_mb_01">
  754. <section class="img_box">
  755. <img src="/img/blog/step1.png" alt="">
  756. <img src="/img/blog/number/01.png" alt="">
  757. </section>
  758. </div>
  759. <div class="col-12">
  760. <section class="text_box">
  761. <h4>
  762. <span>第 1 步:</span>預售屋客變
  763. </h4>
  764. <ul>
  765. {{ $t := $.Site.GetPage "/blog" }}
  766. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "預售屋客變") }}
  767. <li>
  768. <div class="blog_img">
  769. <a href="{{ .Params.url }}">
  770. <span>
  771. <img src="{{ .Params.image }}" alt="">
  772. </span>
  773. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  774. </a>
  775. </div>
  776. <div class="blog_text">
  777. <h5>
  778. <a href="{{ .Params.url }}">{{ .Title }}</a>
  779. <span></span>
  780. </h5>
  781. <a href="{{ .Params.url }}">
  782. <p>
  783. {{ .Params.description }}
  784. </p>
  785. </a>
  786. </div>
  787. </li>
  788. <li>
  789. <span class="divider-mb">
  790. <img src="/img/blog/line_mb.svg" alt="">
  791. </span>
  792. </li>
  793. {{ end }}
  794. </ul>
  795. <!-- 如有三篇文章需顯示按鈕 -->
  796. {{ $t := $.Site.GetPage "/blog" }}
  797. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "預售屋客變") }}
  798. {{ if (eq $index 2) }}
  799. <div class="btn_box">
  800. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  801. <p>閱讀更多</p>
  802. <img src="/img/blog/readmore.svg" alt="">
  803. </a>
  804. <span></span>
  805. </div>
  806. {{ end }}
  807. {{ end }}
  808. </section>
  809. </div>
  810. <span class="mobile_line">
  811. <img src="/img/blog/mobile_line.png" alt="">
  812. </span>
  813. <!-- 02 -->
  814. <div class="col-12" data-aos="fade-in" data-aos-duration="1000" id="blogTag_mb_02">
  815. <section class="img_box">
  816. <img src="/img/blog/step2.png" alt="">
  817. <img src="/img/blog/number/02.png" alt="">
  818. </section>
  819. </div>
  820. <div class="col-12">
  821. <section class="text_box">
  822. <h4>
  823. <span>第 2 步:</span>驗收交屋
  824. </h4>
  825. <ul>
  826. {{ $t := $.Site.GetPage "/blog" }}
  827. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "驗收交屋") }}
  828. <li>
  829. <div class="blog_img">
  830. <a href="{{ .Params.url }}">
  831. <span>
  832. <img src="{{ .Params.image }}" alt="">
  833. </span>
  834. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  835. </a>
  836. </div>
  837. <div class="blog_text">
  838. <h5>
  839. <a href="{{ .Params.url }}">{{ .Title }}</a>
  840. <span></span>
  841. </h5>
  842. <a href="{{ .Params.url }}">
  843. <p>
  844. {{ .Params.description }}
  845. </p>
  846. </a>
  847. </div>
  848. </li>
  849. <li>
  850. <span class="divider-mb">
  851. <img src="/img/blog/line_mb.svg" alt="">
  852. </span>
  853. </li>
  854. {{ end }}
  855. </ul>
  856. {{ $t := $.Site.GetPage "/blog" }}
  857. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "驗收交屋") }}
  858. {{ if (eq $index 2) }}
  859. <div class="btn_box">
  860. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  861. <p>閱讀更多</p>
  862. <img src="/img/blog/readmore.svg" alt="">
  863. </a>
  864. <span></span>
  865. </div>
  866. {{ end }}
  867. {{ end }}
  868. </section>
  869. </div>
  870. <span class="mobile_line">
  871. <img src="/img/blog/mobile_line.png" alt="">
  872. </span>
  873. <!-- 03 -->
  874. <div class="col-12" data-aos="fade-in" data-aos-duration="1000" id="blogTag_mb_03">
  875. <section class="img_box">
  876. <img src="/img/blog/step3.png" alt="">
  877. <img src="/img/blog/number/03.png" alt="">
  878. </section>
  879. </div>
  880. <div class="col-12">
  881. <section class="text_box">
  882. <h4>
  883. <span>第 3 步:</span>預算準備
  884. </h4>
  885. <ul>
  886. {{ $t := $.Site.GetPage "/blog" }}
  887. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "預算準備") }}
  888. <li>
  889. <div class="blog_img">
  890. <a href="{{ .Params.url }}">
  891. <span>
  892. <img src="{{ .Params.image }}" alt="">
  893. </span>
  894. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  895. </a>
  896. </div>
  897. <div class="blog_text">
  898. <h5>
  899. <a href="{{ .Params.url }}">{{ .Title }}</a>
  900. <span></span>
  901. </h5>
  902. <a href="{{ .Params.url }}">
  903. <p>
  904. {{ .Params.description }}
  905. </p>
  906. </a>
  907. </div>
  908. </li>
  909. <li>
  910. <span class="divider-mb">
  911. <img src="/img/blog/line_mb.svg" alt="">
  912. </span>
  913. </li>
  914. {{ end }}
  915. </ul>
  916. {{ $t := $.Site.GetPage "/blog" }}
  917. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "預算準備") }}
  918. {{ if (eq $index 2) }}
  919. <div class="btn_box">
  920. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  921. <p>閱讀更多</p>
  922. <img src="/img/blog/readmore.svg" alt="">
  923. </a>
  924. <span></span>
  925. </div>
  926. {{ end }}
  927. {{ end }}
  928. </section>
  929. </div>
  930. <span class="mobile_line">
  931. <img src="/img/blog/mobile_line.png" alt="">
  932. </span>
  933. <!-- 04 -->
  934. <div class="col-12" data-aos="fade-in" data-aos-duration="1000" id="blogTag_mb_04">
  935. <section class="img_box">
  936. <img src="/img/blog/step4.png" alt="">
  937. <img src="/img/blog/number/04.png" alt="">
  938. </section>
  939. </div>
  940. <div class="col-12">
  941. <section class="text_box">
  942. <h4>
  943. <span>第 4 步:</span>認識裝修裝潢
  944. </h4>
  945. <ul>
  946. {{ $t := $.Site.GetPage "/blog" }}
  947. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "認識裝修裝潢") }}
  948. <li>
  949. <div class="blog_img">
  950. <a href="{{ .Params.url }}">
  951. <span>
  952. <img src="{{ .Params.image }}" alt="">
  953. </span>
  954. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  955. </a>
  956. </div>
  957. <div class="blog_text">
  958. <h5>
  959. <a href="{{ .Params.url }}">{{ .Title }}</a>
  960. <span></span>
  961. </h5>
  962. <a href="{{ .Params.url }}">
  963. <p>
  964. {{ .Params.description }}
  965. </p>
  966. </a>
  967. </div>
  968. </li>
  969. <li>
  970. <span class="divider-mb">
  971. <img src="/img/blog/line_mb.svg" alt="">
  972. </span>
  973. </li>
  974. {{ end }}
  975. </ul>
  976. {{ $t := $.Site.GetPage "/blog" }}
  977. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "認識裝修裝潢") }}
  978. {{ if (eq $index 2) }}
  979. <div class="btn_box">
  980. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  981. <p>閱讀更多</p>
  982. <img src="/img/blog/readmore.svg" alt="">
  983. </a>
  984. <span></span>
  985. </div>
  986. {{ end }}
  987. {{ end }}
  988. </section>
  989. </div>
  990. <span class="mobile_line">
  991. <img src="/img/blog/mobile_line.png" alt="">
  992. </span>
  993. <!-- 05 -->
  994. <div class="col-12" data-aos="fade-in" data-aos-duration="1000" id="blogTag_mb_05">
  995. <section class="img_box">
  996. <img src="/img/blog/step5.png" alt="">
  997. <img src="/img/blog/number/05.png" style="top: -40px;" alt="">
  998. </section>
  999. </div>
  1000. <div class="col-12">
  1001. <section class="text_box">
  1002. <h4>
  1003. <span>第 5 步:</span>空間計畫
  1004. </h4>
  1005. <ul>
  1006. {{ $t := $.Site.GetPage "/blog" }}
  1007. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "空間計畫") }}
  1008. <li>
  1009. <div class="blog_img">
  1010. <a href="{{ .Params.url }}">
  1011. <span>
  1012. <img src="{{ .Params.image }}" alt="">
  1013. </span>
  1014. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  1015. </a>
  1016. </div>
  1017. <div class="blog_text">
  1018. <h5>
  1019. <a href="{{ .Params.url }}">{{ .Title }}</a>
  1020. <span></span>
  1021. </h5>
  1022. <a href="{{ .Params.url }}">
  1023. <p>
  1024. {{ .Params.description }}
  1025. </p>
  1026. </a>
  1027. </div>
  1028. </li>
  1029. <li>
  1030. <span class="divider-mb">
  1031. <img src="/img/blog/line_mb.svg" alt="">
  1032. </span>
  1033. </li>
  1034. {{ end }}
  1035. </ul>
  1036. {{ $t := $.Site.GetPage "/blog" }}
  1037. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "空間計畫") }}
  1038. {{ if (eq $index 2) }}
  1039. <div class="btn_box">
  1040. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  1041. <p>閱讀更多</p>
  1042. <img src="/img/blog/readmore.svg" alt="">
  1043. </a>
  1044. <span></span>
  1045. </div>
  1046. {{ end }}
  1047. {{ end }}
  1048. </section>
  1049. </div>
  1050. <span class="mobile_line">
  1051. <img src="/img/blog/mobile_line.png" alt="">
  1052. </span>
  1053. <!-- 06 -->
  1054. <div class="col-12" data-aos="fade-in" data-aos-duration="1000" id="blogTag_mb_06">
  1055. <section class="img_box">
  1056. <img src="/img/blog/step6.png" alt="">
  1057. <img src="/img/blog/number/06.png" alt="">
  1058. </section>
  1059. </div>
  1060. <div class="col-12">
  1061. <section class="text_box">
  1062. <h4>
  1063. <span>第 6 步:</span>居家風格
  1064. </h4>
  1065. <ul>
  1066. {{ $t := $.Site.GetPage "/blog" }}
  1067. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "居家風格") }}
  1068. <li>
  1069. <div class="blog_img">
  1070. <a href="{{ .Params.url }}">
  1071. <span>
  1072. <img src="{{ .Params.image }}" alt="">
  1073. </span>
  1074. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  1075. </a>
  1076. </div>
  1077. <div class="blog_text">
  1078. <h5>
  1079. <a href="{{ .Params.url }}">{{ .Title }}</a>
  1080. <span></span>
  1081. </h5>
  1082. <a href="{{ .Params.url }}">
  1083. <p>
  1084. {{ .Params.description }}
  1085. </p>
  1086. </a>
  1087. </div>
  1088. </li>
  1089. <li>
  1090. <span class="divider-mb">
  1091. <img src="/img/blog/line_mb.svg" alt="">
  1092. </span>
  1093. </li>
  1094. {{ end }}
  1095. </ul>
  1096. {{ $t := $.Site.GetPage "/blog" }}
  1097. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "居家風格") }}
  1098. {{ if (eq $index 2) }}
  1099. <div class="btn_box">
  1100. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  1101. <p>閱讀更多</p>
  1102. <img src="/img/blog/readmore.svg" alt="">
  1103. </a>
  1104. <span></span>
  1105. </div>
  1106. {{ end }}
  1107. {{ end }}
  1108. </section>
  1109. </div>
  1110. <span class="mobile_line">
  1111. <img src="/img/blog/mobile_line.png" alt="">
  1112. </span>
  1113. <!-- 07 -->
  1114. <div class="col-12" data-aos="fade-in" data-aos-duration="1000" id="blogTag_mb_07">
  1115. <section class="img_box">
  1116. <img src="/img/blog/step7.png" alt="">
  1117. <img src="/img/blog/number/07.png" style="top: -40px;" alt="">
  1118. </section>
  1119. </div>
  1120. <div class="col-12">
  1121. <section class="text_box">
  1122. <h4>
  1123. <span>第 7 步:</span>家具家電
  1124. </h4>
  1125. <ul>
  1126. {{ $t := $.Site.GetPage "/blog" }}
  1127. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "家具家電") }}
  1128. <li>
  1129. <div class="blog_img">
  1130. <a href="{{ .Params.url }}">
  1131. <span>
  1132. <img src="{{ .Params.image }}" alt="">
  1133. </span>
  1134. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  1135. </a>
  1136. </div>
  1137. <div class="blog_text">
  1138. <h5>
  1139. <a href="{{ .Params.url }}">{{ .Title }}</a>
  1140. <span></span>
  1141. </h5>
  1142. <a href="{{ .Params.url }}">
  1143. <p>
  1144. {{ .Params.description }}
  1145. </p>
  1146. </a>
  1147. </div>
  1148. </li>
  1149. <li>
  1150. <span class="divider-mb">
  1151. <img src="/img/blog/line_mb.svg" alt="">
  1152. </span>
  1153. </li>
  1154. {{ end }}
  1155. </ul>
  1156. {{ $t := $.Site.GetPage "/blog" }}
  1157. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "家具家電") }}
  1158. {{ if (eq $index 2) }}
  1159. <div class="btn_box">
  1160. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  1161. <p>閱讀更多</p>
  1162. <img src="/img/blog/readmore.svg" alt="">
  1163. </a>
  1164. <span></span>
  1165. </div>
  1166. {{ end }}
  1167. {{ end }}
  1168. </section>
  1169. </div>
  1170. <span class="mobile_line">
  1171. <img src="/img/blog/mobile_line.png" alt="">
  1172. </span>
  1173. <!-- 08 -->
  1174. <div class="col-12" data-aos="fade-in" data-aos-duration="1000" id="blogTag_mb_08">
  1175. <section class="img_box">
  1176. <img src="/img/blog/step8.png" alt="">
  1177. <img src="/img/blog/number/08.png" alt="">
  1178. </section>
  1179. </div>
  1180. <div class="col-12">
  1181. <section class="text_box">
  1182. <h4>
  1183. <span>第 8 步:</span>驗收入住
  1184. </h4>
  1185. <ul>
  1186. {{ $t := $.Site.GetPage "/blog" }}
  1187. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "驗收入住") }}
  1188. <li>
  1189. <div class="blog_img">
  1190. <a href="{{ .Params.url }}">
  1191. <span>
  1192. <img src="{{ .Params.image }}" alt="">
  1193. </span>
  1194. <img class="point-img" src='/img/blog/points{{ add $index 1 }}.png' alt="">
  1195. </a>
  1196. </div>
  1197. <div class="blog_text">
  1198. <h5>
  1199. <a href="{{ .Params.url }}">{{ .Title }}</a>
  1200. <span></span>
  1201. </h5>
  1202. <a href="{{ .Params.url }}">
  1203. <p>
  1204. {{ .Params.description }}
  1205. </p>
  1206. </a>
  1207. </div>
  1208. </li>
  1209. <li>
  1210. <span class="divider-mb">
  1211. <img src="/img/blog/line_mb.svg" alt="">
  1212. </span>
  1213. </li>
  1214. {{ end }}
  1215. </ul>
  1216. {{ $t := $.Site.GetPage "/blog" }}
  1217. {{ range $index, $element := first 3 ( where $t.Pages "Params.categories" "驗收入住") }}
  1218. {{ if (eq $index 2) }}
  1219. <div class="btn_box">
  1220. <a href="/blog/" class="read_more" onclick="getCategories('{{ .Params.categories }}')">
  1221. <p>閱讀更多</p>
  1222. <img src="/img/blog/readmore.svg" alt="">
  1223. </a>
  1224. <span></span>
  1225. </div>
  1226. {{ end }}
  1227. {{ end }}
  1228. </section>
  1229. </div>
  1230. <!-- 暫時隱藏主題 -->
  1231. <!-- <div class="topic_list">
  1232. <img src="/img/blog/ruler.png" alt="">
  1233. <section>
  1234. <h5>熱門主題</h5>
  1235. <main>
  1236. <div class="container">
  1237. <a href="">標籤名稱</a>
  1238. <a href="">標籤名稱</a>
  1239. <a href="">標籤名稱</a>
  1240. <a href="">標籤名稱</a>
  1241. <a href="">標籤名稱</a>
  1242. <a href="">標籤名稱</a>
  1243. <a href="">標籤名稱</a>
  1244. <a href="">標籤名稱</a>
  1245. </div>
  1246. </main>
  1247. </section>
  1248. </div> -->
  1249. </div>
  1250. </div>
  1251. </div>
  1252. <div class="reserve">
  1253. <a href="https://ocard.co/q?s=mV8ggl&qtk=LmybMx&_ga=2.252447817.1761930027.1658133789-1993023897.1656902976">
  1254. <img src="/img/home/線上預約icon.png" alt="">
  1255. </a>
  1256. </div>
  1257. </div>
  1258. {{ partial "footer.html" . }}
  1259. {{ partial "scripts.html" . }}
  1260. <script>
  1261. let domHeight = $('.process_mb').height();
  1262. let windowWidth = $(window).width();
  1263. let x = windowWidth / 2.4;
  1264. let y = domHeight * (110 / 693.38);
  1265. let callState = true;
  1266. const dotDom = document.querySelector(".dot_mb");
  1267. function dotAnimate(x, y) {
  1268. callState = true;
  1269. const keyFrames = document.createElement("style");
  1270. const dotKeyFrames = `
  1271. @keyframes dot_mb {
  1272. 0% {
  1273. transform: 'translate(0, 5px)';
  1274. }
  1275. 10% {
  1276. transform: translate(${x}px, 5px);
  1277. }
  1278. 15% {
  1279. transform: translate(${x}px, ${y}px);
  1280. }
  1281. 25% {
  1282. transform: translate(-13px, ${y}px);
  1283. }
  1284. 30% {
  1285. transform: translate(-13px, ${y * 1.727}px);
  1286. }
  1287. 40% {
  1288. transform: translate(${x}px, ${y * 1.727}px);
  1289. }
  1290. 45% {
  1291. transform: translate(${x}px, ${y * 2.68}px);
  1292. }
  1293. 55% {
  1294. transform: translate(-13px, ${y * 2.68}px);
  1295. }
  1296. 60% {
  1297. transform: translate(-13px, ${y * 3.4}px);
  1298. }
  1299. 70% {
  1300. transform: translate(${x}px, ${y * 3.4}px);
  1301. }
  1302. 75% {
  1303. transform: translate(${x}px, ${y * 4.35}px);
  1304. }
  1305. 85% {
  1306. transform: translate(-13px, ${y * 4.35}px);
  1307. }
  1308. 90% {
  1309. transform: translate(-13px, ${y * 5.08}px);
  1310. }
  1311. 100% {
  1312. transform: translate(${x}px, ${y * 5.08}px);
  1313. }
  1314. }
  1315. .dot_mb::before {
  1316. animation: dot_mb 8s infinite;
  1317. }
  1318. `;
  1319. keyFrames.innerHTML = dotKeyFrames;
  1320. let oldStyle = document.querySelector('style');
  1321. // 如已有 style 則直接覆蓋
  1322. if (!oldStyle) {
  1323. dotDom.appendChild(keyFrames);
  1324. } else {
  1325. dotDom.replaceChild(keyFrames, oldStyle);
  1326. }
  1327. /* 以下 animate() 方法 iOS 不支援 */
  1328. // const dotPosition = [
  1329. // {
  1330. // transform: 'translate(0, 5px)'
  1331. // },
  1332. // {
  1333. // transform: `translate(${x}px, 5px)`
  1334. // },
  1335. // , {
  1336. // transform: `translate(${x}px, ${y}px)`
  1337. // }
  1338. // , {
  1339. // transform: `translate(-13px, ${y}px)`
  1340. // }
  1341. // , {
  1342. // // (110 + 80) / 110
  1343. // transform: `translate(-13px, ${y * 1.727}px)`
  1344. // }
  1345. // , {
  1346. // transform: `translate(${x}px, ${y * 1.727}px)`
  1347. // }
  1348. // , {
  1349. // // (190 + 110) / 110
  1350. // transform: `translate(${x}px, ${y * 2.68}px)`
  1351. // }
  1352. // , {
  1353. // transform: `translate(-13px, ${y * 2.68}px)`
  1354. // }
  1355. // , {
  1356. // // (275 + 110) / 110
  1357. // transform: `translate(-13px, ${y * 3.4}px)`
  1358. // }
  1359. // , {
  1360. // transform: `translate(${x}px, ${y * 3.4}px)`
  1361. // }
  1362. // , {
  1363. // // (380 + 110) / 110
  1364. // transform: `translate(${x}px, ${y * 4.35}px)`
  1365. // }
  1366. // , {
  1367. // transform: `translate(-13px, ${y * 4.35}px)`
  1368. // }
  1369. // , {
  1370. // // (550 + 110) / 110
  1371. // transform: `translate(-13px, ${y * 5.08}px)`
  1372. // }
  1373. // , {
  1374. // transform: `translate(${x}px, ${y * 5.08}px)`
  1375. // }
  1376. // ];
  1377. // // 動畫時間
  1378. // const dotTiming = {
  1379. // duration: 8000,
  1380. // iterations: Infinity
  1381. // }
  1382. // dotDom.animate(dotPosition, dotTiming);
  1383. }
  1384. // 於手機尺寸開始動畫
  1385. if ($(window).width() < 576) {
  1386. dotAnimate(x, y);
  1387. }
  1388. if (callState) {
  1389. addEventListener('resize', (event) => {
  1390. console.log('call');
  1391. if ($(window).width() < 576 && callState) {
  1392. // 避免重複 call function
  1393. callState = false;
  1394. const stopStyle = document.createElement("style");
  1395. // 尺寸改變後動畫重新開始
  1396. const stopKeyFrames = `
  1397. .dot_mb::before {
  1398. animation: none;
  1399. }
  1400. `;
  1401. stopStyle.innerHTML = stopKeyFrames;
  1402. let oldStyle = document.querySelector('style');
  1403. dotDom.replaceChild(stopStyle, oldStyle);
  1404. setTimeout(() => {
  1405. // 縮放畫面時重新取得x、y軸
  1406. const x1 = $(window).width() / 2.4;
  1407. const y1 = $('.process_mb').height() * (110 / 693.38);
  1408. dotAnimate(x1, y1);
  1409. }, 1000);
  1410. }
  1411. });
  1412. }
  1413. </script>
  1414. </body>
  1415. </html>