index.html 14 KB

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