index.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="x-ua-compatible" content="ie=edge" />
  6. <meta name="description" content="" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
  8. <link rel="icon" href="assets/img/favicon.ico">
  9. <title>首页</title>
  10. <link rel="stylesheet" href="assets/css/bootstrap.min.css" />
  11. <!--====== Owl Carousel css ======-->
  12. <link rel="stylesheet" href="assets/css/slick.css" />
  13. <link rel="stylesheet" href="assets/summernote/plugin/jquery-blinds-player/css/shutter.css">
  14. <!--====== Mean Menu ======-->
  15. <link rel="stylesheet" href="assets/css/meanmenu.min.css" />
  16. <!--====== Default css ======-->
  17. <link rel="stylesheet" href="assets/css/default.css" />
  18. <!--====== Style css ======-->
  19. <link rel="stylesheet" href="assets/css/style.css" />
  20. <!--====== home css ====== -->
  21. <link rel="stylesheet" href="assets/css/home.css" />
  22. <link rel="stylesheet" href="assets/fonts/iconfont/iconfont.css">
  23. </head>
  24. <body>
  25. <!--[if lte IE 9]>
  26. <p class="browserupgrade">请使用chrome,IE11等现代浏览器,浏览本网站.</p>
  27. <![endif]-->
  28. <div id="app">
  29. <!--====== HEADER START ======-->
  30. <header class="header-absolute sticky-header">
  31. <div class="custom-container-one">
  32. <div class="header-top-area">
  33. <!-- <div class="container align-items-center">
  34. <div class="col-md-6 col-sm-7">
  35. <ul class="contact-list">
  36. <li>
  37. <a href="javascipt:void();">www.chinausky.com</a>
  38. </li>
  39. <li>
  40. <a href="javascipt:void();">400 633 8668</a>
  41. </li>
  42. </ul>
  43. </div>
  44. </div> -->
  45. </div>
  46. <div class="mainmenu-area container">
  47. <div class="d-flex align-items-center justify-content-between">
  48. <nav class="main-menu">
  49. <div class="logo">
  50. <a href="./index.html"><img src="assets/img/logo.png" alt="uskylogo"></a>
  51. </div>
  52. <div class="menu-items">
  53. <ul>
  54. <li class="active">
  55. <a href="#">首页</a>
  56. </li>
  57. <li>
  58. <a href="./solution/index.html?solution_type=1">解决方案</a>
  59. <ul class="submenu">
  60. <li><a href="./solution/index.html?solution_type=1">智慧安防</a></li>
  61. <li><a href="./solution/index.html?solution_type=2">智慧消防</a></li>
  62. <li><a href="./solution/index.html?solution_type=3">智慧建筑能源管理</a></li>
  63. <li><a href="./solution/index.html?solution_type=4">智慧电力综合管理</a></li>
  64. <li><a href="./solution/index.html?solution_type=5">智慧园区无人机综合管理</a></li>
  65. <li><a href="./solution/index.html?solution_type=6">智慧楼宇综合运营</a></li>
  66. </ul>
  67. </li>
  68. <li>
  69. <a href="./product/index.html">产品中心</a>
  70. </li>
  71. <li>
  72. <a href="./technology/index.html">技术支撑</a>
  73. </li>
  74. <li>
  75. <a href="./news/index.html">新闻动态</a>
  76. <!-- <ul class="submenu">
  77. <li><a href="./news">公司新闻</a></li>
  78. <li><a href="./news/trade/index.html">行业动态</a></li>
  79. </ul> -->
  80. </li>
  81. <li>
  82. <a href="./about/index.html">关于我们</a>
  83. </li>
  84. </ul>
  85. </div>
  86. </nav>
  87. </div>
  88. </div>
  89. <div>
  90. <div class="mobile-menu"></div>
  91. </div>
  92. </div>
  93. </header>
  94. <!--====== HEADER END ======-->
  95. <section v-for="(list,ind) in homeList">
  96. <!-- 首页轮播 -->
  97. <!--====== BANNER SECTION START ======-->
  98. <div class="banner-section">
  99. <div id="shutter" class="shutter" v-if="list.title === '幻灯片'">
  100. <img style="min-width: 100%;" :src="homeList[0].content[0].picture" alt="">
  101. <div class="shutter-img">
  102. <a href="#" v-for="con in homeList[0].content">
  103. <div class="animate-img pc">
  104. <img style="min-width: 100%;" :src="con.picture" alt="">
  105. </div>
  106. <div class="animate-img mobile">
  107. <img style="min-width: 100%;" :src="con.picture" alt="">
  108. </div>
  109. </a>
  110. </div>
  111. <ul class="shutter-btn">
  112. <li class="prev"></li>
  113. <li class="next"></li>
  114. </ul>
  115. <div id="videoDiv">
  116. <button id="videoBtn">点击观看视频</button>
  117. </div>
  118. </div>
  119. </div>
  120. <!--====== BANNER SECTION END ======-->
  121. <!--====== WHYUS SECTION START ======-->
  122. <div class="whyUs-section pt-80 pb-80" v-if="list.title === '物联网行业垂直应用'">
  123. <div class="container">
  124. <div class="section-title text-center both-border pb-90">
  125. <span class="title-tag">{{list.title}}</span>
  126. <div v-for="one in list.content_one">
  127. {{one.content}}
  128. </div>
  129. </div>
  130. <div class="row align-items-center justify-content-center">
  131. <div class="col-md-12">
  132. <div class="row" id="hexGrid">
  133. <div :class="
  134. indx == 0 ? 'col-md-4 offset-2 col-sm-6'
  135. : indx == 1 ? 'col-md-4 col-sm-6'
  136. : indx == 2 ? 'hex hex3 col-md-4 col-sm-6'
  137. : indx >= 3 ? 'hex col-md-4 col-sm-6'
  138. : '' " v-for="(con,indx) in list.content">
  139. <!-- <a class="hexIn" href="#"> -->
  140. <img :src="con.picture" alt="" />
  141. <!-- </a> -->
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. </div>
  147. </div>
  148. <!--====== WHYUS SECTION END ======-->
  149. <!--====== ABOUT SECTION START ======-->
  150. <div class="about-section pt-80 pb-80 " v-if="list.title === '数字化管理平台'">
  151. <div class="container ">
  152. <div class="section-title text-center both-border pb-80">
  153. <span class="title-tag ">{{list.title}}</span>
  154. <div v-for="one in list.content_one">
  155. {{one.content}}
  156. </div>
  157. </div>
  158. <div class="row align-items-center justify-content-center about-background"
  159. v-for="con in list.content">
  160. <div class="imgCenter col-md-6 about-img-box" v-if="con.picture != null && con.picture != ''">
  161. <img :src="con.picture" alt=" ">
  162. </div>
  163. <div class="col-md-6 about-text-box">
  164. <div class="">
  165. <span class="title-tag" v-if="con.title != null && con.title != ''">{{con.title}}</span>
  166. <div>
  167. <br><br>
  168. <span v-for="cont in con.content">
  169. <span style="margin-right: 35px;"></span>{{cont.content}}
  170. </span>
  171. </div>
  172. </div>
  173. </div>
  174. </div>
  175. </div>
  176. </div>
  177. <!--====== ABOUT SECTION END ======-->
  178. <!--====== WHYUS SECTION START ======-->
  179. <div class="whyUs-section pt-80 pb-80" v-if="list.title === '核心优势'">
  180. <div class="container">
  181. <div class="section-title text-center both-border pb-90">
  182. <span class="title-tag">{{list.title}}</span>
  183. </div>
  184. <div class="row align-items-center justify-content-center">
  185. <div class="col-md-12">
  186. <div class="row ys-text-align">
  187. <div class="maxWidth col-md-4 col-sm-6" v-for="(con,ind) in list.content">
  188. <div class="about-img-box">
  189. <img :src="con.picture" alt="">
  190. <div>
  191. <span :class="
  192. ind == 0 ? 'span1 title-tag'
  193. :ind == 1 ? 'span2 title-tag'
  194. :ind == 2 ? 'span3 title-tag':''">{{con.title}}</span>
  195. </div>
  196. <div>
  197. <span v-for="cont in con.content">{{cont.content}}<br></span>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. </div>
  203. </div>
  204. </div>
  205. </div>
  206. <!--====== WHYUS SECTION END ======-->
  207. <!--====== Trademark SECTION START ======-->
  208. <div class="about-section pt-80 pb-80 " v-if="list.title === '合作伙伴'">
  209. <div class="container ">
  210. <div class="section-title text-center both-border pb-80">
  211. <span class="title-tag ">{{list.title}}</span>
  212. </div>
  213. <div class="row align-items-center justify-content-center trademark-background">
  214. <div class="col-md-12">
  215. <div class="row">
  216. <div class="col-md-2" v-for="con in list.content">
  217. <img :src="con.picture" alt="">
  218. </div>
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. </div>
  224. <!--====== Trademark SECTION END ======-->
  225. <!--====== NEWS SECTION START ======-->
  226. <div class="news-section pt-80 pb-80" v-if="list.title === '友情链接'">
  227. <div class="container">
  228. <div class="section-title text-center both-border">
  229. <span class="title-tag ">{{list.title}}</span>
  230. <br><br><br>
  231. </div>
  232. <div class="row">
  233. <div class="newsBack col-md-12">
  234. <div class="row">
  235. <div class="newsImg col-md-3" v-for="con in list.content">
  236. <a :href="con.catenate" target="_blank">
  237. <img :src="con.picture" alt="">
  238. </a>
  239. </div>
  240. </div>
  241. </div>
  242. </div>
  243. </div>
  244. </div>
  245. <!--====== NEWS SECTION END ======-->
  246. </section>
  247. <!--====== FOOTER PART START ======-->
  248. <div id="footer"></div>
  249. <!--====== FOOTER PART END ======-->
  250. </div>
  251. <!--====== jquery js ======-->
  252. <script src="assets/js/vendor/modernizr-3.6.0.min.js "></script>
  253. <script src="assets/js/vendor/jquery-1.12.4.min.js "></script>
  254. <!--====== Bootstrap js ======-->
  255. <script src="assets/js/bootstrap.min.js "></script>
  256. <script src="assets/js/popper.min.js "></script>
  257. <!--====== Slick js ======-->
  258. <script src="assets/js/slick.min.js "></script>
  259. <!--====== Mean Menu ======-->
  260. <script src="assets/js/jquery.meanmenu.min.js "></script>
  261. <script src="assets/css/font_mun4q5ltrbp/iconfont.js "></script>
  262. <!--====== Main js ======-->
  263. <script src="assets/js/main.js "></script>
  264. <!--====== Setting Info js ======-->
  265. <script src="assets/js/settinginfo.js"></script>
  266. <!--====== Vue js ======-->
  267. <script src="assets/js/vue.min.js "></script>
  268. <script src="assets/summernote/plugin/jquery-blinds-player/js/velocity.js"></script>
  269. <script src="assets/summernote/plugin/jquery-blinds-player/js/shutter.js"></script>
  270. <script>
  271. //百叶窗轮播
  272. setTimeout(() => {
  273. $(function () {
  274. $('#shutter').shutter({
  275. // shutterW: 1000, // 容器宽度
  276. // shutterH: 358, // 容器高度
  277. isAutoPlay: true, // 是否自动播放
  278. playInterval: 3000, // 自动播放时间
  279. curDisplay: 3, // 当前显示页
  280. fullPage: false // 是否全屏展示
  281. });
  282. });
  283. }, 1000)
  284. $(function () {
  285. $('#footer').load("./footer.html");
  286. })
  287. var app = new Vue({
  288. el: '#app',
  289. data: {
  290. screenWidth: 0,
  291. homeList: [],
  292. },
  293. computed: {
  294. },
  295. mounted: function () {
  296. this.screenWidth = document.body.clientWidth
  297. console.log(this.screenWidth)
  298. window.onresize = () => {
  299. return (() => {
  300. this.screenWidth = document.body.clientWidth
  301. })()
  302. }
  303. var _this = this;
  304. console.log(window.FQDN)
  305. jQuery.ajax({
  306. type: 'POST',
  307. dataType: 'json',
  308. url: window.FQDN + '/Index/index',
  309. }).done(function (res) {
  310. console.log(res)
  311. _this.homeList = res
  312. }).fail(function (err) { });
  313. },
  314. methods: {
  315. },
  316. watch: {
  317. screenWidth(val) {
  318. var videoBtn = document.getElementById('videoBtn')
  319. var widthNum = val / 8;
  320. var heightNum = val / 32;
  321. var fontSizeNum = val / 96;
  322. var bottomNum = val / 47;
  323. if (widthNum >= 150) {
  324. videoBtn.style.left = (val / 2) - (widthNum / 2) + "px"
  325. videoBtn.style.width = widthNum + "px"
  326. } else {
  327. videoBtn.style.left = (val / 2) - (150 / 2) + "px"
  328. videoBtn.style.width = "150px"
  329. }
  330. heightNum >= 30 ? videoBtn.style.height = heightNum + "px" : videoBtn.style.height = "30px";//按钮高度自适应
  331. fontSizeNum >= 13 ? videoBtn.style.fontSize = fontSizeNum + "px" : videoBtn.style.fontSize = "13px";//按钮中字体自适应
  332. videoBtn.style.display = "inline"
  333. }
  334. },
  335. });
  336. </script>
  337. </body>
  338. </html>