@media screen and (min-width: 768px) { .main { .about { .cover { img { display: block; width: 470px; height: 480px; } } .info { width: 660px; padding-top: 65px; .name { font-size: 50px; color: #f3920d; font-weight: bold; } .subname { font-size: 30px; margin-top: 15px; } .line { width: 36px; height: 7px; background: #f3920d; margin: 20px 0 50px; } .description { font-size: 20px; text-align: justify; word-break: break-all; font-weight: lighter; line-height: 36px; } } } .therapy { .section { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; position: relative; background: #eeeeee; height: 400px; margin-top: 44px; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 0 20px; .cover { -ms-flex-negative: 0; flex-shrink: 0; img { display: block; width: 450px; height: 360px; } } .info { -ms-flex-negative: 0; flex-shrink: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; -webkit-box-sizing: border-box; box-sizing: border-box; margin-left: 40px; .name { font-size: 36px; font-weight: bold; color: #f3920d; } .description { font-size: 26px; color: #434343; line-height: 36px; font-weight: lighter; text-align: justify; word-break: break-all; padding-right: 20px; margin-top: 36px; } } &:nth-child(2n-1) { .link { right: 40px; bottom: 20px; } } &:nth-child(2n) { .link { left: 60px; bottom: 20px; } } .link { position: absolute; display: block; width: 164px; height: 50px; line-height: 50px; text-align: center; -webkit-box-sizing: border-box; box-sizing: border-box; padding-right: 30px; background: url('/img/binary-icon-link.png') no-repeat; background-position: 144px center; background-color: #000000; font-size: 25px; color: #f3920d; cursor: pointer; } } } .application { .content { .item { position: relative; float: left; height: 340px; width: 390px; margin-right: 15px; margin-bottom: 15px; -webkit-box-sizing: border-box; box-sizing: border-box; overflow: hidden; .cover-bg { width: 100%; height: 100%; opacity: 1; -webkit-transition: all 0.4s; transition: all 0.4s; background: #f3920d; } img { width: 100%; height: 100%; opacity: 1; -webkit-transition: all 0.4s; transition: all 0.4s; } &.no-mb { margin-bottom: 0; } &.no-mr { margin-right: 0; } &:nth-child(1), &:nth-child(7) { width: 795px; } &:hover { img { -webkit-transform: scale(1.2); transform: scale(1.2); } .cover { opacity: 1; } } .cover { opacity: 0; position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; background: rgba(0, 0, 0, 0.2); -webkit-transition: opacity 0.4s; transition: opacity 0.4s; .title { color: #fff; font-size: 38px; } .subtitle { font-size: 29px; color: #fff; font-weight: lighter; margin-top: 10px; } } } } } .device { .content { position: relative; .swiper-container { width: 1100px; margin: 0 auto; img { display: block; width: 100%; } } .swiper-prev, .swiper-next { position: absolute; left: 0; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); width: 48px; height: 72px; background-color: rgba(55, 55, 55, 0.6) !important; z-index: 5; cursor: pointer; background: url(/img/icon-arrow-left.png) no-repeat center; } .swiper-next { left: unset; right: 0; background: url(/img/icon-arrow-right.png) no-repeat center; } } } } } @media screen and (max-width: 768px) { .main { .about { .content { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: reverse; -ms-flex-direction: column-reverse; flex-direction: column-reverse; -webkit-box-align: center; -ms-flex-align: center; align-items: center; .cover { float: unset !important; margin-top: 0.4rem; img { display: block; width: 5.64rem; height: 5.57rem; margin: 0 auto; } } .info { float: unset !important; width: 6.5rem; text-align: center; .name { font-size: 0.34rem; color: #f3920d; } .subname { font-size: 0.26rem; margin-top: 0.16rem; } .line { width: 0.4rem; height: 0.06rem; background: #f3920d; margin: 0.32rem auto; } .description { font-size: 0.26rem; text-align: justify; word-break: break-all; // font-weight: lighter; line-height: 0.48rem; color: #333333; } } } } .therapy { .section { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-sizing: border-box; box-sizing: border-box; width: 6.86rem; margin: 0 auto; background: #eeeeee; margin-top: 0.32rem; padding: 0.4rem; &:first-child { margin-top: 0; } .cover { width: 4.5rem; height: 3.6rem; img { display: block; width: 100%; height: 100%; } } .info { .name { font-size: 0.3rem; font-weight: bold; color: #f3920d; text-align: center; margin: 0.4rem 0 0.32rem; } .description { font-size: 0.26rem; color: #333; line-height: 0.48rem; text-align: justify; word-break: break-all; text-align: center; } } .link { display: block; width: 2.48rem; height: 0.78rem; line-height: 0.78rem; text-align: center; background-color: #000000; font-size: 0.26rem; color: #f3920d; cursor: pointer; margin-top: 0.48rem; } } } .application { width: 6.86rem; margin: 0 auto; .content { .item { position: relative; float: left; height: 1.94rem; width: 2.23rem; margin-right: 0.08rem; margin-bottom: 0.08rem; -webkit-box-sizing: border-box; box-sizing: border-box; overflow: hidden; img { display: block; width: 100%; height: 100%; opacity: 1; -webkit-transition: all 0.4s; transition: all 0.4s; } &.no-mb { margin-bottom: 0; } &.no-mr { margin-right: 0; } &:nth-child(1), &:nth-child(7) { width: 4.54rem; } &:hover { img { -webkit-transform: scale(1.2); transform: scale(1.2); } } .cover { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; background: rgba(0, 0, 0, 0.2); -webkit-transition: opacity 0.4s; transition: opacity 0.4s; .title { color: #fff; font-size: 0.26rem; } .subtitle { font-size: 0.24rem; color: #fff; font-weight: lighter; margin-top: 0.08rem; } } } } } .device { .scroll-box { img { width: 1.77rem; height: 2.27rem; margin-right: 0.24rem; &:first-child { margin-left: 0.32rem; } &:last-child { margin-right: 0.32rem; } } } } } }