@charset "utf-8"; #content{ min-width: 100%; padding: 0; margin: 0; background-color: #fff; } /* 背景 */ .ind-bg-one{ padding-top: 160px; min-height: 800px; background: #f5f5f5 url(/uploads/image/cmbimg/ind-bg-1.jpg) center bottom no-repeat; } .ind-bg-two{ min-height: 572px; background: url(/uploads/image/cmbimg/ind-bg-2.jpg) center top no-repeat; } .ind-bg-three{ min-height: 494px; background: url(/uploads/image/cmbimg/ind-bg-3.jpg) center top no-repeat; } .ind-bg-four{ min-height: 812px; background: #f3f6fa url(/uploads/image/cmbimg/ind-bg-4.png) center bottom no-repeat; } .ind-bg-gray{ background-color: #f5f5f5; } /* 广告-焦点图 */ .banner { position: fixed; left: auto; right: auto; top: 0; width: 100%; height: 100vh; } .banner .swiper-slide { overflow: hidden; } .banner .pic a{ display: block; width: 100%; height: 100vh; background-position: center top; background-size: cover; } .banner .pic img { width: auto; height: auto; min-width: 100%; min-height: 100vh; } .banner .con { display: none; } .banner:before, .banner::after{ content: ""; position: absolute; z-index: 3; left: 0; width: 100%; float: left; overflow: hidden; } .banner:before{ height: 188px; background: -webkit-gradient(linear,0 0,0 100%,from(rgba(0,0,0,0.5)),to(rgba(0,0,0,0))); background: -moz-linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0)); background: -ms-linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0)); background: -o-linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0)); background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0)); } .banner::after{ bottom: 0; height: 106px; background: url(/uploads/image/cmbimg/tjbh-banner-bg.png) center top no-repeat; background-size: cover; } .banner .bd .con{ display: none; } .banner .hd{ position: absolute; z-index: 1; left: 50%; bottom: 140px; display: flex; justify-content: right; width: 1200px; float: left; margin-left: -600px; } .banner .hd .swiper-pagination{ overflow: hidden; right: 0; left: auto; width: auto; } .banner .hd span{ width: 18px; height: 18px; float: left; margin: 6px 6px 6px 20px !important; border-radius: 50%; overflow: hidden; background-color: rgba(255,255,255,0.8); cursor: pointer; opacity: 1; } .banner .hd span.swiper-pagination-bullet-active{ background: none; width: 30px; height: 30px; margin: 0 0 0 14px !important; } .banner .hd span.swiper-pagination-bullet-active::before{ font-family: "iconfont"; content: "\e67a"; font-size: 30px; color: white; } .banner .swiper-slide img { -webkit-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); transform: scale(1.2); -webkit-transition: all 5s ease-in-out; -o-transition: all 5s ease-in-out; transition: all 5s ease-in-out } .banner .swiper-slide-active img { -webkit-transform: scale(1.01); -ms-transform: scale(1.01); -o-transform: scale(1.01); transform: scale(1.01) } .banner-mask { height: 100vh; transition: all .5s cubic-bezier(.5, 0, .2, 1) 0s; } .banner-mask.fixed { height: 0; } /* ind-box */ .ind-box{ padding-top: 50px; } .ind-box .mhd{ position: relative; z-index: 2; margin-bottom: 40px; text-align: center; } .ind-box .mhd .more{ position: absolute; z-index: 1; right: 0; top: 60px; width: auto; float: left; padding: 0 20px; height: 34px; line-height: 34px; border: 1px solid #e6e6e6; border-radius: 4px; } .ind-box .mhd .more:hover{ background-color: rgba(0,0,0,0.05); text-decoration: none; } .ind-box .mhd h3{ position: relative; z-index: 1; padding: 52px 0 0; min-width: 228px; display: inline-block; margin: 0 auto; text-align: center; background: url(/uploads/image/cmbimg/tjbh-ind-box-hd-m.png) center top no-repeat; } .ind-box .mhd h3:after, .ind-box .mhd h3:before{ position: absolute; z-index: 1; bottom: 10px; content: ""; width: 70px; height: 30px; float: left; overflow: hidden; -webkit-transition:all 0.6s; -moz-transition:all 0.6s; -ms-transition:all 0.6s; -o-transition:all 0.6s; transition:all 0.6s; } .ind-box .mhd h3:before{ left: 0; background: url(/uploads/image/cmbimg/tjbh-ind-box-hd-l.png) left top no-repeat; } .ind-box .mhd h3:after{ right: 0; background: url(/uploads/image/cmbimg/tjbh-ind-box-hd-r.png) right top no-repeat; } .ind-box .mhd h3>a{ display: block; line-height: 42px; padding-bottom: 12px; font-size: 32px; font-weight: bold; color: #0a4b9d; } .ind-box .mhd h3>a:hover{ text-decoration: none; } .ind-box .mhd .eng{ display: block; padding: 0 72px; font-size: 14px; color: #999; text-transform: uppercase; } .ind-box .mhd h3:hover:after{ transform: rotate(-8deg); } .ind-box .mhd h3:hover:before{ transform: rotate(8deg); } .ind-box .mbd{ text-align: left; } /* 滨职要闻 */ .top-pic-list{ width: 780px; padding-right: 20px; float: left; } .top-pic-list li.t{ width: 518px; float: left; margin-right: 20px; } .top-pic-list li.t .pic{ overflow: hidden; margin-bottom: 15px; } .top-pic-list li.t .pic img{ display: block; width: 100%; height: 346px; } .top-pic-list li.t .con{ position: relative; overflow: hidden; padding-left: 90px; min-height: 70px; } .top-pic-list li.t .others{ position: absolute; z-index: 1; left: 0; top: 5px; } .top-pic-list li.t .date{ width: 70px; height: 70px; float: left; overflow: hidden; font-size: 12px; color: white; text-align: center; background-color: #0a4b9d; } .top-pic-list li.t .date em{ display: block; padding-top: 5px; font-size: 24px; font-weight: bold; color: white; } .top-pic-list li.t .title{ font-size: 18px; line-height: 30px; margin-bottom: 10px; } .top-pic-list li.t .intro{ font-size: 14px; line-height: 24px; color: #666; } .top-pic-list li.n{ overflow: hidden; margin-bottom: 26px; } .top-pic-list li.n.last{ margin-bottom: 0; } .top-pic-list li.n .pic{ overflow: hidden; margin-bottom: 12px; } .top-pic-list li.n img{ display: block; width: 100%; height: 148px; } .top-pic-list li.n .title{ margin-bottom: 8px; font-size: 16px; line-height: 30px; } .top-pic-list li.n .date{ display: block; line-height: 21px; font-size: 14px; color: #666; } .top-pic-list li.n .date::before{ display: inline-block; margin-right: 4px; font-family: "iconfont"; content: "\e657"; font-size: 16px; } .top-pic-list li.n .date>em{ display: none; } /* 新闻-信息列表 */ .news-list{ margin-bottom: 90px; overflow: hidden; padding: 20px 20px 30px; background-color: #fff; border: 1px solid #ddd; border-top: 2px solid #0a4b9d; } .news-list li{ padding: 16px 0 20px; border-bottom: 1px solid #d9d9d9; -webkit-transition:all 0.3s; -moz-transition:all 0.3s; -ms-transition:all 0.3s; -o-transition:all 0.3s; transition:all 0.3s; } .news-list li a{ display: block; margin-bottom: 8px; font-size: 18px; line-height: 24px; } .news-list li a:hover{ text-decoration: none; } .news-list li .dateright{ display: block; height: 20px; line-height: 20px; color: #666; } .news-list li .dateright::before{ display: inline-block; margin-right: 10px; font-family: "iconfont"; content: "\e657"; font-size: 16px; } .news-list li:hover{ padding-left: 10px; } .news-list li:hover a{ color: #a1141a; } /* 通知公告-日历式-信息列表 */ .calendar-list{ overflow: hidden; margin-right: -20px; } .calendar-list li{ position: relative; z-index: 1; width: 385px; float: left; padding-top: 10px; margin: 0 20px 20px 0; } .calendar-list li a{ display: block; height: 48px; margin-left: 40px; padding: 16px 13px 16px 58px; font-size: 18px; line-height: 24px; overflow: hidden; border: 1px solid #e6e6e6; border-radius: 4px; background: right bottom no-repeat; } .calendar-list li a:hover{ text-decoration: none; } .calendar-list li .date{ position: absolute; z-index: 1; left: 0; top: 0; width: 80px; height: 90px; float: left; text-align: center; border: 1px solid #e6e6e6; border-radius: 40px 40px 0 0; background: #ffff; } .calendar-list li .date em{ display: block; padding-top: 15px; font-size: 32px; line-height: 1.2; } .calendar-list li:hover a, .calendar-list li:hover .date{ border-color: #0a4b9d; background-color: #0a4b9d; color: white; } .calendar-list li:hover a{ background-image: url(/uploads/image/cmbimg/tjbh-notice-list-icon-hover.png); } /* 通知公告 */ #ind-notice{ margin-bottom: 40px; } /* 党建工作 */ #ind-djgz .mhd .node-name{ width: auto; float: left; font-size: 32px; font-weight: bold; color: white; } #ind-djgz .mhd .node-name .iconfont{ font-size: 30px; margin-right: 10px; } #ind-djgz .mhd .node-name a{ color: white; } #ind-djgz .mhd .node-name a:hover{ text-decoration: none; } #ind-djgz .mhd .more{ top: 0; } .focus-djgz{ padding-top: 35px; overflow: hidden; } .focus-djgz .bd{ width: 570px; float: left; margin-right: 20px; overflow: hidden; } .focus-djgz .bd li .pic img{ display: block; width: 100%; height: 380px; } .focus-djgz .bd li .title{ display: none; } .focus-djgz .hd li{ overflow: hidden; padding: 13px 18px 18px; border-bottom: 1px solid #dfdfdf; } .focus-djgz .hd li a{ display: block; margin-bottom: 5px; font-size: 18px; height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .focus-djgz .hd li a:hover{ text-decoration: none; color: #c7261f; } .focus-djgz .hd li .dateright{ display: block; height: 28px; line-height: 28px; font-size: 14px; color: #666; } .focus-djgz .hd li.on{ margin-left: 530px; overflow: inherit; position: relative; z-index: 1; padding-bottom: 19px; border-bottom: 0; } .focus-djgz .hd li.on a{ color: #c7261f; } .focus-djgz .hd li.on::after{ position: absolute; z-index: -1; right: 0; top: 0; content: ""; width: 100%; height: 100%; float: left; overflow: hidden; background-color: #fff; border-radius: 46px 0 0 46px; } /* 首页-链接列表 */ .ind-links{ overflow: hidden; padding-top: 60px; margin-bottom: 58px; display: flex; justify-content: space-between; align-items: center; } .ind-links li{ width: 154px; display: flex; font-size: 18px; line-height: 24px; text-align: center; flex-direction: column; -webkit-transition:all 0.3s; -moz-transition:all 0.3s; -ms-transition:all 0.3s; -o-transition:all 0.3s; transition:all 0.3s; } .ind-links li .pic{ display: flex; align-items: center; justify-content: center; height: 154px; overflow: hidden; margin-bottom: 18px; background: url(/uploads/image/cmbimg/tjbh-ind-links-bg.png) center center no-repeat; } .ind-links li:hover{ margin-top: -20px; } /* 产教融合 */ .pic-list li{ position: relative; width: 283px; float: left; margin-right: 20px; padding-bottom: 40px; background:white url(/uploads/image/cmbimg/tjbh-list-icon.png) right bottom no-repeat; border: 1px solid #e6e6e6; } .pic-list li .pic{ margin: -1px -1px 0; background: #fafafa; overflow: hidden; margin-bottom: 16px; } .pic-list li .pic img{ display: block; width: 100%; height: 213px; } .pic-list li .title, .pic-list li .date{ display: block; padding: 0 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; -webkit-transition:all 0.6s; -moz-transition:all 0.6s; -ms-transition:all 0.6s; -o-transition:all 0.6s; transition:all 0.6s; } .pic-list li .title{ height: 30px; line-height: 30px; margin-bottom: 5px; font-size: 18px; } .pic-list li .date{ height: 24px; line-height: 24px; color: #666; } .scroll-views{ display: flex; height: 322px; width: 100%; padding-bottom: 32px; overflow: hidden; overflow-x: auto; margin-bottom: 60px; } /* 设置滚动条的宽度、高度、背景色和边框样式 */ .scroll-views::-webkit-scrollbar { width: 5px; height: 5px; background-color: #c3a978; border-radius: 5px; } /* 设置滚动条滑块的背景色和圆角 */ .scroll-views::-webkit-scrollbar-thumb { background-color: #c3a978; border-radius: 5px; } /* 设置滚动条滑块在悬停状态下的背景色和圆角 */ .scroll-views::-webkit-scrollbar-thumb:hover { background-color: #c3a978; border-radius: 5px; } /* 设置滚动条轨道的背景色和圆角 */ .scroll-views::-webkit-scrollbar-track { background-color: #e6e6e6; border-radius: 5px; } /* 设置滚动条轨道在悬停状态下的背景色和圆角 */ .scroll-views::-webkit-scrollbar-track:hover { background-color: #e6e6e6; border-radius: 5px; } .pic-list li:hover{ background-color: #0a4b9d; border-color: #0a4b9d; background-image: url(/uploads/image/cmbimg/tjbh-list-icon-hover.png); } .pic-list li:hover .title a, .pic-list li:hover .date{ color: white; } .pic-list li:hover .title, .pic-list li:hover .date{ padding-left: 26px; } /* 数字滨职 */ #ind-about .mhd h3{ background-image: url(/uploads/image/cmbimg/tjbh-ind-box-hd-m-white.png); } #ind-about .mhd h3 a{ color: white; } #ind-about .mhd .eng{ color: white; } #ind-about .mhd h3:before{ background-image: url(/uploads/image/cmbimg/tjbh-ind-box-hd-l-white.png); } #ind-about .mhd h3:after{ background-image: url(/uploads/image/cmbimg/tjbh-ind-box-hd-r-white.png); } .about-list{ display: flex; justify-content: space-between; } .about-list li{ width: 121px; color: white; text-align: center; -webkit-transition:all 0.6s; -moz-transition:all 0.6s; -ms-transition:all 0.6s; -o-transition:all 0.6s; transition:all 0.6s; } .about-list li .icon{ display: block; position: relative; width: 100%; height: 121px; line-height: 121px; margin-bottom: 20px; } .about-list li .icon .iconfont{ display: block; font-size: 70px; } .about-list li .icon:after{ position: absolute; z-index: 1; left: 0; top: 0; content: ""; width: 100%; height: 121px; float: left; overflow: hidden; background: url(/uploads/image/cmbimg/tjbh-ind-about-bg.png) center center no-repeat; } .about-list li .intro{ font-size: 32px; line-height: 1.4; } .about-list li .tip{ font-size: 14px; color: rgba(255,255,255,0.7); } .about-list li:hover{ margin-top: -20px; } .about-list li .icon-zy{ padding-top: 6px; } /* 媒体滨职 */ #new-media .mhd .node{ width: auto; float: left; font-size: 32px; font-weight: bold; color: #333; } #new-media .mhd .node .iconfont{ font-size: 30px; color: #0a4b9d; margin-right: 8px; } #new-media .mhd a:hover{ text-decoration: none; } #new-media .list-icon { position: absolute; right: 0; top: 50px; display: flex; justify-content: center; } #new-media .list-icon li { position: relative; z-index: 1; margin: 0 8px; } #new-media .list-icon li a { display: block; width: 40px; height: 40px; line-height: 40px; text-align: center; border: 1px solid #d8d8d8; border-radius: 50%; color: #999; transition: all 1s ease; -webkit-transition: all 1s ease; } #new-media .list-icon li .iconfont { font-size: 22px; color: #999; } #new-media .list-icon li:hover a { color: #999; text-decoration: none; } #new-media .list-icon li:hover .iconfont { color: white; } #new-media .list-icon li .pic { position: absolute; display: block; background: #fff; left: 50%; top: 100%; width: 120px; padding: 0; box-shadow: 0 0 3px rgba(0, 0, 0, .15); margin: 7px 0 0 -60px; visibility: hidden; opacity: 0; border-radius: 5px; } #new-media .list-icon li .pic::before { position: absolute; content: ""; left: 50%; bottom: 100%; margin-left: -5px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #fff; } #new-media .list-icon li:hover a { border-left-color: #004898; background: #004898; } #new-media .list-icon li.wx:hover a { border-color: #33ad6a; background: #33ad6a; } #new-media .list-icon li.dy:hover a { border-color: #290700; background: #290700; } #new-media .list-icon li:hover .pic { display: block; visibility: visible; opacity: 1; } /* 媒体滨职-信息列表 */ .media-pic-list { overflow: hidden; margin-right: -20px; } .media-pic-list li { position: relative; float: left; width: 385px; height: 256px; margin: 20px 20px 0 0; } .media-pic-list li.nodata { color: #999; } .media-pic-list li .pic { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .media-pic-list li .pic img { width: 100%; height: 100%; } .media-pic-list li .pic a { position: relative; display: block; width: 100%; height: 100%; } .media-pic-list li .pic a::before { position: absolute; content: ''; left: 0; bottom: 0; width: 100%; height: 60px; background: #000; opacity: 0.25; } .media-pic-list li .title { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; line-height: 60px; overflow: hidden; } .media-pic-list li .title a { position: relative; z-index: 1; display: block; padding: 0 10px 0 56px; font-size: 18px; color: #fff; } .media-pic-list li .title .iconfont { position: absolute; z-index: 1; left: 12px; top: 14px; width: 32px; height: 32px; float: left; overflow: hidden; text-align: center; line-height: 30px; font-size: 0.9em; border-radius: 6px; } .media-pic-list li .title .icon-wx { background-color: #33ad6a; } .media-pic-list li .title .icon-dy { background-color: #290700; } .media-pic-list li .title .icon-wx:before { content: "\e674"; } .media-pic-list li .title .icon-dy:before { content: "\e675"; } .media-pic-list li .pic a::before, .media-pic-list li .title a{ transition: all 0.5s ease; -webkit-transition: all 0.5s ease; } .media-pic-list li:hover .pic a::before { height: 100%; } .media-pic-list li:hover .title a { text-decoration: none; } /* 专题专栏 */ #ind-special .mbd{ position: relative; margin-bottom: 100px; overflow: hidden; } #ind-special .prev, #ind-special .next{ position: absolute; z-index: 1; top: 50%; width: 18px; height: 30px; line-height: 30px; float: left; margin-top: -15px; overflow: hidden; text-align: center; background-color: rgba(0,0,0,0.5); } #ind-special .prev{ left: 0; border-radius: 0 10px 10px 0; } #ind-special .next{ right: 0; border-radius: 10px 0 0 10px; } #ind-special .prev:hover, #ind-special .next:hover{ background-color: rgba(0,0,0,0.8); } #ind-special .prev:after, #ind-special .next:after{ content: ""; width: 0; height: 0; display: inline-block; border-width: 6px; border-style: solid; } #ind-special .next:after{ margin-left: 9px; border-color: transparent transparent transparent white; } #ind-special .prev:after{ margin-left: -9px; border-color: transparent white transparent transparent ; } .node-pic-list{ height: 100px; overflow: hidden; } .node-pic-list li{ width: 285px; float: left; margin-right: 20px; } .node-pic-list li .tit{ display: none; } .node-pic-list li .pic img{ width: 100%; height: 100px; } /* ========================================================================== 页面切屏-动态效果 ========================================================================== */ @keyframes slideinfromleft { 0% { transform: translatex(-100%); /* 初始位置在屏幕左侧 */ } 100% { transform: translatex(0); /* 最终位置在屏幕中央 */ } } @keyframes slideinfromright { 0% { transform: translatex(100%); /* 初始位置在屏幕右侧 */ } 100% { transform: translatex(0); /* 最终位置在屏幕中央 */ } } @keyframes slideinfrombottom { 0% { transform: translatey(100%); /* 初始位置在屏幕底部 */ } 100% { transform: translatey(0); /* 最终位置在屏幕中央 */ } } @keyframes slideinfromtop { 0% { transform: translatey(-100%); /* 初始位置在屏幕顶部 */ } 100% { transform: translatey(0); /* 最终位置在屏幕中央 */ } } .slide-active .slide-left{ animation: slideinfromleft 1.2s forwards; } .slide-active .slide-right{ animation: slideinfromright 1.2s forwards; } .slide-active .slide-bottom{ animation: slideinfrombottom 1.2s forwards; } .slide-active .slide-top{ animation: slideinfromtop 1.2s forwards; }