ss
jiangping
2025-07-07 9e1e058b057fc6ef0a9baf636f230c21f1282797
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>动态详情</title>
    <link rel="stylesheet" href="./assets/common.css">
    <link rel="stylesheet" href="./assets/dynamics_details.css">
    <link rel="stylesheet" href="./assets/animate.css">
    <link rel="stylesheet" href="./assets/animate.min.css">
    <link rel="stylesheet" href="./assets/swiper.css">
    <script src="./js/jquery.js"></script>
    <script src="./js/swiper.js"></script>
    <script src="./js/dynamics_details.js"></script>
    <script src="./js/selectFilter.js"></script>
    <link rel="stylesheet" href="./assets/selectFilter.css">
</head>
<body>
    <div class="index">
        <div id="header">
            <div class="nav">
                <div class="nav-logo">
                    <img src="./assets/images/top_logo@2x.png" alt="logo">
                </div>
                <ul>
                    <li>
                        <a href="./index.html">首页</a>
                    </li>
                    <li>
                        <a href="./intelligent_system.html">智慧系统</a>
                    </li>
                    <li>
                        <a href="./solution.html">解决方案</a>
                    </li>
                    <li>
                        <a href="./alot.html">Alot物联</a>
                    </li>
                    <li>
                        <a href="./dynamics.html">最新动态</a>
                        <div class="underline"></div>
                    </li>
                    <li>
                        <a href="./about.html">关于我们</a>
                    </li>
                    <li>
                        <a href="./about.html#section1">渠道合作</a>
                    </li>
                </ul>
                <a href="./about.html#section1" class="nav-btn">免费试用</a>
            </div>
        </div>
        <div style="width: 100%; height: 70px;"></div>
        <div class="index-a">
            <span class="index-a-tips">最新动态</span>
            <span class="index-a-go"> > </span>
            <span class="index-a-tips1">文章详情</span>
        </div>
        <div class="index-a-info">
            <div class="index-a-info-title"></div>
            <div class="index-a-info-date"></div>
            <div class="index-a-info-x"></div>
            <div class="index-a-info-content"></div>
        </div>
        <div id="footer"></div>
    </div>
    <script type="text/javascript">
        let url = 'http://121.41.112.139:8099'
 
        function getParameterByName(name, url) {
            if (!url) url = window.location.href;
            name = name.replace(/[\[\]]/g, "\\$&");
            var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
                results = regex.exec(url);
            if (!results) return null;
            if (!results[2]) return '';
            return decodeURIComponent(results[2].replace(/\+/g, " "));
        }
 
        // 获取首页轮播图
        $.ajax({
            async: false,
            url: url + '/dmttwebsite/web/api/informationDetail?id=' + getParameterByName('id'),
            type: 'get',
            contentType: "application/json",
            success: function (res) {
                console.log(res)
                $('.index-a-info-title').text(res.data.title)
                $('.index-a-info-date').text(res.data.releaseDate)
                $('.index-a-info-content').html(res.data.content)
            }
        })
    </script>
</body>
</html>