initial commit

This commit is contained in:
2026-03-29 09:33:09 +08:00
commit ed00924f21
79 changed files with 4996 additions and 0 deletions
+151
View File
@@ -0,0 +1,151 @@
.main-about {
z-index: 8;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
}
.main-about-mask-1 {
background: linear-gradient(180deg, rgba(6, 119, 161, .3) 0%, rgba(0, 0, 0, .7) 100%);
}
.main-about-mask-2 {
background: linear-gradient(180deg, rgba(197, 81, 42, .3) 0%, rgba(0, 0, 0, .7) 100%);
}
.main-about-mask-3 {
background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .7) 100%);
}
.main-about {
color: white;
}
.main-about .container {
/* height: auto; */
}
.main-about h2 {
position: relative;
padding: 0 0 1rem .5rem;
color: #ffc000;
}
.main-about h2::after {
content: '';
width: 0px;
height: 0px;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 16px solid #ffc000;
position: absolute;
top: .6rem;
left: -1rem;
}
.main-about .nav-img {
z-index: 8;
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
width: 6rem;
opacity: .6;
}
.main-about img {
display: block;
width: 100%;
}
.main-about p {
padding: 0 0 0 .5rem;
line-height: 1.5rem;
font-size: 1rem;
opacity: .9;
}
.content-1 {
position: absolute;
top: 50%;
left: 1rem;
right: 1rem;
transform: translateY(-50%);
}
/*分会*/
.city-items {
z-index: 10;
position: absolute;
top: 50%;
left: 9rem;
right: 1rem;
transform: translateY(-50%);
}
.city-items > div {
display: flex;
align-items: center;
justify-content: flex-start;
flex-wrap: wrap;
font-size: 1.2rem;
}
.city-items h5 {
width: 100%;
border-bottom: 1px solid #ffc000;
padding-bottom: .5rem;
font-size: 1.2rem;
line-height: 1.5rem;
font-weight: bold;
color: #ffc000;
}
.city-items label {
width: 100%;
color: #ffc000;
font-weight: bold;
border-bottom: 1px solid rgba(255, 255, 255, .7);
padding: .3rem 0;
}
.city-items span {
position: relative;
width: 25%;
padding: .1rem 0;
}
/*使命*/
.sm {
position: absolute;
top: 50%;
left: 9rem;
right: 1rem;
transform: translateY(-50%);
font-size: 1.1rem;
}
.sm h3 {
padding-top: 1.5rem;
font-size: 1.2rem;
color: #ffc000;
}
.sm p {
margin: 0;
padding: .2rem 0;
font-size: 1rem;
line-height: 1.4rem;
}
.main-about img.map {
z-index: 1;
position: absolute;
left: 50%;
top: 50%;
width: 70%;
opacity: .3;
transform: translate3d(-50%, -50%, 0);
}
@media (max-width: 767.98px) {
.main-about img.map{
width: 100%;
}
.sm,.city-items {
left: 8rem;
}
.city-items span {
width: 50%;
}
}
+7
View File
File diff suppressed because one or more lines are too long
+7
View File
File diff suppressed because one or more lines are too long
+98
View File
@@ -0,0 +1,98 @@
/* Home */
.home-main-1 label,
.home-main-2 label {
font-weight: bold;
word-wrap: break-word;
}
.home-main-1 .content,
.home-main-2 .content {
top: 50%;
transform: translateY(-50%);
bottom: auto;
}
.worth-content-1 > div {
padding: 2rem .5rem !important;
line-height: 2rem !important;
}
.worth-content-2 {
position: relative;
}
.worth-content-2 > div {
width: 1000px !important;
-webkit-animation-duration: 70s !important;
animation-duration: 70s !important;
}
@media (max-width: 767.98px) {
/*about*/
.main-about h2 {
padding-bottom: .1rem !important;
}
.main-about p {
font-size: .95rem !important;
line-height: 1.2rem !important;
margin-bottom: .5rem !important;
}
.sm h3 {
padding-top: 1rem !important;
}
.sm p {
margin-bottom: 0 !important;
}
.city-items,
.sm {
left: 1rem !important;
}
/*value*/
.worth-content-1 > div {
padding: .6rem .5rem !important;
line-height: 1.4rem !important;
}
.worth-content-2 > div {
width: calc(100vw - 2rem) !important;
}
.worth-content-2 h5 {
font-size: 1.6rem !important;
line-height: 1.6rem !important;
padding-bottom: 0 !important;
}
.worth-content-2 p {
line-height: 1.3rem !important;
}
/*Join*/
.join-main-1 li {
padding: 0 0 0 .8rem!important;
}
.join-main-1 li::after {
top: .6rem !important;
}
.join-main-2 h4 {
padding-bottom: 0 !important;
line-height: 1.2rem !important;
}
.join-main-2 .item {
width: 100%;
margin: 0 !important;
padding: 0 0 .0 .5rem !important;
}
.join-main-2 .item h5 {
font-size: .9rem !important;
margin: 0 !important;
}
.join-main-2 .item p {
padding: 0 0 .1rem 0 !important;
line-height: .9rem !important;
font-size: .8rem !important;
}
.join-main-2 .tips {
margin: 0 !important;
line-height: .9rem !important;
font-size: .9rem;
}
}
+114
View File
@@ -0,0 +1,114 @@
/* 陪伴 */
.block-home-1 {
height: calc(100vh - 80px);
}
.home-main-1 {
z-index: 8;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: linear-gradient(180deg, rgba(24, 152, 127, .5) 0%, rgba(0, 0, 0, .5) 100%);
}
.home-main-1 .content {
position: absolute;
bottom: 10rem;
width: 50%;
color: white;
}
.home-main-1 .content label {
display: block;
font-size: 2.4rem;
line-height: 2.4rem;
opacity: .9;
padding-right: 1rem;
}
.home-main-1 .content img {
display: block;
width: 9rem;
margin-bottom: .5rem;
opacity: .8;
}
.home-main-1 .content span {
display: block;
padding: .8rem 0;
line-height: 1.8rem;
}
.home-main-1 .content a {
display: inline-block;
border: 1px solid white;
padding: .5rem 2rem;
margin-top: 2rem;
color: white;
opacity: .8;
}
/* 成长 */
.home-main-2 {
z-index: 8;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: linear-gradient(180deg, rgba(6, 119, 121, .1) 0%, rgba(6, 119, 121, .7) 100%);
}
.home-main-2 .content {
position: absolute;
bottom: 10rem;
width: 50%;
color: white;
}
.home-main-2 .content label {
display: block;
font-size: 2.4rem;
line-height: 2.4rem;
opacity: .9;
padding-right: 1rem;
}
.home-main-2 .content img {
display: block;
width: 9rem;
margin-bottom: .5rem;
opacity: .8;
}
.home-main-2 .content span {
display: block;
padding: .8rem 0;
line-height: 1.8rem;
}
.home-main-2 .content a {
display: inline-block;
border: 1px solid white;
padding: .5rem 2rem;
margin-top: 2rem;
color: white;
opacity: .9;
}
@media (max-width: 767.98px) {
/*陪伴*/
.block-home-1 {
height: calc(100vh - 65px);
}
.home-main-1 .content {
width: auto;
}
.home-main-1 .content label {
font-size: 2rem;
line-height: 2rem;
}
/*成长*/
.home-main-2 .content {
left: 1rem;
bottom: 3rem;
width: auto;
}
.home-main-2 .content label {
font-size: 2rem;
line-height: 2rem;
}
}
+105
View File
@@ -0,0 +1,105 @@
.block-index {
height: calc(100vh - 80px);
}
.video-container {
z-index: 2;
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
/* background: url('../images/poster.png') no-repeat left center;
background-size: cover; */
}
.video-container video {
object-fit: cover;
width: 100%;
height: 100%;
}
.main-index {
z-index: 8;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .2) 100%);
}
.main-index .content {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
}
.main-index .title {
font-size: 3.6rem;
color: white;
}
.main-index .title span {
display: block;
line-height: 4.8rem;
text-align: center;
}
.main-index .en {
font-size: 2.5rem !important;
font-weight: bold;
}
.main-index .en span {
line-height: 2.5rem !important;
}
.main-index .position a {
position: absolute;
right: 1rem;
bottom: 2rem;
}
.icon-triangle-arrow {
position: absolute;
left: 50%;
bottom: 10rem;
display: block;
margin-left: -2rem;
width: 4rem;
height: 4rem;
background: url('../images/logo-button.png') no-repeat center;
background-size: contain;
border-radius: 50%;
cursor: pointer;
box-shadow: 0 0 0 0 rgba(255, 255, 255, .5);
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% {
transform: scale(.9);
}
70% {
transform: scale(1);
box-shadow: 0 0 0 1rem rgba(255, 255, 255, 0);
}
100% {
transform: scale(.9);
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}
}
@media (max-width: 767.98px) {
.header-container h2 {
display: none;
}
.block-index {
height: calc(100vh - 65px);
}
.block-index .container h2 {
font-size: 2.8rem;
line-height: 3.2rem;
}
.icon-triangle-arrow {
/* width: 1.5rem;
height: 1.5rem; */
bottom: 5rem;
}
}
+157
View File
@@ -0,0 +1,157 @@
.join-main-1 {
z-index: 8;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
background: linear-gradient(180deg, rgba(6, 119, 161, .3) 0%, rgba(0, 0, 0, .8) 100%);
color: white;
}
.join-main-1 .container {
height: auto;
padding: 0 1.5rem;
}
.join-main-1 h4 {
position: relative;
color: #ffc000;
font-size: 1.4rem;
line-height: 2rem;
font-weight: bold;
}
.join-main-1 h4::after {
content: '';
width: 0px;
height: 0px;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 16px solid #ffc000;
position: absolute;
top: .4rem;
left: -1.5rem;
}
.join-main-1 h5 {
position: relative;
padding-top: 1rem;
color: #ffc000;
font-size: 1rem;
font-weight: bold;
}
.join-main-1 li {
position: relative;
padding: .2rem 0 .2rem .8rem;
opacity: .9;
font-size: .9rem;
line-height: 1.3rem;
}
.join-main-1 li::after {
content: '';
position: absolute;
left: 0;
top: .8em;
width: 5px;
height: 5px;
background-color: white;
border-radius: 50%;
}
.join-main-1 li i {
display: none;
position: absolute;
left: 0;
top: .2rem;
}
.join-main-1 span {
display: block;
padding-bottom: 1rem;
opacity: .9;
}
.join-main-2 {
z-index: 8;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
background: linear-gradient(180deg, rgba(6, 119, 161, .3) 0%, rgba(0, 0, 0, .8) 100%);
color: white;
}
.join-main-2 .container {
padding: 1.5rem 1rem;
}
.join-main-2 h4 {
position: relative;
padding: 0 0 1rem .5rem;
color: #ffc000;
font-size: 1.2rem;
line-height: 1.4rem;
font-weight: bold;
}
.join-main-2 h4::after {
content: '';
width: 0px;
height: 0px;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 16px solid #ffc000;
position: absolute;
top: .2rem;
left: -1rem;
}
.dna-items {
position: absolute;
top: 50%;
left: 1rem;
right: 1rem;
transform: translateY(-50%);
display: flex;
align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap;
}
.dna-items h4 {
width: 100%;
}
.item {
width: 50%;
margin: .5rem 0 1rem 0;
}
.item:nth-child(2n+2) {
padding: 0 .5rem;
}
.item h5 {
font-size: 1.2rem;
font-weight: bold;
margin: 0 0 .2rem 0;
color: #bfebf3;
}
.item p {
position: relative;
padding: .15rem 0;
opacity: .8;
margin-bottom: 0;
font-size: 1rem;
}
.join-main-2 .tips {
padding-top: .5rem;
word-break: break-all;
color: #ffc000;
}
@media (max-width: 767.98px) {
.item {
margin-bottom: .5rem;
}
.item h5 {
font-size: 1.2rem;
}
.join-main-1 li,
.item p {
font-size: .9rem;
}
}
+701
View File
@@ -0,0 +1,701 @@
/* sass --watch style/style.scss style/style.css */
* {
font-family: "Montserrat", sans-serif;
}
h1,h2,h4,h5 {
font-weight: normal;
}
ul, li {
list-style: none;
padding: 0;
margin: 0;
}
.container {
position: relative;
height: 100%;
}
/* navbar */
.header {
/* position: relative; */
height: 80px;
background-color: rgba(60, 130, 150, 1); /*53293a*/
padding: .5rem 0;
}
.header .container {
max-width: 100%;
}
.header-container {
position: relative;
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 1rem;
}
.header-container .site-logo {
display: block;
height: 65px;
margin-right: .2rem;
}
.header-container a {
flex: 1;
display: flex;
}
.header-container a label {
display: none;
}
.header-container h2 {
display: none;
position: absolute;
margin: 0;
left: 5rem;
right: 5rem;
color: white;
font-size: 1.5rem;
line-height: 1.5rem;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.navbar-dark .navbar-nav .nav-link {
color: white;
font-size: 1rem;
}
.header .navbar-toggler {
padding: 0;
}
.nav-item {
padding: 0 .6rem;
text-align: center;
}
.navbar-collapse {
flex-grow: inherit;
background-color: rgba(60, 130, 150, 1);
}
.select-language {
display: flex;
align-items: center;
justify-content: center;
padding-left: 1rem;
text-align: center;
font-size: .8rem;
color: white;
}
.select-language a {
padding: 0 .5rem;
color: white;
}
/* .navbar-toggler .navbar-toggler-icon {
background-image: url(../images/close.svg);
}
.collapsed .navbar-toggler-icon {
background-image: url(../images/menu.svg);
} */
.navbar-toggler {
display:block;
position:absolute;
width:30px;
height:25px;
right:10px;
top:10px;
z-index:200;
}
.nav__icon {
position: relative;
display: block;
position: relative;
width: 28px;
height: 2px;
background-color: #fff;
transition-property: background-color, transform;
transition-duration: 300ms;
}
.nav__icon::before,
.nav__icon::after {
content:'';
display: block;
width: 28px;
height: 2px;
position: absolute;
background: #fff;
transition-property: margin, transform;
transition-duration: 300ms;
}
.nav__icon::before {
margin-top: -10px;
}
.nav__icon::after {
margin-top: 10px;
}
.close-nav .nav__icon {
background: rgba(0,0,0, 0);
}
.close-nav .nav__icon::before {
margin-top: 0;
transform:rotate(45deg);
}
.close-nav .nav__icon::after {
margin-top: 0;
transform:rotate(-45deg);
}
/* 模块 */
body {
padding-top: 80px;
}
.page-block {
position: relative;
height: calc(100vh - 80px);
overflow: hidden;
}
.img-container {
position: sticky;
top: 0;
right: 0;
height: 100vh;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.swiper {
width: 100%;
height: 100%;
}
.swiper-slide {
position: relative;
height: 100%;
}
.swiper-slide p {
width: 100%;
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
/* 联系YEN */
.contact-wrapper {
background: rgb(60, 130, 150) url(../images/cta-block-triangles.png) no-repeat left center;
background-size: contain;
padding: 1rem 0;
color: white;
}
.main-content {
display: flex;
align-items: flex-start;
justify-content: space-between;
}
.main-content label {
position: relative;
flex: 1;
font-weight: bold;
padding-left: .6rem;
}
.main-content label::after {
content: '';
width: 0px;
height: 0px;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 16px solid;
position: absolute;
top: 2px;
left: -1rem;
}
.main-content p {
margin: 0 0 0 1rem;
}
.main-content p span {
display: flex;
align-items: center;
justify-content: flex-start;
padding: .3rem 0;
font-size: .8rem;
}
.main-content p a {
color: white;
line-height: .8rem;
}
.main-content p img {
width: 1.5rem;
height: 1.5rem;
margin-right: .2rem;
}
/* 页脚 */
.copyright {
background-color: rgb(2,67,78);
color: rgba(255, 255, 255, .8);
text-align: center;
font-size: 12px;
padding: .5rem 1rem;
}
/*背景图切换动画*/
.slideshow {
position: absolute;
width: 100vw;
height: 100vh;
overflow: hidden;
}
/*3张图*/
.slideshow-3-image {
position: absolute;
width: 100%;
height: 100%;
background: no-repeat 50% 50%;
background-size: cover;
-webkit-animation-name: kenburns-3;
animation-name: kenburns-3;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-duration: 18s;
animation-duration: 18s;
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
.slideshow-3-image:nth-child(1) {
-webkit-animation-name: kenburns-3-1;
animation-name: kenburns-3-1;
z-index: 2;
}
.slideshow-3-image:nth-child(2) {
-webkit-animation-name: kenburns-3-2;
animation-name: kenburns-3-2;
z-index: 1;
}
.slideshow-3-image:nth-child(3) {
-webkit-animation-name: kenburns-3-3;
animation-name: kenburns-3-3;
z-index: 0;
}
@keyframes kenburns-3-1 {
0% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
23.4375% {
opacity: 1;
}
33.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
90.4375% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
100% {
opacity: 1;
}
}
@keyframes kenburns-3-2 {
23.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
33.5625% {
opacity: 1;
}
56.4375% {
opacity: 1;
}
66.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes kenburns-3-3 {
56.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
66.5625% {
opacity: 1;
}
90.4375% {
opacity: 1;
}
100% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
}
/*4张图*/
.slideshow-4-image {
position: absolute;
width: 100%;
height: 100%;
background: no-repeat 50% 50%;
background-size: cover;
-webkit-animation-name: kenburns-4;
animation-name: kenburns-4;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-duration: 20s;
animation-duration: 20s;
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
.slideshow-4-image:nth-child(1) {
-webkit-animation-name: kenburns-4-1;
animation-name: kenburns-4-1;
z-index: 3;
}
.slideshow-4-image:nth-child(2) {
-webkit-animation-name: kenburns-4-2;
animation-name: kenburns-4-2;
z-index: 2;
}
.slideshow-4-image:nth-child(3) {
-webkit-animation-name: kenburns-4-3;
animation-name: kenburns-4-3;
z-index: 1;
}
.slideshow-4-image:nth-child(4) {
-webkit-animation-name: kenburns-4-4;
animation-name: kenburns-4-4;
z-index: 0;
}
@keyframes kenburns-4-1 {
0% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
1.5625% {
opacity: 1;
}
15.4375% {
opacity: 1;
}
25.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
90.4375% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
100% {
opacity: 1;
}
}
@keyframes kenburns-4-2 {
15.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
25.5625% {
opacity: 1;
}
40.4375% {
opacity: 1;
}
50.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes kenburns-4-3 {
40.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
50.5625% {
opacity: 1;
}
65.4375% {
opacity: 1;
}
75.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes kenburns-4-4 {
65.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
75.5625% {
opacity: 1;
}
90.4375% {
opacity: 1;
}
100% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
}
/*5张图*/
.slideshow-5-image {
position: absolute;
width: 100%;
height: 100%;
background: no-repeat 50% 50%;
background-size: cover;
-webkit-animation-name: kenburns-5;
animation-name: kenburns-5;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-duration: 30s;
animation-duration: 30s;
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
.slideshow-5-image:nth-child(1) {
-webkit-animation-name: kenburns-5-1;
animation-name: kenburns-5-1;
z-index: 4;
}
.slideshow-5-image:nth-child(2) {
-webkit-animation-name: kenburns-5-2;
animation-name: kenburns-5-2;
z-index: 3;
}
.slideshow-5-image:nth-child(3) {
-webkit-animation-name: kenburns-5-3;
animation-name: kenburns-5-3;
z-index: 2;
}
.slideshow-5-image:nth-child(4) {
-webkit-animation-name: kenburns-5-4;
animation-name: kenburns-5-4;
z-index: 1;
}
.slideshow-5-image:nth-child(5) {
-webkit-animation-name: kenburns-5-5;
animation-name: kenburns-5-5;
z-index: 0;
}
@keyframes kenburns-5-1 {
0% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
1.5625% {
opacity: 1;
}
10.4375% {
opacity: 1;
}
20.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
90.4375% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
100% {
opacity: 1;
}
}
@keyframes kenburns-5-2 {
10.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
20.5625% {
opacity: 1;
}
30.4375% {
opacity: 1;
}
40.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes kenburns-5-3 {
30.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
40.5625% {
opacity: 1;
}
50.4375% {
opacity: 1;
}
60.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes kenburns-5-4 {
50.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
60.5625% {
opacity: 1;
}
70.4375% {
opacity: 1;
}
80.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes kenburns-5-5 {
70.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
80.5625% {
opacity: 1;
}
90.4375% {
opacity: 1;
}
100% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
}
@media (max-width: 767.98px) {
.header {
height: 65px;
}
.header-container .site-logo {
height: 44px;
}
.nav-item {
border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-item:first-child {
border-top: 1px solid rgba(255, 255, 255, .1);
}
.select-language {
padding: 1rem 0 .5rem 0;
}
.header-container h2 {
display: block;
left: 4rem;
right: 4rem;
color: white;
font-size: 1rem;
line-height: 1rem;
text-align: center;
}
.navbar-collapse {
position: absolute;
left: 0;
right: 0;
top: 55px;
flex-grow: inherit;
padding-bottom: 10px;
background-color: rgba(60, 130, 150, 1);
}
body {
padding-top: 65px;
}
.page-block {
min-height: calc(100vh - 65px);
}
}
+431
View File
@@ -0,0 +1,431 @@
.worth-main-2 {
z-index: 1000;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
color: white;
background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .8) 100%);
display: flex;
align-items: center;
justify-content: center;
}
.worth-main-2 h3 {
margin-bottom: 1rem;
font-size: 1.4rem;
}
.main-2 {
position: relative;
width: calc(100vw - 4rem);
}
.worth-content-2 > div{
position: absolute;
-webkit-animation-name: kenburns-5-text;
animation-name: kenburns-5-text;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-duration: 45s;
animation-duration: 45s;
opacity: 0;
top: 0;
width: calc(100vw - 2rem);
left: -2rem;
}
.worth-content-2 h5 {
padding-bottom: .5rem;
color: #ffc000;
font-size: 1.8rem;
line-height: 2rem;
font-weight: bold;
}
.worth-content-2 label {
color: white;
font-size: 1rem;
font-weight: bold;
}
.worth-content-2 p {
line-height: 1.6rem;
color: white;
opacity: .8;
}
.worth-content-2 > div:nth-child(1){
-webkit-animation-name: kenburns-5-text-1;
animation-name: kenburns-5-text-1;
z-index: 4;
}
.worth-content-2 > div:nth-child(2){
-webkit-animation-name: kenburns-5-text-2;
animation-name: kenburns-5-text-2;
z-index: 3;
}
.worth-content-2 > div:nth-child(3){
-webkit-animation-name: kenburns-5-text-3;
animation-name: kenburns-5-text-3;
z-index: 2;
}
.worth-content-2 > div:nth-child(4){
-webkit-animation-name: kenburns-5-text-4;
animation-name: kenburns-5-text-4;
z-index: 1;
}
.worth-content-2 > div:nth-child(5){
-webkit-animation-name: kenburns-5-text-5;
animation-name: kenburns-5-text-5;
z-index: 0;
}
@keyframes kenburns-5-text-1 {
0% {
opacity: 0;
left: -2rem;
}
5% {
opacity: 1;
left: 0;
}
15% {
opacity: 1;
left: 0;
}
20% {
opacity: 0;
left: 2rem;
}
95% {
opacity: 0;
left: -2rem;
}
100% {
opacity: 0;
left: -2rem;
}
}
@keyframes kenburns-5-text-2 {
20% {
opacity: 0;
left: -2rem;
}
25% {
opacity: 1;
left: 0;
}
35% {
opacity: 1;
left: 0;
}
40% {
opacity: 0;
left: 2rem;
}
100% {
opacity: 0;
left: -2rem;
}
}
@keyframes kenburns-5-text-3 {
40% {
opacity: 0;
left: -2rem;
}
45% {
opacity: 1;
left: 0;
}
55% {
opacity: 1;
left: 0;
}
60% {
opacity: 0;
left: 2rem;
}
100% {
opacity: 0;
left: -2rem;
}
}
@keyframes kenburns-5-text-4 {
60% {
opacity: 0;
left: -2rem;
}
65% {
opacity: 1;
left: 0;
}
75% {
opacity: 1;
left: 0;
}
80% {
opacity: 0;
left: 2rem;
}
100% {
opacity: 0;
left: -2rem;
}
}
@keyframes kenburns-5-text-5 {
80% {
opacity: 0;
left: -2rem;
}
85% {
opacity: 1;
left: 0;
}
95% {
opacity: 1;
left: 0;
}
100% {
opacity: 0;
left: 2rem;
}
}
.block-worth-1 {
height: calc(100vh - 80px);
}
.main-worth {
z-index: 30;
position: relative;
height: 100%;
background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .7) 100%);
}
.main-worth .container {
/* display: flex;
align-items: center;
justify-content: center;
width: 100%; */
color: rgba(255, 255, 255, .9);
}
.worth-content-1 {
position: absolute;
left: 1rem;
right: 1rem;
top: 50%;
transform: translateY(-50%);
}
.worth-content-1 > div {
padding: 2rem .5rem;
width: 90%;
text-align: right;
}
.worth-content-1 > div:nth-child(2n) {
margin-left: 10%;
}
.worth-content-1 span {
display: inline-block;
width: 100%;
font-size: 2rem;
}
.worth-content-1 small {
color: #ffc000;
font-size: 1.2rem;
line-height: 1.2rem;
text-align: right;
}
.worth-main-2 .content {
position: absolute;
top: 50%;
left: 1rem;
right: 1rem;
transform: translateY(-50%);
}
.worth-main-2 .content > div {
min-height: 13rem;
}
@media (max-width: 767.98px) {
/*陪伴*/
.block-worth-1 {
height: calc(100vh - 65px);
}
.worth-main-1 .content {
width: auto;
}
.worth-main-1 .content label {
font-size: 2rem;
line-height: 2rem;
}
.worth-content-1 > div {
padding: 1rem .5rem;
}
.worth-content-1 span {
font-size: 1.1rem;
}
.worth-content-1 small {
display: block;
font-size: .9rem;
line-height: .9rem;
}
.slideshow-5-image {
position: absolute;
width: 100%;
height: 100%;
background: no-repeat 50% 50%;
background-size: cover;
-webkit-animation-name: kenburns-5;
animation-name: kenburns-5;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-duration: 45s;
animation-duration: 45s;
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
.slideshow-5-image:nth-child(1) {
-webkit-animation-name: kenburns-5-1;
animation-name: kenburns-5-1;
z-index: 4;
}
.slideshow-5-image:nth-child(2) {
-webkit-animation-name: kenburns-5-2;
animation-name: kenburns-5-2;
z-index: 3;
}
.slideshow-5-image:nth-child(3) {
-webkit-animation-name: kenburns-5-3;
animation-name: kenburns-5-3;
z-index: 2;
}
.slideshow-5-image:nth-child(4) {
-webkit-animation-name: kenburns-5-4;
animation-name: kenburns-5-4;
z-index: 1;
}
.slideshow-5-image:nth-child(5) {
-webkit-animation-name: kenburns-5-5;
animation-name: kenburns-5-5;
z-index: 0;
}
@keyframes kenburns-5-1 {
0% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
5% {
opacity: 1;
}
15% {
opacity: 1;
}
20.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
90.4375% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
100% {
opacity: 1;
}
}
@keyframes kenburns-5-2 {
10.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
20.5625% {
opacity: 1;
}
35% {
opacity: 1;
}
40.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes kenburns-5-3 {
30.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
40.5625% {
opacity: 1;
}
55% {
opacity: 1;
}
60.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes kenburns-5-4 {
50.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
60.5625% {
opacity: 1;
}
75% {
opacity: 1;
}
80.5625% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
100% {
opacity: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes kenburns-5-5 {
70.4375% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
80.5625% {
opacity: 1;
}
95.4375% {
opacity: 1;
}
100% {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
}
}