123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta http-equiv="x-ua-compatible" content="ie=edge" />
- <meta name="description" content="" />
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
- <link rel="icon" href="assets/img/favicon.ico">
- <title>首页</title>
- <link rel="stylesheet" href="assets/css/bootstrap.min.css" />
- <!--====== Owl Carousel css ======-->
- <link rel="stylesheet" href="assets/css/slick.css" />
- <link rel="stylesheet" href="assets/summernote/plugin/jquery-blinds-player/css/shutter.css">
- <!--====== Mean Menu ======-->
- <link rel="stylesheet" href="assets/css/meanmenu.min.css" />
- <!--====== Default css ======-->
- <link rel="stylesheet" href="assets/css/default.css" />
- <!--====== Style css ======-->
- <link rel="stylesheet" href="assets/css/style.css" />
- <!--====== home css ====== -->
- <link rel="stylesheet" href="assets/css/home.css" />
- <link rel="stylesheet" href="assets/fonts/iconfont/iconfont.css">
- </head>
- <body>
- <!--[if lte IE 9]>
- <p class="browserupgrade">请使用chrome,IE11等现代浏览器,浏览本网站.</p>
- <![endif]-->
- <div id="app">
- <!--====== HEADER START ======-->
- <header class="header-absolute sticky-header">
- <div class="custom-container-one">
- <div class="header-top-area">
- <!-- <div class="container align-items-center">
- <div class="col-md-6 col-sm-7">
- <ul class="contact-list">
- <li>
- <a href="javascipt:void();">www.chinausky.com</a>
- </li>
- <li>
- <a href="javascipt:void();">400 633 8668</a>
- </li>
- </ul>
- </div>
- </div> -->
- </div>
- <div class="mainmenu-area container">
- <div class="d-flex align-items-center justify-content-between">
- <nav class="main-menu">
- <div class="logo">
- <a href="./index.html"><img src="assets/img/logo.png" alt="uskylogo"></a>
- </div>
- <div class="menu-items">
- <ul>
- <li class="active">
- <a href="#">首页</a>
- </li>
- <li>
- <a href="./solution/index.html?solution_type=1">解决方案</a>
- <ul class="submenu">
- <li><a href="./solution/index.html?solution_type=1">智慧安防</a></li>
- <li><a href="./solution/index.html?solution_type=2">智慧消防</a></li>
- <li><a href="./solution/index.html?solution_type=3">智慧建筑能源管理</a></li>
- <li><a href="./solution/index.html?solution_type=4">智慧电力综合管理</a></li>
- <li><a href="./solution/index.html?solution_type=5">智慧园区无人机综合管理</a></li>
- <li><a href="./solution/index.html?solution_type=6">智慧楼宇综合运营</a></li>
- </ul>
- </li>
- <li>
- <a href="./product/index.html">产品中心</a>
- </li>
- <li>
- <a href="./technology/index.html">技术支撑</a>
- </li>
- <li>
- <a href="./news/index.html">新闻动态</a>
- <!-- <ul class="submenu">
- <li><a href="./news">公司新闻</a></li>
- <li><a href="./news/trade/index.html">行业动态</a></li>
- </ul> -->
- </li>
- <li>
- <a href="./about/index.html">关于我们</a>
- </li>
- </ul>
- </div>
- </nav>
- </div>
- </div>
- <div>
- <div class="mobile-menu"></div>
- </div>
- </div>
- </header>
- <!--====== HEADER END ======-->
- <section v-for="(list,ind) in homeList">
- <!-- 首页轮播 -->
- <!--====== BANNER SECTION START ======-->
- <div class="banner-section">
- <div id="shutter" class="shutter" v-if="list.title === '幻灯片'">
- <img style="min-width: 100%;" :src="homeList[0].content[0].picture" alt="">
- <div class="shutter-img">
- <a href="#" v-for="con in homeList[0].content">
- <div class="animate-img pc">
- <img style="min-width: 100%;" :src="con.picture" alt="">
- </div>
- <div class="animate-img mobile">
- <img style="min-width: 100%;" :src="con.picture" alt="">
- </div>
- </a>
- </div>
- <ul class="shutter-btn">
- <li class="prev"></li>
- <li class="next"></li>
- </ul>
- <div id="videoDiv">
- <button id="videoBtn">点击观看视频</button>
- </div>
- </div>
- </div>
- <!--====== BANNER SECTION END ======-->
- <!--====== WHYUS SECTION START ======-->
- <div class="whyUs-section pt-80 pb-80" v-if="list.title === '物联网行业垂直应用'">
- <div class="container">
- <div class="section-title text-center both-border pb-90">
- <span class="title-tag">{{list.title}}</span>
- <div v-for="one in list.content_one">
- {{one.content}}
- </div>
- </div>
- <div class="row align-items-center justify-content-center">
- <div class="col-md-12">
- <div class="row" id="hexGrid">
- <div :class="
- indx == 0 ? 'col-md-4 offset-2 col-sm-6'
- : indx == 1 ? 'col-md-4 col-sm-6'
- : indx == 2 ? 'hex hex3 col-md-4 col-sm-6'
- : indx >= 3 ? 'hex col-md-4 col-sm-6'
- : '' " v-for="(con,indx) in list.content">
- <!-- <a class="hexIn" href="#"> -->
- <img :src="con.picture" alt="" />
- <!-- </a> -->
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--====== WHYUS SECTION END ======-->
- <!--====== ABOUT SECTION START ======-->
- <div class="about-section pt-80 pb-80 " v-if="list.title === '数字化管理平台'">
- <div class="container ">
- <div class="section-title text-center both-border pb-80">
- <span class="title-tag ">{{list.title}}</span>
- <div v-for="one in list.content_one">
- {{one.content}}
- </div>
- </div>
- <div class="row align-items-center justify-content-center about-background"
- v-for="con in list.content">
- <div class="imgCenter col-md-6 about-img-box" v-if="con.picture != null && con.picture != ''">
- <img :src="con.picture" alt=" ">
- </div>
- <div class="col-md-6 about-text-box">
- <div class="">
- <span class="title-tag" v-if="con.title != null && con.title != ''">{{con.title}}</span>
- <div>
- <br><br>
- <span v-for="cont in con.content">
- <span style="margin-right: 35px;"></span>{{cont.content}}
- </span>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--====== ABOUT SECTION END ======-->
- <!--====== WHYUS SECTION START ======-->
- <div class="whyUs-section pt-80 pb-80" v-if="list.title === '核心优势'">
- <div class="container">
- <div class="section-title text-center both-border pb-90">
- <span class="title-tag">{{list.title}}</span>
- </div>
- <div class="row align-items-center justify-content-center">
- <div class="col-md-12">
- <div class="row ys-text-align">
- <div class="maxWidth col-md-4 col-sm-6" v-for="(con,ind) in list.content">
- <div class="about-img-box">
- <img :src="con.picture" alt="">
- <div>
- <span :class="
- ind == 0 ? 'span1 title-tag'
- :ind == 1 ? 'span2 title-tag'
- :ind == 2 ? 'span3 title-tag':''">{{con.title}}</span>
- </div>
- <div>
- <span v-for="cont in con.content">{{cont.content}}<br></span>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--====== WHYUS SECTION END ======-->
- <!--====== Trademark SECTION START ======-->
- <div class="about-section pt-80 pb-80 " v-if="list.title === '合作伙伴'">
- <div class="container ">
- <div class="section-title text-center both-border pb-80">
- <span class="title-tag ">{{list.title}}</span>
- </div>
- <div class="row align-items-center justify-content-center trademark-background">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-2" v-for="con in list.content">
- <img :src="con.picture" alt="">
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--====== Trademark SECTION END ======-->
- <!--====== NEWS SECTION START ======-->
- <div class="news-section pt-80 pb-80" v-if="list.title === '友情链接'">
- <div class="container">
- <div class="section-title text-center both-border">
- <span class="title-tag ">{{list.title}}</span>
- <br><br><br>
- </div>
- <div class="row">
- <div class="newsBack col-md-12">
- <div class="row">
- <div class="newsImg col-md-3" v-for="con in list.content">
- <a :href="con.catenate" target="_blank">
- <img :src="con.picture" alt="">
- </a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--====== NEWS SECTION END ======-->
- </section>
- <!--====== FOOTER PART START ======-->
- <div id="footer"></div>
- <!--====== FOOTER PART END ======-->
- </div>
- <!--====== jquery js ======-->
- <script src="assets/js/vendor/modernizr-3.6.0.min.js "></script>
- <script src="assets/js/vendor/jquery-1.12.4.min.js "></script>
- <!--====== Bootstrap js ======-->
- <script src="assets/js/bootstrap.min.js "></script>
- <script src="assets/js/popper.min.js "></script>
- <!--====== Slick js ======-->
- <script src="assets/js/slick.min.js "></script>
- <!--====== Mean Menu ======-->
- <script src="assets/js/jquery.meanmenu.min.js "></script>
- <script src="assets/css/font_mun4q5ltrbp/iconfont.js "></script>
- <!--====== Main js ======-->
- <script src="assets/js/main.js "></script>
- <!--====== Setting Info js ======-->
- <script src="assets/js/settinginfo.js"></script>
- <!--====== Vue js ======-->
- <script src="assets/js/vue.min.js "></script>
- <script src="assets/summernote/plugin/jquery-blinds-player/js/velocity.js"></script>
- <script src="assets/summernote/plugin/jquery-blinds-player/js/shutter.js"></script>
- <script>
- //百叶窗轮播
- setTimeout(() => {
- $(function () {
- $('#shutter').shutter({
- // shutterW: 1000, // 容器宽度
- // shutterH: 358, // 容器高度
- isAutoPlay: true, // 是否自动播放
- playInterval: 3000, // 自动播放时间
- curDisplay: 3, // 当前显示页
- fullPage: false // 是否全屏展示
- });
- });
- }, 1000)
- $(function () {
- $('#footer').load("./footer.html");
- })
- var app = new Vue({
- el: '#app',
- data: {
- screenWidth: 0,
- homeList: [],
- },
- computed: {
- },
- mounted: function () {
- this.screenWidth = document.body.clientWidth
- console.log(this.screenWidth)
- window.onresize = () => {
- return (() => {
- this.screenWidth = document.body.clientWidth
- })()
- }
- var _this = this;
- console.log(window.FQDN)
- jQuery.ajax({
- type: 'POST',
- dataType: 'json',
- url: window.FQDN + '/Index/index',
- }).done(function (res) {
- console.log(res)
- _this.homeList = res
- }).fail(function (err) { });
- },
- methods: {
- },
- watch: {
- screenWidth(val) {
- var videoBtn = document.getElementById('videoBtn')
- var widthNum = val / 8;
- var heightNum = val / 32;
- var fontSizeNum = val / 96;
- var bottomNum = val / 47;
- if (widthNum >= 150) {
- videoBtn.style.left = (val / 2) - (widthNum / 2) + "px"
- videoBtn.style.width = widthNum + "px"
- } else {
- videoBtn.style.left = (val / 2) - (150 / 2) + "px"
- videoBtn.style.width = "150px"
- }
- heightNum >= 30 ? videoBtn.style.height = heightNum + "px" : videoBtn.style.height = "30px";//按钮高度自适应
- fontSizeNum >= 13 ? videoBtn.style.fontSize = fontSizeNum + "px" : videoBtn.style.fontSize = "13px";//按钮中字体自适应
- videoBtn.style.display = "inline"
- }
- },
- });
- </script>
- </body>
- </html>
|