123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474 |
- @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: #5daf32;
- font-weight: bold;
- }
- .subname {
- font-size: 30px;
- margin-top: 15px;
- }
- .line {
- width: 36px;
- height: 7px;
- background: #5daf32;
- margin: 20px 0 30px;
- }
- .description {
- font-size: 20px;
- text-align: justify;
- word-break: break-all;
- line-height: 36px;
- }
- .tags {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
- margin-top: 40px;
- }
- }
- }
- .technology {
- .content {
- .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;
- padding: 10px 30px;
- background: #eee;
- margin-top: 40px;
- &:first-child {
- margin-top: 0;
- }
- .cover {
- -ms-flex-negative: 0;
- flex-shrink: 0;
- img {
- display: block;
- width: 374px;
- }
- }
- &:nth-child(2n-1) {
- .info {
- margin-left: 40px;
- }
- }
- &:nth-child(2n) {
- .info {
- margin-right: 40px;
- }
- }
- .info {
- -webkit-box-flex: 1;
- -ms-flex: 1;
- flex: 1;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- .title {
- font-size: 34px;
- color: #5daf33;
- font-weight: bold;
- }
- .subtitle {
- font-size: 16px;
- color: #434343;
- font-weight: lighter;
- margin-top: 12px;
- }
- .description {
- font-size: 27px;
- color: #434343;
- margin-top: 24px;
- line-height: 40px;
- text-align: justify;
- word-break: break-all;
- }
- }
- }
- }
- }
- .care {
- .content {
- .section {
- float: left;
- width: 390px;
- height: 340px;
- position: relative;
- margin-right: 15px;
- margin-top: 15px;
- background: #eee;
- overflow: hidden;
- &:nth-child(2),
- &:nth-child(5),
- &:nth-child(8) {
- margin-right: 0;
- }
- &:nth-child(1),
- &:nth-child(2) {
- margin-top: 0;
- }
- &:first-child {
- width: 795px;
- }
- &:nth-child(1),
- &:nth-child(6) {
- background: #5daf32;
- }
- &:hover {
- img {
- -webkit-transform: scale(1.2);
- transform: scale(1.2);
- }
- }
- .cover {
- position: absolute;
- width: 100%;
- height: 100%;
- img {
- display: block;
- width: 100%;
- height: 100%;
- -webkit-transition: all 0.4s;
- transition: all 0.4s;
- }
- }
- .info {
- position: absolute;
- z-index: 2;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.3);
- 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;
- color: #fff;
- text-align: center;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- padding: 0 32px;
- line-height: 1.5;
- .title {
- font-size: 28px;
- font-weight: bold;
- &.big {
- font-size: 41px;
- }
- }
- .subtitle {
- font-size: 24px;
- margin-top: 8px;
- }
- .description {
- font-size: 20px;
- font-weight: lighter;
- margin-top: 20px;
- }
- }
- }
- }
- }
- .device {
- .content {
- .swiper-container {
- width: 100%;
- img {
- display: block;
- width: 100%;
- }
- }
- }
- }
- }
- }
- @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 {
- margin-top: 0.4rem;
- img {
- display: block;
- width: 5.46rem;
- height: 5.57rem;
- }
- }
- .tags {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
- margin-top: 0.16rem;
- img {
- display: block;
- width: 1.76rem;
- height: 1.12rem;
- margin: 0 0.06rem;
- }
- }
- .info {
- width: 6.5rem;
- margin: 0 auto;
- .name {
- font-size: 0.34rem;
- color: #5daf32;
- text-align: center;
- font-weight: bold;
- }
- .subname {
- font-size: 0.26rem;
- margin-top: 0.16rem;
- text-align: center;
- }
- .line {
- width: 0.4rem;
- height: 0.06rem;
- background: #5daf32;
- margin: 0.32rem auto;
- }
- .description {
- text-align: justify;
- word-break: break-all;
- color: #333333;
- text-align: center;
- font-size: 0.26rem;
- line-height: 0.48rem;
- }
- }
- }
- }
- .technology {
- .content {
- .section {
- width: 6.86rem;
- margin: 0 auto;
- padding: 0.4rem 0.7rem;
- background: #eee;
- margin-top: 0.32rem;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- &:first-child {
- margin-top: 0;
- }
- .cover {
- img {
- display: block;
- width: 3.74rem;
- margin: 0 auto;
- }
- }
- .info {
- .title {
- font-size: 0.3rem;
- color: #5daf33;
- font-weight: bold;
- text-align: center;
- margin-top: 0.26rem;
- }
- .subtitle {
- font-size: 0.24rem;
- color: #333;
- margin-top: 0.16rem;
- text-align: center;
- }
- .description {
- font-size: 0.26rem;
- color: #333;
- margin-top: 0.4rem;
- line-height: 0.48rem;
- text-align: justify;
- word-break: break-all;
- text-align: center;
- }
- }
- }
- }
- }
- .care {
- .content {
- width: 6.86rem;
- margin: 0 auto;
- .section {
- float: left;
- width: 3.34rem;
- height: 3.4rem;
- position: relative;
- margin-right: 0.18rem;
- margin-top: 0.18rem;
- background: #eee;
- &:first-child {
- width: 6.86rem;
- margin-top: 0;
- margin-right: 0;
- }
- &:nth-child(3),
- &:nth-child(5),
- &:nth-child(7),
- &:nth-child(9) {
- margin-right: 0;
- }
- &:nth-child(1),
- &:nth-child(6) {
- background: #5daf32;
- }
- .cover {
- position: absolute;
- width: 100%;
- height: 100%;
- img {
- display: block;
- width: 100%;
- height: 100%;
- }
- }
- .info {
- position: absolute;
- z-index: 2;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.3);
- 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;
- color: #fff;
- text-align: center;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- padding: 0 0.32rem;
- line-height: 1.5;
- .title {
- font-size: 0.32rem;
- &.big {
- font-size: 0.32rem;
- }
- }
- .subtitle {
- font-size: 0.24rem;
- margin-top: 0.24rem;
- }
- .description {
- font-size: 0.24rem;
- font-weight: lighter;
- margin-top: 0.24rem;
- }
- }
- }
- }
- }
- .device {
- .scroll-box {
- img {
- width: 3.16rem;
- height: 3.06rem;
- margin-right: 0.24rem;
- &:first-child {
- margin-left: 0.32rem;
- }
- &:last-child {
- margin-right: 0.32rem;
- }
- }
- }
- }
- }
- }
|