single.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. {{ define "main" }}
  2. <section class="bhouseweb_loc_banner d-md-none d-block">
  3. <div class="card bg-transparent text-white border-0 rounded-0">
  4. <img src="/img/bn_portfolio2x.png" class="banner-img card-img" alt="...">
  5. </div>
  6. </section>
  7. <div class="style_house_ads">
  8. <h2 class="style_house_title style_house_text m-0">{{ .Params.title }}</h2>
  9. </div>
  10. <section class="style_house_banner container-fluid px-0">
  11. <img src="{{ .Params.cover_img }}" alt="">
  12. <div class="collection_banner_text_box">
  13. <p>{{ .Params.banner_img_text }}</p>
  14. <p>{{ .Params.homeowner }}|{{ .Params.room_count }}|{{ .Params.house_size }}</p>
  15. </div>
  16. </section>
  17. <div class="style_house_content">
  18. <div class="style_house_sec01">
  19. <nav aria-label="breadcrumb">
  20. <ol class="breadcrumb mb-5">
  21. <li class="breadcrumb-item">
  22. <a href="/">
  23. <img src="/img/bt_footer_index@2x.png" style="width: 30px; margin: 0 0 5px;" alt="logo">
  24. </a>
  25. </li>
  26. <li class="breadcrumb-item"><a href="/collection/">室內設計作品</a></li>
  27. <li class="breadcrumb-item active" aria-current="page" id="category_name">{{ .Title }}</li>
  28. </ol>
  29. </nav>
  30. <div class="style_house_sec01_box">
  31. <div class="row px-0 mx-0">
  32. <div class="col-4 col-md-4">
  33. <h3 class="fw-bold">{{ .Params.house_size }}</h3>
  34. <p>權狀坪數</p>
  35. </div>
  36. <div class="col-4 col-md-4">
  37. <h3 class="fw-bold">{{ .Params.room_count }}</h3>
  38. <p>格局</p>
  39. </div>
  40. <div class="col-4 col-md-4">
  41. <h3 class="fw-bold">{{ .Params.house_cat }}</h3>
  42. <p>屋型</p>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="style_house_sec01_box">
  47. <div class="row px-0 mx-0">
  48. <div class="col-4 col-md-4">
  49. <h3 class="fw-bold">{{ .Params.loc }}</h3>
  50. <p>地區</p>
  51. </div>
  52. <div class="col-4 col-md-4">
  53. <h3 class="fw-bold">{{ .Params.construction }}</h3>
  54. <p>建案名稱</p>
  55. </div>
  56. <div class="col-4 col-md-4">
  57. <h3 class="fw-bold">{{ .Params.designer }}</h3>
  58. <p>設計師</p>
  59. </div>
  60. </div>
  61. </div>
  62. <div class="style_house_sec01_box">
  63. <div class="style_house_sec01_box-1">
  64. <div class="row px-0 mx-0">
  65. <div class="col-4 ol-md-4 d-flex align-items-end justify-content-center px-0">
  66. <div>
  67. <h3 class="fw-bold">{{ .Params.space | safeHTML}}</h3>
  68. <!-- <h3 class="fw-bold">書房 主臥</h3> -->
  69. <p>設計空間</p>
  70. </div>
  71. </div>
  72. <div class="col-8 col-md-8 d-flex align-items-end justify-content-center px-0">
  73. <div>
  74. <h3 class="fw-bold">{{ .Params.budget}}</h3>
  75. <p>總預算(含設計/裝修/裝潢/系統櫃/家具)</p>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. <hr class="style_house_line">
  84. <div class="style_house_content">
  85. <div class="style_house_sec02">
  86. <div class="style_house_sec02_content">
  87. <div class="d-flex justify-content-between align-items-center">
  88. <span></span>
  89. <div class="icon-box">
  90. <a href="" id="collection_icon_fb" target="_blank"><img src="/img/icon_fb@2x.png" alt=""></a>
  91. <a href="" id="collection_icon_line" target="_blank"><img src="/img/icon_line@2x.png" alt=""></a>
  92. </div>
  93. </div>
  94. <div class="row px-0 mx-0 mt-3">
  95. {{ if eq .Params.owner_img "" }}
  96. <div class="col-12 pe-0">
  97. <div class="sec02_content_text mt-3 mt-lg-0">
  98. <h2 class="style_house_subtitle"> {{ .Params.collection_name }}</h2>
  99. <p>
  100. {{.Params.collection_description | safeHTML }}
  101. </p>
  102. </div>
  103. </div>
  104. {{ else }}
  105. <div class="col-12 col-lg-5">
  106. <img class="img-fluid" src={{ .Params.owner_img }} alt="">
  107. </div>
  108. <div class="col-12 col-lg-7 pe-0">
  109. <div class="sec02_content_text mt-3 mt-lg-0">
  110. <h2 class="style_house_subtitle"> {{ .Params.collection_name }}</h2>
  111. <p>
  112. {{.Params.collection_description | safeHTML }}
  113. </p>
  114. </div>
  115. </div>
  116. {{ end }}
  117. </div>
  118. </div>
  119. </div>
  120. {{ if (len .Params.collection_slider) }}
  121. <hr class="style_house_line">
  122. <div class="style_house_sec02">
  123. {{ range .Params.collection_slider }}
  124. <div class="img-content">
  125. <!-- alt 若為空值則以圖說取代 -->
  126. <img class="img-fluid" src="./{{ .slide_img }}"
  127. alt="{{ with .slide_alt }}{{ . }}{{ else }}{{ .slide_text }}{{ end }}">
  128. <div class="slide_item_text">
  129. <p> {{ .slide_text }}</p>
  130. </div>
  131. </div>
  132. {{ end }}
  133. <!-- 輪播圖 -->
  134. <!-- <div id="slider-loading" class="d-flex justify-content-center mb-5">
  135. <div class="spinner-border text-success" role="status" style="color: rgba(128, 143, 76, 1) !important;">
  136. <span class="visually-hidden">Loading...</span>
  137. </div>
  138. </div> -->
  139. <!-- <div class="content" style="opacity: 0;">
  140. <div class="slider slider-for style_house_sec02_slide m-auto">
  141. {{ range .Params.collection_slider }}
  142. <div class="slide-box">
  143. <img class="img-fluid slide_single_img" src="./{{ .slide_img }}" alt="{{ .slide_alt }}">
  144. <div class="slide_item_text">
  145. <p> {{ .slide_text }}</p>
  146. </div>
  147. </div>
  148. {{ end }}
  149. </div>
  150. <div class="slider slider-nav">
  151. {{ range .Params.collection_slider }}
  152. <div class="sec02_slide_item">
  153. <img class="img-fluid slide_img" src="./{{ .slide_img }}" alt="{{.slide_alt}}">
  154. </div>
  155. {{ end }}
  156. </div>
  157. </div> -->
  158. </div>
  159. {{ end }}
  160. <hr class="style_house_line">
  161. <div class="style_house_sec03">
  162. {{ .Content }}
  163. </div>
  164. <hr class="style_house_line">
  165. <a href="/collection/">
  166. <p class="article__readMore text-center"> <span style="font-size: 18px;" class="fw-normal me-2">&lt;</span>回到成家故事案例
  167. </p>
  168. </a>
  169. </div>
  170. <hr class="style_house_line ">
  171. <div class="style_house_content home-content">
  172. <div class="style_house_sec06 container-fluid px-0">
  173. <div class="row px-0 mx-0">
  174. <div class="col-6 col-sm-6 bg-serve ps-0">
  175. <a href="/room_planner/">
  176. <div class="bg-img"></div>
  177. </a>
  178. </div>
  179. <div class="col-6 col-sm-6 bg-qa pe-0">
  180. <a href="/frequently_asked_questions/">
  181. <div class="bg-img"></div>
  182. </a>
  183. </div>
  184. </div>
  185. </div>
  186. </div>
  187. {{ end }}