| | |
| | | <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"> |
| | | <title>${seo.title!''}</title> |
| | | <meta name="description" content="${seo.remark!''}"> |
| | | <meta name="keywords" content="${seo.keywords!''}"> |
| | | <link rel="stylesheet" href="${webDomain!''}/assets/common.css"> |
| | | <link rel="stylesheet" href="${webDomain!''}/assets/dynamics_details.css"> |
| | | <link rel="stylesheet" href="${webDomain!''}/assets/animate.css"> |
| | | <link rel="stylesheet" href="${webDomain!''}/assets/animate.min.css"> |
| | | <link rel="stylesheet" href="${webDomain!''}/assets/swiper.css"> |
| | | <script src="${webDomain!''}/js/jquery.js"></script> |
| | | <script src="${webDomain!''}/js/swiper.js"></script> |
| | | <script src="${webDomain!''}/js/dynamics_details.js"></script> |
| | | <script src="${webDomain!''}/js/selectFilter.js"></script> |
| | | <link rel="stylesheet" href="${webDomain!''}/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> |
| | | <#include "/components/nav.html"> |
| | | </div> |
| | | <div style="width: 100%; height: 70px;"></div> |
| | | <div class="index-a"> |
| | |
| | | <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-title">${data.title!''}</div> |
| | | <div class="index-a-info-date">${(data.releaseDate!'')?date}</div> |
| | | <div class="index-a-info-x"></div> |
| | | <div class="index-a-info-content"></div> |
| | | <div class="index-a-info-content">${(data.content!'')}</div> |
| | | </div> |
| | | <div id="footer"></div> |
| | | <div id="footer"> <#include "/components/footer.html"></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> |