<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>宝智达冷链官网</title>
        <meta content="width=device-width, initial-scale=1.0" name="viewport">
        <meta content="" name="keywords">
        <meta content="" name="description">
        <meta content="Author" name="WebThemez">
        <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
        <!-- Favicons -->
        <link href="../static/img/favicon.png" rel="icon">
        <link href="../static/img/apple-touch-icon.png" rel="apple-touch-icon">
        <link href="/static/layui/css/layui.css" rel="stylesheet">

        <!--字体 -->
        <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"
            rel="stylesheet">

        <!-- Bootstrap CSS File -->
        <link href="../static/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">


        <!-- Libraries CSS Files -->
        <link href="../static/lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
        <link href="../static/lib/animate/animate.min.css" rel="stylesheet">
        <link href="../static/lib/ionicons/css/ionicons.min.css" rel="stylesheet">
        <link href="../static/lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
        <link href="../static/lib/magnific-popup/magnific-popup.css" rel="stylesheet">
        <link href="../static/lib/ionicons/css/ionicons.min.css" rel="stylesheet">

        <!-- Main Stylesheet File -->
        <link href="../static/css/style.css" rel="stylesheet">
    </head>

    <body id="body">
        <header id="header">
            <div class="container">
                <div id="logo" class="pull-left">
                    <img src="../static/img/favicon.png" alt="Logo" class="logo-image"/>
                    <h1><a href="/" class="scrollto"><span></span>宝智达冷链</a></h1>
                </div>
                <nav id="nav-menu-container">
                    <ul class="layui-nav layui-bg-gray">
                        <li class="layui-nav-item"><a href="/">首页</a></li>
                        <li class="layui-nav-item"><a href="/about">关于我们</a></li>
                        <li class="layui-nav-item">
                            <a href="/news?types=industry">新闻</a>
                            <dl class="layui-nav-child">
                                <dd><a href="/news?types=firm">公司新闻</a></dd>
                                <dd><a href="/news?types=industry">行业新闻</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="/services/">服务介绍</a></li>
                        <li class="layui-nav-item">
                            <a href="/product?ptype={{.productFirst}}">产品介绍</a>
                            <dl class="layui-nav-child">
                                {{range .productType}}
                                <dd><a href="/product?ptype={{.Name}}">{{.Name}}</a></dd>
                                {{end}}
                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="/recruit">全国代理招募</a></li>
                        <li class="layui-nav-item"><a href="/contact">联系我们</a></li>
                    </ul>
                </nav>
            </div>
        </header>
        <!--==========================
Page Banner Section
        ============================-->
        <section id="innerBanner">
            <div class="inner-content">
                <h2><span>产品介绍</span><br></h2>
                <div>
                </div>
            </div>
        </section><!-- #Page Banner -->
        <!--<div class="layui-carousel" id="ID-carousel-demo-2">-->
        <!--    <div carousel-item>-->
        <!--        <div>-->
        <!--            <div>-->
        <!--                <div class="layui-container">-->
        <!--                    <div class="layui-row layui-col-space15">-->
        <!--                        <div class="layui-col-md12">-->
        <!--                            <h5 class="layui-carousel-title layui-text-center">管理效率</h5>-->
        <!--                        </div>-->
        <!--                    </div>-->
        <!--                    <div class="layui-row layui-col-space15">-->
        <!--                        <div class="layui-col-md4">-->
        <!--                            <div class="layui-card layadmin-card-demo">-->
        <!--                                <div class="layui-card-header">3D可视化平台</div>-->
        <!--                                <div class="layui-card-body layui-padding">-->
        <!--                                    <div class="layui-count-num" data-target="123" id="dvisualization_platform">0</div>-->
        <!--                                </div>-->
        <!--                            </div>-->
        <!--                        </div>-->
        <!--                        <div class="layui-col-md4">-->
        <!--                            <div class="layui-card layadmin-card-demo">-->
        <!--                                <div class="layui-card-header">大数据管理平台</div>-->
        <!--                                <div class="layui-card-body layui-padding">-->
        <!--                                    <div class="layui-count-num" data-target="123" id="big_data_management_platform">0-->
        <!--                                    </div>-->
        <!--                                </div>-->
        <!--                            </div>-->
        <!--                        </div>-->
        <!--                        <div class="layui-col-md4">-->
        <!--                            <div class="layui-card layadmin-card-demo">-->
        <!--                                <div class="layui-card-header">冷链系列培训</div>-->
        <!--                                <div class="layui-card-body layui-padding">-->
        <!--                                    <div class="layui-count-num" data-target="123" id="cold_chain_training">0</div>-->
        <!--                                </div>-->
        <!--                            </div>-->
        <!--                        </div>-->
        <!--                        <div class="layui-col-md4">-->
        <!--                            <div class="layui-card layadmin-card-demo">-->
        <!--                                <div class="layui-card-header">保温箱安全平台</div>-->
        <!--                                <div class="layui-card-body layui-padding">-->
        <!--                                    <div class="layui-count-num" data-target="123" id="incubator_safety_platform">0-->
        <!--                                    </div>-->
        <!--                                </div>-->
        <!--                            </div>-->
        <!--                        </div>-->
        <!--                        <div class="layui-col-md4">-->
        <!--                            <div class="layui-card layadmin-card-demo">-->
        <!--                                <div class="layui-card-header">冷藏车安全平台</div>-->
        <!--                                <div class="layui-card-body layui-padding">-->
        <!--                                    <div class="layui-count-num" data-target="123"-->
        <!--                                         id="safety_platform_for_refrigerated_trucks">0-->
        <!--                                    </div>-->
        <!--                                </div>-->
        <!--                            </div>-->
        <!--                        </div>-->
        <!--                        <div class="layui-col-md4">-->
        <!--                            <div class="layui-card layadmin-card-demo">-->
        <!--                                <div class="layui-card-header">售后预警服务</div>-->
        <!--                                <div class="layui-card-body layui-padding">-->
        <!--                                    <div class="layui-count-num" data-target="123"-->
        <!--                                         id="after_sales_early_warning_service">0-->
        <!--                                    </div>-->
        <!--                                </div>-->
        <!--                            </div>-->
        <!--                        </div>-->
        <!--                        &lt;!&ndash; 其他卡片重复代码... &ndash;&gt;-->
        <!--                    </div>-->
        <!--                </div>-->
        <!--            </div>-->
        <!--        </div>-->
        <!--    </div>-->
        <!--</div>-->
        <main id="main">
            <section id="services" style="margin: -40px">
                <div class="container">
                    <div class="btn-group" role="group" aria-label="Basic outlined example">
                        {{range .productType}}
                        <button type="button" class="btn btn-outline-primary btn-lg" onclick="location.href = 'product?ptype={{.Name}}'">
                            {{.Name}}
                        </button>
                        {{end}}
                    </div>
                    <div class="row">
                        {{range .Products}}
                        <div class="col-lg-4" style="padding: 20px;" onclick="location.href='product/{{.ID}}'">
                            <div class="box wow fadeInLeft" style="background-color: #fff; border: 1px solid #eee; padding: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); width: 100%; height: 300px; display: flex; flex-direction: column; justify-content: space-between;">
                                <div class="icon svgImg" style="height: 150px; overflow: hidden;">
                                    <img src="{{.Url}}" alt="" style="width: 100%; height: 100%; object-fit: contain;">
                                </div>
                                <h4 class="title" style="margin-top: 10px;"><a href="product/{{.ID}}" style="color: #333; text-decoration: none;">{{.Title}}</a></h4>
                                <p class="description" style="color: #666; margin-top: 5px;">{{.Synopsis}}</p>
                            </div>
                        </div>
                        {{end}}
                </div>
            </section><!-- #services -->

            <!--==========================
Clients Section
            ============================-->
            <section id="clients" class="wow fadeInUp">
                <div class="container">
                    <div class="section-header">
                        <h2>部分合作案例</h2>
                    </div>
                    <div class="owl-carousel clients-carousel">
                        {{range $index,$exam:=.example}}
                        <img src="{{$exam}}" alt="..." style="max-width: 100%; height: auto">
                        {{end}}
                    </div>
                </div>
            </section><!-- #clients -->


            <!--==========================
Call To Action Section
            ============================-->
            <section id="call-to-action" class="wow fadeInUp">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-9 text-center text-lg-left">
                            <h3 class="cta-title">获取我们的服务</h3>
                            <p class="cta-text">
                                欢迎随时与我们联系！无论您有关于产品的问题，需要技术支持，或是想要探讨合作机会，我们的团队都乐意为您提供帮助</p>
                        </div>
                        <div class="col-lg-3 cta-btn-container text-center">
                            <a class="cta-btn align-middle" href="/contact">联系我们</a>
                        </div>
                    </div>

                </div>
            </section><!-- #call-to-action -->

        </main>

        <!--==========================
Footer
        ============================-->
        <footer id="footer">
            <div class="container">
                <div class="copyright">
                    Copyright &copy; 2018.Company name All rights reserved.<a target="_blank"
                                                                              href="http://sc.chinaz.com/moban/">&#x7F51;&#x9875;&#x6A21;&#x677F;</a>
                </div>
                <div class="credits">
                </div>
            </div>
        </footer><!-- #footer -->

        <a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a>

        <!-- JavaScript  -->
        <script src="../static/lib/jquery/jquery.min.js"></script>
        <script src="../static/lib/jquery/jquery-migrate.min.js"></script>
        <script src="../static/lib/bootstrap/js/bootstrap.bundle.min.js"></script>
        <script src="../static/lib/easing/easing.min.js"></script>
        <script src="../static/lib/superfish/hoverIntent.js"></script>
        <script src="../static/lib/superfish/superfish.min.js"></script>
        <script src="../static/lib/wow/wow.min.js"></script>
        <script src="../static/lib/owlcarousel/owl.carousel.min.js"></script>
        <script src="../static/lib/magnific-popup/magnific-popup.min.js"></script>
        <script src="../static/lib/sticky/sticky.js"></script>
        <script src="contact/jqBootstrapValidation.js"></script>
        <script src="contact/contact_me.js"></script>
        <script src="../static/js/main.js"></script>
        <script src="/static/layui/layui.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.min.js"></script>

        <script>
            document.addEventListener('DOMContentLoaded', function () {
                var countUpElements = document.querySelectorAll('.count-up');
                countUpElements.forEach(function (element) {
                    var target = parseInt(element.getAttribute('data-target')); // 获取目标数值
                    var start = 0; // 初始值
                    var duration = 2000; // 动画持续时间，单位毫秒
                    var increment = Math.ceil(target / (duration / 16)); // 计算每16ms增加的值
                    var timer = setInterval(function () {
                        start += increment;
                        element.textContent = start; // 更新显示的数值
                        if (start > target) {
                            clearInterval(timer); // 达到或超过目标值时停止
                            element.textContent = target;
                        }
                    }, 16); // 每16ms执行一次，大约60帧/秒
                });
            });
        </script>
    </body>
</html>
