.state-index-yearendreport .app { position: relative; z-index: 2; width: 100%; } .state-index-yearendreport .app-body { display: block; padding: 0; } .state-index-yearendreport .app, .state-index-yearendreport .app-body { height: 100%; overflow: hidden; } .state-index-yearendreport .app-content { display: block; height: 100%; padding: 0; overflow: hidden; } /* 隐藏考试按钮 */ .state-modalPage-course-detail .course-test__btn { display: none; } /* Up arrow */ @keyframes bounce { from, 20%, 53%, 80%, to { animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); transform: translate3d(0, 0, 0); } 40%, 43% { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); transform: translate3d(0, -15px, 0); } 70% { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); transform: translate3d(0, -5px, 0); } 90% { transform: translate3d(0, -2px, 0); } } .bounce { animation-name: bounce; transform-origin: center bottom; animation-iteration-count: infinite; } /* Up arrow */ /* firework animates */ @keyframes zoomIn { from { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); } 50% { opacity: 1; } } .zoomIn { animation-name: zoomIn; } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } .fadeOut { animation-name: fadeOut; } .firework { background-image: url({CDN_HOST}static/assets/images/year-end-report/firework.png); background-repeat: no-repeat; background-size: cover; position: absolute; z-index: 2; pointer-events: none; } /* firework animates */ /* 小人摆动 */ @keyframes swing { 20% { transform: rotate3d(0, 0, 1, 15deg); } 40% { transform: rotate3d(0, 0, 1, -10deg); } 60% { transform: rotate3d(0, 0, 1, 5deg); } 80% { transform: rotate3d(0, 0, 1, -5deg); } to { transform: rotate3d(0, 0, 1, 0deg); } } .swing { transform-origin: bottom center; animation-name: swing; animation: swing 2s 4s both infinite; } .swing1 { transform-origin: bottom center; animation-name: swing; animation: swing 2s 3s both infinite; } /* 小人摆动 */ .swiper-container{width: 100%;height: 100%;} .swiper-slide-content{width: 100%;height: 100%;background-size: cover;} .next { position: absolute; bottom: 1rem; left:0; right:0; z-index: 99; } .next a { width: 1.667rem; height: 1.667rem; } .share { position: absolute; bottom: 4rem; left:0; right:0; z-index: 99; } /* music animate */ @keyframes rotate{ from{transform: rotate(0deg)} to{transform: rotate(359deg)} } .rotate { -webkit-transition-property: -webkit-transform; -webkit-transition-duration: 1s; -moz-transition-property: -moz-transform; -moz-transition-duration: 1s; -webkit-animation: rotate 3s linear infinite; -moz-animation: rotate 3s linear infinite; -o-animation: rotate 3s linear infinite; animation: rotate 3s linear infinite; } .music { background-image: url({CDN_HOST}static/assets/images/year-end-report/music-on.png); background-size: cover; width: 2rem; height: 2rem; position: absolute; top: 2rem; right: 2rem; z-index: 999; /* ios */ margin-top: constant(safe-area-inset-top); margin-top: env(safe-area-inset-top); } .music.off { background-image: url({CDN_HOST}static/assets/images/year-end-report/music-off.png); opacity: 0.6; } /*******************************/ /********************************/ @keyframes flipInY { from { transform: perspective(400px) rotate3d(0, 1, 0, 90deg); animation-timing-function: ease-in; opacity: 0; } 40% { transform: perspective(400px) rotate3d(0, 1, 0, -20deg); animation-timing-function: ease-in; } 60% { transform: perspective(400px) rotate3d(0, 1, 0, 10deg); opacity: 1; } 80% { transform: perspective(400px) rotate3d(0, 1, 0, -5deg); } to { transform: perspective(400px); } } .flipInY { backface-visibility: visible !important; animation-name: flipInY; } /********************************/ /*************************************/ @keyframes jackInTheBox { from { opacity: 0; transform: scale(0.1) rotate(30deg); transform-origin: center bottom; } 50% { transform: rotate(-10deg); } 70% { transform: rotate(3deg); } to { opacity: 1; transform: scale(1); } } .jackInTheBox { animation-name: jackInTheBox; } /*************************************/ .loading-container { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #fff; z-index: 1000; display: flex; justify-content: center; align-items: center; } a.return-btn { top: 1rem; left: 2rem; width: 2.5rem; height: 2.5rem; /* ios */ margin-top: constant(safe-area-inset-top); margin-top: env(safe-area-inset-top); } .state-index-yearendreport .return-btn .iconfont { margin-top: 0; line-height: 2.5rem; } .state-index-yearendreport .return-btn .iconfont:before { position: static; line-height: 2.5rem; } .slide-page-outer { width: 100%; height: 100%; background:#434343; background-size: cover; background-repeat: no-repeat; text-align: left; letter-spacing: 0.18px; background: transparent; min-height: 300px; } .slide-page-inner { height: 100%; padding: 12% 2rem; position: absolute; left: 0; right: 0; z-index: 1; margin-top: constant(safe-area-inset-top); margin-top: env(safe-area-inset-top); } .slide-page-inner p, .d-table { font-size: 1.42rem; color: #FFFFFF; line-height: 1.667rem; padding: 1.5rem 0; letter-spacing: 0.1px; } .slide-page-inner .emphasised { font-size: 2rem; font-weight: bold; color: #FFCD00; margin: 0 4px; letter-spacing: 0.15px; } .item-emphasised { color: #FFCD00; font-weight: bold; } .d-table { display: table; width: 100%; height: 95%; } .d-row { display: table-row; } .d-row.empty { height: 2rem; } .d-cell { display: table-cell; vertical-align: middle; } .slide-page-inner.d-table { padding: 4rem 2rem 4rem 2rem; text-align: center; } .vertical-middle { vertical-align: middle; } .slide-page-subject { position: absolute; bottom: 6rem; width: 100%; height: 20rem; display: table-cell; text-align: center; } .slide-page-subject > img { height: 23.3333rem; width: 23.3333rem; } .slide-page-img-content { height: 17.5rem; } /* Page 1 */ .slide-page-outer.slide-page-1 { text-align: center; } .slide-page-1 .slide-page-inner { padding: 8% 2rem; } .slide-page-title { height: 33%; width: 100%; padding: 3rem; background-image: url({CDN_HOST}static/assets/images/year-end-report/p1-1.png); background-size: contain; background-repeat: no-repeat; background-position: center; } .slide-page-body { height: 40%; width: auto; } .view { height: 30%; display: flex; align-items: center; justify-content: center; } /* Page 2 */ .slide-page-subject-bg { background-image: url({CDN_HOST}static/assets/images/year-end-report/p2.png); background-size: contain; background-position: bottom; background-repeat: no-repeat; width: 100%; height: 210px; margin: 0 auto; position: static; } .slide-page-2 .line1 { text-align: center; height: 10%; } .slide-page-2 .slide-page-inner .emphasised.line1 { margin: 0; } .slide-page-2 .line2 { text-align: center; height: 20%; line-height: 3rem; } .slide-page-2 .line3 { text-align: center; height: 20%; min-width: auto; width: 100%; line-height: 3rem; } /* Page 3 */ .slide-page-3 .d-table { height: 50%; margin-top: 10%; } .slide-page-3 .page-line { height: 10%; text-align: center; } .slide-page-3 .page-line.image { height: 30%; padding: 1rem; } .slide-page-3 .page-line.image img { width: auto; height: 100%; } .slide-page-3 .slide-page-subject-bg { background-image: url({CDN_HOST}static/assets/images/year-end-report/p3.png); width: 72.8%; } /* Page 4 */ .slide-page-4 .slide-page-inner .emphasised { line-height: 3rem } /* Page 5 */ .slide-page-5 .slide-page-inner { text-align: center; height: 60%; } .slide-page-5 .page-line { display: table-row; vertical-align: middle; } .slide-page-5 .slide-page-subject-bg { background-image: url({CDN_HOST}static/assets/images/year-end-report/p5.png); } .slide-page-5 .row1, .slide-page-5 .row2, .slide-page-5 .row3 { height: 20%; } .slide-page-5 .row4 { line-height: 3rem; } .slide-page-5 .row4 .d-cell { vertical-align: bottom; } /* Page 6 */ .slide-page-6 .d-table { text-align: center; height: 55%; } .slide-page-6 .item-emphasised .d-cell { vertical-align: bottom; } .slide-page-6 .slide-page-subject-bg { background-image: url({CDN_HOST}static/assets/images/year-end-report/p6.png); } /* Page 7 */ .slide-page-7 .d-table { text-align: center; height: 55%; } .modal-list { white-space: nowrap; } .slide-page-7 .slide-page-subject-bg { background-image: url({CDN_HOST}static/assets/images/year-end-report/p7.png); } /* Page 8 */ .slide-page-8 .slide-page-inner.d-table { height: 70%; } .slide-page-8 .slide-page-subject-bg { background-image: url({CDN_HOST}static/assets/images/year-end-report/p8.png); } .slide-page-8 .d-cell { vertical-align: top; } .slide-page-8 .d-cell.vertical-middle { vertical-align: middle; line-height: 3rem; height: 28%; } /* Page 9 */ .slide-page-9 .slide-page-inner.d-table { height: 65%; } .slide-page-9 .slide-page-subject-bg { background-image: url({CDN_HOST}static/assets/images/year-end-report/p9.png); } /* Page 10 */ .slide-page-10 .item-emphasised { line-height: 3rem; } /* Page 11 */ .slide-page-11 .slide-page-inner p, .slide-page-11 .d-table { text-shadow: none; } .summary { height:100%; padding-top: 4rem; } .summary-body { background-image: url({CDN_HOST}static/assets/images/year-end-report/summary-body.png); background-size: cover; background-repeat: no-repeat; height: 100%; padding-bottom: 16rem; } .summary-body .title { padding: 5rem 4rem 1rem 4rem; } .slide-page .item-emphasised { color: #FE2C00; } .summary-bottom { background-image: url({CDN_HOST}static/assets/images/year-end-report/summary-bottom.png); background-size: contain; background-repeat: no-repeat; background-position: bottom; height: 16rem; width: 100%; position: absolute; bottom: 0; left: 0; z-index: 1; } .slide-page-11 .d-table { height: 100%; padding: 0rem; } .summary-body-content .content { color: #444968; } .summary-body-content .content .emphasised { font-weight: bold; font-size: 2rem; color: #FE2C00; } .slide-page-11 .summary-body .summary-body-tail { position: absolute; bottom: -21px; left: -1px; right: 0px; background-image: url({CDN_HOST}static/assets/images/year-end-report/p11-2-1.png); background-size: cover; height: 24px; border: 0; } .slide-page-11 .summary-body .summary-body-tail-plus { position: absolute; right: -18px; bottom: -21px; width: 18px; height: 24px; background-image: url({CDN_HOST}static/assets/images/year-end-report/p11-2-2.png); background-size: cover; background-repeat: no-repeat; border: 0; } .slide-page-footer { display: none; /* default is hidden */ height: 6rem; background: #fff; position: absolute; bottom: 0; z-index: 2; left: 0; right: 0; } .slide-page-footer .left { width: 0; height: 0; border-bottom: 3rem solid #fff; border-right: 400px solid transparent; position: absolute; top: -2rem; } .slide-page-footer .right { width: 0; height: 0; border-bottom: 3rem solid #fff; border-left: 400px solid transparent; position: absolute; top: -2rem; right: 0; } .avatar-container { display: none; position: absolute; left: 0; right: 0; bottom: 2rem; color: #555; } .avatar-container img { width: 5rem; height: 5rem; border: 2px solid #fff; margin-bottom: 1rem; } .image-randering .slide-page-11 .d-table { padding-bottom: 0; height: 100%; } .image-rendering .slide-page-footer { display: block; height: 10%; } .image-rendering .avatar-container { display: block; } .image-rendering .share { display: none; } @media (device-height:568px) and (-webkit-min-device-pixel-ratio:2){/* 兼容iphone5 */ .slide-page-8 .slide-page-subject { bottom: 2rem; } .slide-page-9 .slide-page-subject { bottom: 3rem; } .summary-body { padding-bottom:13rem; } } @media (device-height:667px) and (-webkit-min-device-pixel-ratio:2){/*兼容iphone6,iphone7,iphone8s :*/ .slide-page-8 .d-cell.vertical-middle { height:36%; } } @media (device-height:736px) and (-webkit-min-device-pixel-ratio:2){/*兼容iphone6 Plus,iphone7 Plus,iphone8 Plus:*/ .slide-page-8 .d-cell.vertical-middle { height:32%; } } @media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3){/*兼容iphoneX*/ .slide-page-8 .d-cell.vertical-middle { height:28%; } .slide-page-subject { bottom: 8rem; } .slide-page-8 .slide-page-subject, .slide-page-9 .slide-page-subject { bottom: 6rem; } }