services.html 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>宝智达冷链官网</title>
  6. <meta content="width=device-width, initial-scale=1.0" name="viewport">
  7. <meta content="" name="keywords">
  8. <meta content="" name="description">
  9. <meta content="Author" name="WebThemez">
  10. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
  11. <!-- Favicons -->
  12. <link href="/static/img/favicon.png" rel="icon">
  13. <link href="/static/img/apple-touch-icon.png" rel="apple-touch-icon">
  14. <link href="../static/layui/css/layui.css" rel="stylesheet">
  15. <!--字体 -->
  16. <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Raleway:300,400,500,700,800|Montserrat:300,400,700"
  17. rel="stylesheet">
  18. <!-- Bootstrap CSS File -->
  19. <link href="/static/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  20. <!-- Libraries CSS Files -->
  21. <link href="/static/lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  22. <link href="/static/lib/animate/animate.min.css" rel="stylesheet">
  23. <link href="/static/lib/ionicons/css/ionicons.min.css" rel="stylesheet">
  24. <link href="/static/lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
  25. <link href="/static/lib/magnific-popup/magnific-popup.css" rel="stylesheet">
  26. <link href="/static/lib/ionicons/css/ionicons.min.css" rel="stylesheet">
  27. <!-- Main Stylesheet File -->
  28. <link href="/static/css/style.css" rel="stylesheet">
  29. </head>
  30. <body id="body">
  31. <!--==========================
  32. Header
  33. ============================-->
  34. <header id="header">
  35. <div class="container">
  36. <div id="logo" class="pull-left">
  37. <img src="../static/img/favicon.png" alt="Logo" class="logo-image"/>
  38. <h1><a href="/" class="scrollto"><span></span>宝智达冷链</a></h1>
  39. </div>
  40. <nav id="nav-menu-container">
  41. <ul class="layui-nav layui-bg-gray">
  42. <li class="layui-nav-item"><a href="/">首页</a></li>
  43. <li class="layui-nav-item"><a href="/about">关于我们</a></li>
  44. <li class="layui-nav-item">
  45. <a href="/news?types=industry">新闻</a>
  46. <dl class="layui-nav-child">
  47. <dd><a href="/news?types=firm">公司新闻</a></dd>
  48. <dd><a href="/news?types=industry">行业新闻</a></dd>
  49. </dl>
  50. </li>
  51. <li class="layui-nav-item"><a href="/services/">服务介绍</a></li>
  52. <li class="layui-nav-item">
  53. <a href="/product?ptype={{.productFirst}}">产品介绍</a>
  54. <dl class="layui-nav-child">
  55. {{range .productType}}
  56. <dd><a href="/product?ptype={{.Name}}">{{.Name}}</a></dd>
  57. {{end}}
  58. </dl>
  59. </li>
  60. <li class="layui-nav-item"><a href="/recruit">全国代理招募</a></li>
  61. <li class="layui-nav-item"><a href="/contact">联系我们</a></li>
  62. </ul>
  63. </nav>
  64. </div>
  65. </header>
  66. <!--==========================
  67. Page Banner Section
  68. ============================-->
  69. <section id="innerBanner">
  70. <div class="inner-content">
  71. <h2><span>服务介绍</span></h2>
  72. <div>
  73. </div>
  74. </div>
  75. </section><!-- #Page Banner -->
  76. <main id="main">
  77. <!--==========================
  78. Services Section
  79. ============================-->
  80. <section id="services">
  81. <div class="container">
  82. <div class="btn-group btn-group-lg" role="group" aria-label="Large button group">
  83. {{range .Serves}}
  84. <button type="button" class="btn btn-outline-dark" onclick="location.href='/services/{{.ID}}'">
  85. {{.Title}}
  86. </button>
  87. {{end}}
  88. </div>
  89. <div class="container" style="margin-top: 20px">
  90. <div class="section-header">
  91. <h2>{{.Serve.Title}}</h2>
  92. </div>
  93. <div class="row service-row" style="display: flex; flex-wrap: wrap; justify-content: center;">
  94. {{range .GetService}}
  95. <div class="col-lg-3 col-md-6 mb-4 service-item-container">
  96. <div class="service-item d-flex h-100" style="
  97. background-image: url('{{.Image}}');
  98. background-size: cover;
  99. background-position: center;
  100. overflow: hidden;
  101. border-radius: 8px;
  102. display: flex;
  103. justify-content: center;
  104. align-items: center;
  105. ">
  106. <div class="service-info acrylic-border p-4" style="
  107. position: relative;
  108. background-color: rgba(255, 255, 255, 0.7);
  109. backdrop-filter: blur(10px);
  110. border-radius: 8px;
  111. padding: 16px;
  112. z-index: 1;
  113. width: calc(100% - 32px);
  114. box-sizing: border-box;
  115. ">
  116. <h4 style="color: #0f7dec; text-align: center;">
  117. <a style="color: rgb(0,52,112) !important;" class="text-decoration-none text-dark"
  118. href="/services-detail/{{.ID}}">{{.Title}}</a>
  119. </h4>
  120. </div>
  121. </div>
  122. </div>
  123. {{end}}
  124. </div>
  125. </div>
  126. </div>
  127. </section>
  128. <!-- #services -->
  129. <!--==========================
  130. Clients Section
  131. ============================-->
  132. <section id="clients" class="wow fadeInUp" style="margin-top: 10px;">
  133. <div class="container">
  134. <div class="section-header">
  135. <h2>部分合作案例</h2>
  136. <!-- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores quae porro consequatur aliquam,-->
  137. <!-- incidunt fugiat culpa esse aute nulla. duis fugiat culpa esse aute nulla ipsum velit export irure-->
  138. <!-- minim illum fore</p>-->
  139. </div>
  140. <div class="owl-carousel clients-carousel">
  141. {{range $index,$exam:=.example}}
  142. <img src="{{$exam}}" alt="..." style="max-width: 100%; height: auto">
  143. {{end}}
  144. </div>
  145. </div>
  146. </section><!-- #clients -->
  147. <!--==========================
  148. Call To Action Section
  149. ============================-->
  150. <section id="call-to-action" class="wow fadeInUp">
  151. <div class="container">
  152. <div class="row">
  153. <div class="col-lg-9 text-center text-lg-left">
  154. <h3 class="cta-title">获取我们的服务</h3>
  155. <p class="cta-text">
  156. 欢迎随时与我们联系!无论您有关于产品的问题,需要技术支持,或是想要探讨合作机会,我们的团队都乐意为您提供帮助</p>
  157. </div>
  158. <div class="col-lg-3 cta-btn-container text-center">
  159. <a class="cta-btn align-middle" href="/contact">联系我们</a>
  160. </div>
  161. </div>
  162. </div>
  163. </section><!-- #call-to-action -->
  164. </main>
  165. <!--==========================
  166. Footer
  167. ============================-->
  168. <footer id="footer">
  169. <div class="container">
  170. <div class="copyright">
  171. Copyright &copy; 2018.Company name All rights reserved.<a target="_blank"
  172. href="http://sc.chinaz.com/moban/">&#x7F51;&#x9875;&#x6A21;&#x677F;</a>
  173. </div>
  174. <div class="credits">
  175. </div>
  176. </div>
  177. </footer><!-- #footer -->
  178. <a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a>
  179. <!-- JavaScript -->
  180. <script src="/static/lib/jquery/jquery.min.js"></script>
  181. <script src="/static/lib/jquery/jquery-migrate.min.js"></script>
  182. <script src="/static/lib/bootstrap/js/bootstrap.bundle.min.js"></script>
  183. <script src="/static/lib/easing/easing.min.js"></script>
  184. <script src="/static/lib/superfish/hoverIntent.js"></script>
  185. <script src="/static/lib/superfish/superfish.min.js"></script>
  186. <script src="/static/lib/wow/wow.min.js"></script>
  187. <script src="/static/lib/owlcarousel/owl.carousel.min.js"></script>
  188. <script src="/static/lib/magnific-popup/magnific-popup.min.js"></script>
  189. <script src="/static/lib/sticky/sticky.js"></script>
  190. <script src="/static/js/main.js"></script>
  191. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
  192. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.min.js"></script>
  193. <script src="../static/layui/layui.js"></script>
  194. <script type="text/javascript">
  195. document.addEventListener('DOMContentLoaded', function() {
  196. const serviceRow = document.querySelector('.service-row');
  197. const serviceItems = document.querySelectorAll('.service-item-container');
  198. function adjustLayout() {
  199. const rowWidth = serviceRow.offsetWidth;
  200. const itemWidth = serviceItems[0].offsetWidth + 16; // 16 is the margin (8px left + 8px right)
  201. const itemsPerRow = Math.floor(rowWidth / itemWidth);
  202. if (itemsPerRow >= serviceItems.length) {
  203. serviceRow.style.justifyContent = 'center';
  204. } else {
  205. serviceRow.style.justifyContent = 'flex-start';
  206. }
  207. }
  208. adjustLayout();
  209. window.addEventListener('resize', adjustLayout);
  210. });
  211. </script>
  212. </body>
  213. </html>