|
@@ -60,18 +60,43 @@
|
|
|
</header>
|
|
|
<!--====== HEADER END ======-->
|
|
|
|
|
|
+ <div class="video-section" >
|
|
|
+ <video autoplay loop muted style="width:100%;height:100%;object-fit:fill;" poster="assets/img/banner/111.png">
|
|
|
+ <source src="assets/video/home-video4.mp4" type="video/mp4">
|
|
|
+ </video>
|
|
|
+ <div class="video-des">
|
|
|
+ <div class="des1">
|
|
|
+ <p>围绕行业细分,累计服务超过 <span>5000</span> 家企业,近<span> 10万 </span>个用户,平台生态高效、健康</p>
|
|
|
+ </div>
|
|
|
+ <div class="des2 desCom" style="top:43%; left:0;width:100%;text-align:center">
|
|
|
+ <p>核心价值观</p>
|
|
|
+ <span>一起梦想,一起成长,一起分享</span>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="des3 desCom" style="top:65%; left:20%;">
|
|
|
+ <p>企业使命</p>
|
|
|
+ <span>用数字化手段助力客户融入数智时代</span>
|
|
|
+ </div>
|
|
|
+ <div class="des4 desCom" style="top:65%; right:25%;">
|
|
|
+ <p>企业愿景</p>
|
|
|
+ <span>成为智慧数字产业的领跑者</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <span class="go_down"></span>
|
|
|
+ </div>
|
|
|
+
|
|
|
|
|
|
<section v-for="(list,ind) in homeList">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
<!-- 首页轮播 -->
|
|
|
<!--====== BANNER SECTION START ======-->
|
|
|
- <div class="banner-section">
|
|
|
+ <!-- <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" style="background-size: cover;background-position: left top;background-image:url(assets/img/banner/111.png)">
|
|
|
- <!-- <div class="animate-img pc" :style="{backgroundImage:'url('+con.picture+')'}" style="background-size: cover;background-position: left top;"> -->
|
|
|
- <!-- <img style="min-width: 100%;" :src="con.picture" alt=""> -->
|
|
|
</div>
|
|
|
<div class="animate-img mobile">
|
|
|
<img style="min-width: 100%;" :src="con.picture" alt="">
|
|
@@ -82,11 +107,8 @@
|
|
|
<li class="prev"></li>
|
|
|
<li class="next"></li>
|
|
|
</ul>
|
|
|
- <!-- <div id="videoDiv">
|
|
|
- <button id="videoBtn">点击观看视频</button>
|
|
|
- </div> -->
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<!--====== BANNER SECTION END ======-->
|
|
|
|
|
|
<!--====== WHYUS SECTION START ======-->
|
|
@@ -255,20 +277,27 @@
|
|
|
<script src="assets/summernote/plugin/jquery-blinds-player/js/shutter.js"></script>
|
|
|
|
|
|
<script>
|
|
|
- //百叶窗轮播
|
|
|
$(function() {
|
|
|
- setTimeout(() => {
|
|
|
- $('#shutter').shutter({
|
|
|
- // shutterW: 1000, // 容器宽度
|
|
|
- // shutterH: 358, // 容器高度
|
|
|
- isAutoPlay: true, // 是否自动播放
|
|
|
- playInterval: 3000, // 自动播放时间
|
|
|
- curDisplay: 3, // 当前显示页
|
|
|
- fullPage: false // 是否全屏展示
|
|
|
- })
|
|
|
- }, 1000)
|
|
|
- // $('#footer').load("./footer.html");
|
|
|
$('#headerNav').load("./headerNav.html");
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ var $wh=$(window).height();
|
|
|
+ $('.go_down').click(function(e) {
|
|
|
+ $('html,body').animate({scrollTop:$wh},700);
|
|
|
+ });
|
|
|
+
|
|
|
+ // setTimeout(() => {
|
|
|
+ // $('#shutter').shutter({
|
|
|
+ // // shutterW: 1000, // 容器宽度
|
|
|
+ // // shutterH: 358, // 容器高度
|
|
|
+ // isAutoPlay: true, // 是否自动播放
|
|
|
+ // playInterval: 3000, // 自动播放时间
|
|
|
+ // curDisplay: 3, // 当前显示页
|
|
|
+ // fullPage: false // 是否全屏展示
|
|
|
+ // })
|
|
|
+ // }, 1000)
|
|
|
+ $('#footer').load("./footer.html");
|
|
|
})
|
|
|
|
|
|
var app = new Vue({
|
|
@@ -305,28 +334,28 @@
|
|
|
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"
|
|
|
- }
|
|
|
- },
|
|
|
+ // 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>
|