.text-right {text-align: right;} .text-center {text-align: center;} .hide{display:none;} .main img{ width: auto; display: block; margin: 0 auto; max-width: 98%; border-radius: 6px; } .swiper-container{ width: 100%; height: 100%; overflow: hidden; xpadding: 30px 0; } .swiper-slide{ height:100% !important; padding: 0 60px; font-size: 16px; overflow: auto; -webkit-box-sizing: border-box; box-sizing: border-box; font-family:microsoft yahei; line-height:1.8; } .swiper-slide h2{ font-size: 20px; font-weight: bold; text-align: center; color: #e06e54; margin-top: 10px; } .swiper-slide h2 h2 { margin-top: 0; } .swiper-slide p{ text-indent: 2em; } /* .swiper-slide h1{ color: #4390ee; font-size: 26px; font-weight: bold; text-align: center; line-height: 60px; letter-spacing: 1px; } */ .swiper-slide h1{ color: #fff; font-size: 25px; font-weight: bold; text-align: center; line-height: 60px; letter-spacing: 1px; background: #4390ee; border-radius: 30px; max-width: 1000px; margin: 12px auto 20px; } .swiper-button-prev{ transition: all .3s; opacity: 0; transform: translatex(-30px); } .swiper-button-next{ transition: all .3s; opacity: 0; transform: translatex(30px); } .swiper-container:hover .swiper-button-prev,.swiper-container:hover .swiper-button-next{ opacity: 1; transform: translatex(0); } .swiper-container:hover .swiper-button-next{ transform: translatex(-10px); } .swiper-slide::-webkit-scrollbar { /*滚动条整体样式*/ width : 10px; /*高宽分别对应横竖滚动条的尺寸*/ height: 1px; } .swiper-slide::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius : 10px; background-color: #007aff; } .swiper-slide::-webkit-scrollbar-track { /*滚动条里面轨道*/ box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2); background : #ededed; border-radius: 10px; } .bg { position: absolute; z-index: 99; left: 0; top: 0; width: 100%; height: 100%; background: #fbf9ed url(/uploads/image/2img/bg.jpg) no-repeat center center / 100% 100%; } .bg .title { font-size: 44px; line-height: 1.7; font-weight: bold; color: #d0813e; text-align: center; position: relative; top: 26%; font-family: '华文行楷', 'kaiti','microsoft yahei', 'simsun'; } .bg .hosp { font-size: 38px; font-weight: bold; color: #d0813e; text-align: center; position: absolute; font-family: '华文行楷', 'kaiti','microsoft yahei', 'simsun'; bottom: 10%; left: 0; right: 0; margin: 0 auto; } .bg .view{ cursor: pointer; display: inline-block; font-size: 27px; } #tips { text-align: center; font-size: 12px; color: #f33; font-weight: bold; position: relative; z-index: 9999; }