提交 e5cc778b 作者: 陈涛

修改荣誉资质轮播图

上级 d0c8525e
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<!-- 公司宣传视频 --> <!-- 公司宣传视频 -->
<div class="first_video"> <div class="first_video">
<video id="company_video" src="http://qjvideo.oss-cn-beijing.aliyuncs.com/2019%E5%B9%B4%E5%AE%A3%E4%BC%A0%E7%89%87-0107_x264.mp4" <video id="company_video" src="http://qjvideo.oss-cn-beijing.aliyuncs.com/2019%E5%B9%B4%E5%AE%A3%E4%BC%A0%E7%89%87-0107_x264.mp4"
poster="./images/company_show_img.jpg" autoplay preload="preload" controls="controls"></video> poster="./images/company_show_img.png" autoplay preload="preload" controls="controls"></video>
</div> </div>
<!-- 视差滚动 --> <!-- 视差滚动 -->
<div class="main" id="main"> <div class="main" id="main">
......
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
#sidebar .code_img { #sidebar .code_img {
position: absolute; position: absolute;
top: 0px; top: 0px;
right: 68px; right: 0px;
z-index: -999; z-index: -999;
padding: 6px; padding: 6px;
background: #24b298; background: #24b298;
...@@ -1561,11 +1561,28 @@ ...@@ -1561,11 +1561,28 @@
left: 0; left: 0;
height: 100%; height: 100%;
} }
#honor .swiper-slide-active .imgmask {
position: absolute;
width: 100%;
background:transparent;
top: 0;
left: 0;
height: 100%;
}
#honor .swiper-slide.swiper-slide-next{
box-shadow: darkgrey 0px 1px 13px 3px;
}
#honor .swiper-slide.swiper-slide-active{
box-shadow: darkgrey 0px 0px 3px 3px;
}
#honor .swiper-slide.swiper-slide-prev{
box-shadow: darkgrey 0px 1px 13px 3px;
}
#honor .swiper-slide { #honor .swiper-slide {
width: 600px; width: 600px;
height: 450px; height: 450px;
background: #fff; background: #fff;
box-shadow: darkgrey 2px 2px 22px 4px; box-shadow: darkgrey 1px 1px 15px 0px;
} }
#honor .swiper-slide img { #honor .swiper-slide img {
...@@ -1592,17 +1609,20 @@ ...@@ -1592,17 +1609,20 @@
left: 130px; left: 130px;
width: 45px; width: 45px;
height: 45px; height: 45px;
background: url(../images/button_prev.png) no-repeat; background: url('../images/button_prev.png') no-repeat;
background-position: 0 0; background-position: 0 0;
background-size: 100%; background-size: 100%;
z-index: 999; z-index: 999;
} }
#honor .swiper-button-prev:focus,
#honor .swiper-button-next:focus{
outline: none;
}
#honor .swiper-button-next { #honor .swiper-button-next {
right: 130px; right: 130px;
width: 45px; width: 45px;
height: 45px; height: 45px;
background: url(../images/button_next.png) no-repeat; background: url('../images/button_next.png') no-repeat;
background-position: 0 0; background-position: 0 0;
background-size: 100%; background-size: 100%;
z-index: 999; z-index: 999;
......
...@@ -313,8 +313,8 @@ window.onload = function () { ...@@ -313,8 +313,8 @@ window.onload = function () {
common(); common();
// 荣誉资质轮播图 // 荣誉资质轮播图
let content = [
let content = ["<h5>2018年12月千家地产被授予<strong>河北省住宅与房地产业协会副会长单位</strong></h5>", "<h5>2018年12月千家地产被授予<strong>河北省住宅与房地产业协会副会长单位</strong></h5>",
"<h5>千家地产董事长宋山担任<strong>河北省住宅与房地产业协会副会长</strong></h5>", "<h5>千家地产董事长宋山担任<strong>河北省住宅与房地产业协会副会长</strong></h5>",
"<h5>2018年1月千家房地产获得了河北省住宅与房地产业协会授予的<strong>“年度诚信房地产经营机构”</strong></h5>", "<h5>2018年1月千家房地产获得了河北省住宅与房地产业协会授予的<strong>“年度诚信房地产经营机构”</strong></h5>",
"<h5>千家地产人才需求涉及到多个专业,我们也愿意为拥有梦想的学子提供学习的平台和未来工作的机会。</h5>", "<h5>千家地产人才需求涉及到多个专业,我们也愿意为拥有梦想的学子提供学习的平台和未来工作的机会。</h5>",
...@@ -364,7 +364,6 @@ window.onload = function () { ...@@ -364,7 +364,6 @@ window.onload = function () {
var slide = this.slides.eq(i) var slide = this.slides.eq(i)
slide.transition(transition); slide.transition(transition);
} }
}, },
slideNextTransitionEnd: function () { slideNextTransitionEnd: function () {
$('.honor_content').html(content[$('.swiper-slide-active').attr('data-swiper-slide-index')]); $('.honor_content').html(content[$('.swiper-slide-active').attr('data-swiper-slide-index')]);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论