.content { width: 1200px; margin: 0 auto; padding: 0; overflow: visible; height: auto; } body { font-size: 18px; } .index-content { background: #f7faff; } /*banner*/ .index-teacher .banner { height: 684px; } .index-teacher .banner .main-bg { width: 100%; height: 100%; max-width: 2000px; min-width: 1200px; margin: 0 auto; background: center center no-repeat; background-size: 1918px 684px; position: relative; } @keyframes sport { 0%{opacity: 0} 50%{opacity: 0} 100%{opacity: 1.0} } .index-teacher .banner-content { animation: sport 1s 1; position: absolute; bottom: 134px; } .index-teacher .banner-content-teacher { display: flex; align-items: center; justify-content: center; } .index-teacher .app-item { width: 222px; height: 79px; background: radial-gradient(#01bab4 0%, #1cb2c3 100%); border-radius: 4px 4px 4px 4px; margin-right: 20px; color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 2px 6px 26px 0px #26a29e80; text-decoration: none; transition: transform 0.4s; } .index-teacher .app-item:hover, .index-teacher .app-item:visited, .index-teacher .app-item:active{ color: #fff; } .index-teacher .app-item:hover { transform: translate(0%, -10%) rotate(0deg); box-shadow: none; } .index-teacher .app-item img { height: 38px; width: auto; margin-right: 9px; } /*免费课程*/ .teacher-index-title { text-align: center; padding-top: 70px; } .teacher-index-title img { height: 91px; } .teacher-index-free .teacher-index-title img { margin-bottom: 26px; } .teacher-index-free { padding-bottom: 37px; } .teacher-index-free .teacher-index-free-course { display: flex; flex-wrap: wrap; } .teacher-index-free .free-course-item { width: 384px; height: 261px; margin-right: 24px; margin-bottom: 25px; border-radius: 10px; box-shadow: 0px 0px 12px 0px rgba(16, 60, 231, 0.1); position: relative; } .teacher-index-free .free-course-item:hover .live-title p{ color: #01bab4; } .teacher-index-free .free-course-item:nth-child(3n) { margin-right: 0; } .teacher-index-free .free-course-item a { display: block; } .teacher-index-free .free-course-item a:hover, .teacher-index-free .free-course-item a:visited, .teacher-index-free .free-course-item a:active, .teacher-index-free .free-course-item a:link { text-decoration: none; } .teacher-index-free .free-course-item .live-teacher-list { height: 80px; } .live-info { padding: 11px 0 0; background: #ffffff; box-shadow: 0px 0px 12px 0px #efefef; border-radius: 12px 12px 12px 12px; } .live-info .live-header { margin-bottom: 10px; height: 96px; } .live-info .live-title { display: flex; margin-bottom: 0; padding: 0 22px; cursor: pointer; } .live-info .live-title p { font-size: 18px; line-height: 20px; overflow: hidden; margin-bottom: 12px; white-space: nowrap; text-overflow: ellipsis; color: #333333; font-weight: bold; } .try-video { width: 42px; height: 58px; margin-right: 5px; margin-top: -3px; position: absolute; right: -10px; top: -7px; } .live-info .live-label { display: flex; font-size: 12px; margin-bottom: 12px; flex-wrap: wrap; padding: 2px 22px; } .live-info .live-label-item { border-radius: 3px; padding: 5px 8px; margin-right: 10px; } .live-info .lable1 { background: #fffbfb; color: #0052d9; } .live-info .lable2 { background-color: #e3f9e9; color: #2ba471; } .live-info .lable3 { background: #f3f3f3; color: rgba(0, 0, 0, 0.9); } .live-detail { display: flex; align-items: center; margin-bottom: 13px !important; padding: 0 12px 0 22px; font-size: 14px; color: #666666; } .live-detail span { margin-right: 4px!important; color: #999; } .live-teacher-list { /*width: 100%;*/ height: 84px; display: flex; overflow: hidden; border-bottom: 1px solid #f1f1f1; margin-bottom: 0!important; flex-wrap: wrap; padding-bottom: 5px; margin-left: 20px; margin-right: 20px; } .teacher-item { width: 50px; margin-right: 15px; text-align: center; margin-bottom: 30px; } .teacher-pic { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; margin: 0 auto 5px; border: solid 1px #ddd; display: flex; align-items: center; justify-content: center; } .teacher-pic img { height: 100%; } .teacher-name { font-weight: 400; font-size: 12px; color: #6a77aa; } .arrow-right { width: 0; height: 0; border-width: 6px 0 6px 8px; border-style: solid; border-color: transparent transparent transparent #c9c9c9; margin-right: 5px; } .live-item-footer { display: flex; align-items: center; justify-content: space-between; height: 60px; margin-bottom: 0!important; padding: 0 22px; } .live-item-footer .has-buy { color: #818a92; font-size: 14px; } .live-item-footer .live-item-right { color:#ff4623; font-size: 16px; margin-right: 0 } .live-item-footer .live-price { color: #ef4023; font-size: 24px; font-weight: bold; } /*优势对比*/ .teacher-index-advantage { background: center center no-repeat; background-size: cover; height: 818px; } .teacher-index-advantage .content { overflow: visible; } .teacher-index-advantage .teacher-index-title img { margin-bottom: 45px; } .teacher-index-advantage .advantage-wrapper { display: flex; align-items: center; position: relative; } .teacher-index-advantage .advantage-left { width: 650px; height: 502px; background: #f3f7fb; border-radius: 24px 24px 24px 24px; } .teacher-index-advantage .advantage-title { font-weight: bold; font-size: 30px; color: #333333; margin-bottom: 44px; padding-top: 51px; padding-left: 183px; } .teacher-index-advantage .advantage-right { width: 721px; height: 634px; background: center center no-repeat; background-size: cover; position: absolute; right: -52px; } .teacher-index-advantage .advantage-title2 { margin: 0 auto 6px; text-align: center; padding-top: 82px; } .teacher-index-advantage .advantage-row { display: flex; align-items: center; padding-left: 18px; height: 85px; width: 452px; margin-left: 43px; border-bottom: 1px solid #d2d6dc; cursor: pointer; } .teacher-index-advantage .advantage-row.hover{ background: #fff; border-radius: 4px; } .teacher-index-advantage .advantage-row.row2.hover .advantage-info, .teacher-index-advantage .advantage-row.row2.hover .advantage-detail{ color: #242424; } .teacher-index-advantage .advantage-row.row2 { width: 480px; margin-left: 107px; padding-left: 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.45); } .teacher-index-advantage .advantage-row.row1:before { content: ''; display: inline-block; background: center center no-repeat; background-size: contain; width: 24px; height: 24px; margin-right: 34px; } .teacher-index-advantage .advantage-row.row2:before { content: ''; display: inline-block; background: center center no-repeat; background-size: contain; width: 24px; height: 24px; margin-right: 34px; } .teacher-index-advantage .advantage-row.row2.hover:before { content: ''; display: inline-block; background: center center no-repeat; background-size: contain; width: 24px; height: 24px; margin-right: 34px; } .teacher-index-advantage .advantage-info { font-size: 14px; font-weight: bold; color: #333333; width: 32px; margin-right: 38px; line-height: 16px; } .teacher-index-advantage .row2 .advantage-info { color: #ffffff; margin-right: 45px; } .teacher-index-advantage .advantage-detail { font-size: 16px; color: #777777; flex: 1; padding-right: 38px; } .teacher-index-advantage .row2 .advantage-detail { color: #ffffff; } /*师资风采*/ .teacher-index-intro .teacher-index-title img { margin-bottom: 16px; } .teacher-index-intro .teacher-intro-wrapper { background: center center no-repeat; background-size: contain; height: 711px; width: 1257px; display: flex; /*align-items: center;*/ margin-left: -29px; position: relative; } .teacher-index-intro .intro-left { border-right: 1px solid rgba(1, 186, 180, 0.29); padding-left: 29px; margin-top: 60px; } .teacher-index-intro .intro-item { display: flex; align-items: center; padding: 49px 51px 33px 58px; margin-right: 15px; position: relative; } .teacher-index-intro .intro-item.active { background: center center no-repeat; background-size: cover; cursor: pointer; } .teacher-index-intro .intro-item.active:before { content: ''; display: inline-block; width: 3px; height: 139px; background: radial-gradient( #01bab4 0%, #1cb2c3 100%); position: absolute; left: 0; top: 0; } .teacher-index-intro .intro-avatar { width: 56px; height: 59px; background: #e6e6e6; border-radius: 8px 8px 8px 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-right: 26px; } .teacher-index-intro .intro-avatar img { height: 100%; } .teacher-index-intro .intro-detail { font-size: 16px; color: #242424; } .teacher-index-intro .intro-name { color: #01bab4; font-weight: bold; font-size: 20px; } .show-more { font-size: 16px; color: #242424; margin-left: 87px; margin-top: 12px; display: flex; align-items: center; } .show-more img { height: 14px; margin-left: 5px; } .show-more:hover, .show-more:visited, .show-more:active { text-decoration: none; color: #242424; font-weight: bold; } .teacher-index-intro .intro-right { display: none; padding: 122px 120px 98px 45px; } .teacher-index-intro .intro-right.active { display: block; } .teacher-index-intro .intro-right-header { display: flex; margin-bottom: 28px; align-items: baseline; } .teacher-index-intro .intro-right-name { font-weight: bold; font-size: 32px; color: #242424; margin-right: 26px; } .teacher-index-intro .intro-title { font-size: 18px; color: #022424; } .teacher-index-intro .intro-score { width: 135px; height: 49px; background: radial-gradient( #01bab4 0%, #1cb2c3 100%); box-shadow: 2px 6px 26px 0px #26a29e80; border-radius: 4px 4px 4px 4px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #ffffff; margin-bottom: 28px; } .teacher-index-intro .intro-score img { width: 21px; margin-right: 10px; } .teacher-index-intro .intro-info { font-size: 14px; color: #022424; line-height: 32px; width: 378px; } .teacher-index-intro .intro-img { position: absolute; top: 182px; right: 120px; background: #e6e6e6; box-shadow: 0px 0px 12px 0px #efefef; border-radius: 4px 4px 4px 4px; border: 1px solid #ffffff; } .teacher-index-intro .intro-img img { width: 283px; height: 368px; object-fit: cover; border-radius: 4px; } .teacher-index-intro .intro-link { cursor: pointer; width: 124px; height: 49px; background: radial-gradient(#01bab4 0%, #1cb2c3 100%); border-radius: 4px 4px 4px 4px; box-shadow: 2px 6px 26px 0px #26a29e80; position: absolute; bottom: -23px; right: -44px; font-size: 16px; color: #ffffff; text-align: center; line-height: 49px; transition: transform 0.4s; } .teacher-index-intro .intro-link:hover, .teacher-index-intro .intro-link:visited, .teacher-index-intro .intro-link:active { color: #ffffff; transform: translate(0%, -10%) rotate(0deg); text-decoration: none; }