index.html 15 KB

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