123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424 |
- <!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <link rel="shortcut icon" href="imgs/favicon.png" type="image/x-icon">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>新闻中心</title>
- <link rel="stylesheet" href="css/css.css">
- <link rel="stylesheet" type="text/css" href="css/screen.css" />
- <link rel="stylesheet" type="text/css" href="css/style.css" />
- <link rel="stylesheet" type="text/css" href="css/cc-css-tools.css" />
- <link rel="stylesheet" href="css/main.min.css">
- <link rel="stylesheet" href="js/bootstrap-3.4.1-dist/css/bootstrap.min.css">
- <script src="js/jquery3.6.min.js"></script>
- <script src="js/bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>
- <style>
- .bannerbg {
- background: url(../images/bannerbg12.png) center center no-repeat;
- background-size: 100% 100%;
- }
- .content {
- margin: 0 6.25rem 0 6.25rem;
- }
- .content-box {
- display: flex;
- justify-content: space-between;
- height: 30rem;
- }
- .box-more {
- font-size: 16px;
- color: #000000;
- font-weight: 500;
- margin-top: 50px;
- cursor: pointer;
- }
- .box-img {
- width: 48%;
- background-size: 100%;
- color: #ffffff;
- position: relative;
- }
- .bgImg1 {
- background: url(../images/news2-1.jpg) center center no-repeat;
- }
- .bgImg2 {
- background: url(../images/news3.jpg) center center no-repeat;
- }
- .top-title {
- position: absolute;
- font-size: 18px;
- top: -20px;
- width: 80px;
- height: 80px;
- background-color: #3c137c;
- padding: 15px;
- text-align: center;
- font-weight: 600;
- }
- .left {
- left: 20px;
- }
- .right {
- right: 20px;
- }
- .bottom-text {
- position: absolute;
- font-size: 16px;
- text-align: center;
- padding: 10px 0px 10px 0px;
- bottom: 0;
- width: 100%;
- background-color: rgba(0, 0, 0, 0.4);
- font-weight: 600;
- color: #ffffff;
- }
- .box-text {
- width: 48%;
- background-color: #f7f7f7;
- padding: 20px;
- }
- .text-row {
- font-size: 16px;
- line-height: 43px;
- color: #000000;
- display: flex;
- justify-content: space-between;
- align-items: center;
- cursor: pointer;
- }
- .row-left{
- width: 450px;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 1;
- }
- .m-index{
- margin: 80px 0 80px 0;
- }
- .bannerNewsTitle {
- color: #000000;
- font-weight: 500;
- text-align: left;
- margin-left: 6.25rem;
- margin-bottom: 20px;
- }
- .ban_bd li a{
- box-shadow: none !important;
- border-radius: 0% !important;
- }
- .ban_bd li .text{
- padding: 5% 0 !important;
- }
- .ban_bd li p{
- height: 100% !important;
- }
- .ban_bd li .ban-img{
- height: 250px !important;
- }
- .prevbtn{
- width: 50px !important;
- height: 100px !important;
- background: url(../images/left-arrow.png) center center no-repeat !important;
- top: 25%;
- left: -1% !important;
- }
- .nextbtn{
- width: 50px !important;
- height: 100px !important;
- background: url(../images/right-arrow.png) center center no-repeat !important;
- top: 25%;
- right: -1% !important;
- }
- </style>
- </head>
- <body>
- <div class="navbgbox">
- <div class="navbg">
- <div class="nav about_nav">
- <div style="position: relative">
- <a href="index.html" class="nav_logo">
- <img src="images/dgt_logo.png" width="171" height="70">
- </a>
- <div class="guanggao">
- <strong style="color: #999999; margin-left : -140px; font-size: 14px">智慧科技 · 神州软件</strong>
- </div>
- </div>
- <div class="nav_a">
- <a href="index.html">首页</a>
- <a href="product.html">智慧企业</a>
- <a href="wisdom.html">智慧城市</a>
- <a href="fangan.html">解决方案</a>
- <a href="technology.html">技术服务</a>
- <a href="news.html" class="cur">新闻中心</a>
- <a href="about_us.html">关于我们</a>
- <a href="contact.html">联系我们</a>
- <!-- <img width="70px" src="imgs/QRcode1.jpg" alt=""> -->
- </div>
- </div>
- </div>
- </div>
- <div class="banner">
- <div class="bannerbg">
- <div class="shade">
- <div class="cc-tc-w bannerBoxTitle">
- <div class="bannerTitle">新闻中心</div>
- <div class="bannerTitle-eng">News Center</div>
- </div>
- </div>
- </div>
- </div>
- <div class="content">
- <div class="box-more" style="text-align: right;">
- <a href="newList.html?type=companyNews">更多</a>
- </div>
- <div class="content-box">
- <div class="box-img bgImg1">
- <div class="left top-title">公司新闻</div>
- <!-- <a href="newDetail3.html">
- <div class="bottom-text">清华大学小程序项目进入上线阶段</div>
- </a> -->
-
- </div>
-
- <div class="box-text companyNews">
- </div>
- </div>
- <div class="box-more">
- <a href="newList.html?type=industryInfo">更多</a>
- </div>
- <div class="content-box">
- <div class="box-text industryInfo"></div>
- <div class="box-img bgImg2">
- <div class="right top-title">行业资讯</div>
- </div>
- </div>
- </div>
- <div class="m-index">
- <div style="background-color: #eee; padding-bottom: 10px;" class="index-third">
- <div style="display: flex;justify-content: space-between;align-items: center;">
- <h2 class="bannerNewsTitle">公司动态</h2>
- <div style="margin-right: 6.25rem;font-size: 16px;">
- <a href="newList.html?type=companyDynamic">更多</a>
- </div>
- </div>
-
- <div class="f-in" style="max-width: 100%">
- <div class="third-box">
- <div class="m-slide" style="width: 1250px;margin: 0 auto;">
- <div id="index-case" class="index_banner" style="background-color: #ffffff;padding: 30px 0 10px 0;">
- <div class="ban_hd">
- <ul></ul>
- </div>
- <div class="ban_bd">
- <div class="tempWrap" style="overflow:hidden; position:relative; width:1251px">
- <ul class="companyDynamics">
- </ul>
- </div>
-
- </div>
- <div class="prevbtn"></div>
- <div class="nextbtn"></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="footerbg">
- <div style="height: auto;" class="footer">
- <div>
- <span><a href="index.html">首页</a>|</span><span><a href="product.html">智慧企业</a>|</span><span><a
- href="wisdom.html">智慧城市</a>|</span><span><a href="fangan.html">解决方案</a>|</span><span><a
- href="technology.html">技术服务</a>|</span><span><a href="news.html">新闻中心</a>|</span><span><a
- href="about_us.html">关于我们</a>|</span><span><a href="contact.html">联系我们</a></span>
- <p>
- <span>
- 上海市长宁区福泉路111号神州数码(上海)科技园 </span>
- <span>|</span>
- <span>北京市海淀区上地九街九号数码科技广场 </span>
- <span>|</span>
- <span>洛阳市洛龙区金城寨街正大国际中心</span>
- </p>
- <p style="padding-top: 5px;">
- <span>苏州市相城区元和街道嘉元路959号元和大厦 </span>
- <span>|</span>
- <span>杭州市下城区延安路385号杭州嘉里中心 </span>
- </p>
- <a href="http://www.beian.miit.gov.cn/">沪ICP备16042560号</a>
- </div>
- <div class="leftImg">
- <img src="imgs/QRcode1.jpg" alt="">
- </div>
- </div>
- </div>
- <script src="js/slide/all.min.js" type="text/javascript" charset="utf-8"></script>
- <script>
- $(function () {
- $.ajax({
- type: "post", //请求类型
- dataType: "json", //请求数据返回类型
- headers:{"content-type":"application/json;charset=utf-8"}, //请求头类型
- url: "https://xiaoyou.dgtis.com/admin/news/listForDGTSiteNews", //请求地址
- async: true, //同步或者异步 ,ajax 就是为了异步而生
- data: JSON.stringify({
- page: 1,
- limit: 6,
- type: 'companyNews',
- title: '',
- }), //传参
- success: function (result) { //成功
- if (result.errno === 0) {
- console.log(result);
- let companyNewsData = result.data.items;
- let companyNews = document.querySelector(".companyNews");
- for (let i = 0; i < companyNewsData.length; i++) {
- companyNews.innerHTML +=`<a href="newDetail.html?id=${companyNewsData[i].id}">
- <div class="text-row" id="${companyNewsData[i].id}" >
- <div class="row-left">${companyNewsData[i].title}</div>
- <div class="row-right">${companyNewsData[i].pubDate}</div>
- </div>
- </a>`
- }
- } else {
- console.log(result);
- console.log("失败");
- }
- },
- error: function (result) { //失败
- console.log(result);
- console.log("异常");
- }
- });
- $.ajax({
- type: "post", //请求类型
- dataType: "json", //请求数据返回类型
- headers:{"content-type":"application/json;charset=utf-8"}, //请求头类型
- url: "https://xiaoyou.dgtis.com/admin/news/listForDGTSiteNews", //请求地址
- async: true, //同步或者异步 ,ajax 就是为了异步而生
- data: JSON.stringify({
- page: 1,
- limit: 6,
- type: 'industryInfo',
- title: '',
- }), //传参
- success: function (result) { //成功
- if (result.errno === 0) {
- console.log(result);
- let industryInfoData = result.data.items;
- let industryInfo = document.querySelector(".industryInfo");
- for (let i = 0; i < industryInfoData.length; i++) {
- industryInfo.innerHTML +=`<a href="newDetail.html?id=${industryInfoData[i].id}">
- <div class="text-row" id="${industryInfoData[i].id}" >
- <div class="row-left">${industryInfoData[i].title}</div>
- <div class="row-right">${industryInfoData[i].pubDate}</div>
- </div>
- </a>`
- }
- } else {
- console.log(result);
- console.log("失败");
- }
- },
- error: function (result) { //失败
- console.log(result);
- console.log("异常");
- }
- });
- $.ajax({
- type: "post", //请求类型
- dataType: "json", //请求数据返回类型
- headers:{"content-type":"application/json;charset=utf-8"}, //请求头类型
- url: "https://xiaoyou.dgtis.com/admin/news/listForDGTSiteNews", //请求地址
- async: true, //同步或者异步 ,ajax 就是为了异步而生
- data: JSON.stringify({
- page: 1,
- limit: 6,
- type: 'companyDynamic',
- title: '',
- }), //传参
- success: function (result) { //成功
- if (result.errno === 0) {
- console.log(result);
- let companyDynamicsData = result.data.items;
- let companyDynamics = document.querySelector(".companyDynamics");
- for (let i = 0; i < companyDynamicsData.length; i++) {
- companyDynamics.innerHTML +=
- `<li>
- <a target="_blank" href="newDetail.html?id=${companyDynamicsData[i].id}">
- <div class="ban-img">
- <img src="${companyDynamicsData[i].image}" />
- </div>
- <div class="text">
- <p style="font-weight: 600;color: #000000">
- ${companyDynamicsData[i].title}
- </p>
- <p style="font-size: 14px;">
- ${companyDynamicsData[i].subTitle}
- </p>
- </div>
- </a>
- </li>`
- }
- $("#index-case").slide({
- titCell: ".ban_hd ul",
- mainCell: ".ban_bd ul",
- autoPage: true,
- effect: "leftLoop",
- prevCell: ".prevbtn",
- nextCell: ".nextbtn",
- trigger: "click",
- autoPlay: true,
- interTime: 6000,
- scroll: 1,
- vis: 3,
- defaultIndex: 0,
- titOnClassName: "on"
- })
- } else {
- console.log(result);
- console.log("失败");
- }
- },
- error: function (result) { //失败
- console.log(result);
- console.log("异常");
- }
- });
-
-
-
-
- })
-
- </script>
- </body>
- </html>
|