generated from nuxt/nuxt_site
feat 添加首页样式
This commit is contained in:
parent
346b9a006e
commit
95ca80296e
@ -1,18 +1,23 @@
|
||||
.b{
|
||||
.b {
|
||||
background: black;
|
||||
}
|
||||
|
||||
.Carousel-container{
|
||||
.Carousel-container {
|
||||
margin-top: 135px;
|
||||
.carousel-box{
|
||||
.carousel-items{
|
||||
|
||||
.carousel-box {
|
||||
|
||||
.carousel-items {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
color: var(--swipercolor);
|
||||
height: var(--swiperheight);
|
||||
width: var(--swiperwidth);
|
||||
margin: var(--swipermargin);
|
||||
padding: var(--swiperpadding);
|
||||
background: var(--swiperbackground);
|
||||
& > img{
|
||||
|
||||
&>img {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
@ -21,7 +26,21 @@
|
||||
}
|
||||
}
|
||||
|
||||
.swiper::v-deep(.swiper-pagination .swiper-pagination-bullet ){
|
||||
.swiper-slide {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.swiper-slide img {
|
||||
width: 60vw !important;
|
||||
border-radius: 15px;
|
||||
overflow: hidden;
|
||||
object-fit: cover !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.swiper::v-deep(.swiper-pagination .swiper-pagination-bullet) {
|
||||
color: var(--paginationcolor);
|
||||
height: var(--paginationheight);
|
||||
width: var(--paginationwidth);
|
||||
@ -29,7 +48,8 @@
|
||||
padding: var(--paginationpadding);
|
||||
background: var(--paginationbackground);
|
||||
}
|
||||
.swiper::v-deep(.swiper-pagination .swiper-pagination-bullet-active ){
|
||||
|
||||
.swiper::v-deep(.swiper-pagination .swiper-pagination-bullet-active) {
|
||||
color: var(--paginationActivecolor);
|
||||
height: var(--paginationActiveheight);
|
||||
width: var(--paginationActivewidth);
|
||||
@ -37,7 +57,8 @@
|
||||
padding: var(--paginationActivepadding);
|
||||
background: var(--paginationActivebackground);
|
||||
}
|
||||
.swiper::v-deep(.swiper-button-next){
|
||||
|
||||
.swiper::v-deep(.swiper-button-next) {
|
||||
color: var(--buttonNextcolor);
|
||||
height: var(--buttonNextheight);
|
||||
width: var(--buttonNextwidth);
|
||||
@ -45,7 +66,8 @@
|
||||
padding: var(--buttonNextpadding);
|
||||
background: var(--buttonNextbackground);
|
||||
}
|
||||
.swiper::v-deep(.swiper-button-prev){
|
||||
|
||||
.swiper::v-deep(.swiper-button-prev) {
|
||||
color: var(--buttonPrevcolor);
|
||||
height: var(--buttonPrevheight);
|
||||
width: var(--buttonPrevwidth);
|
||||
|
@ -1,872 +0,0 @@
|
||||
* {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.allmain {
|
||||
padding: 100px 0;
|
||||
}
|
||||
|
||||
.allmain_li {
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.allmain_box {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.allmainimg {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
padding-top: 66%;
|
||||
}
|
||||
|
||||
.allmainimg img {
|
||||
width: 100%;
|
||||
vertical-align: middle;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
object-fit: cover;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.allmain_cover {
|
||||
opacity: 0;
|
||||
transform: scale(1.5);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: var(--rootColor);
|
||||
z-index: 999;
|
||||
transition: all 0.35s ease-in-out;
|
||||
-webkit-transition: all 0.35s ease-in-out;
|
||||
-moz-transition: all 0.5s ease-in-out;
|
||||
-ms-transition: all 0.35s ease-in-out;
|
||||
-o-transition: all 0.35s ease-in-out;
|
||||
}
|
||||
|
||||
.allmain_txt {
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -30%);
|
||||
z-index: 9999;
|
||||
transition: all 0.35s ease-in-out;
|
||||
-webkit-transition: all 0.35s ease-in-out;
|
||||
-moz-transition: all 0.5s ease-in-out;
|
||||
-ms-transition: all 0.35s ease-in-out;
|
||||
-o-transition: all 0.35s ease-in-out;
|
||||
}
|
||||
|
||||
.allmain_txt h3 {
|
||||
font-size: 26px;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
word-wrap: break-word;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.allmain_txt p {
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 28px;
|
||||
z-index: 9999;
|
||||
text-align: center;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.allmain_li:hover .allmain_txt {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.allmain_li:hover .allmain_cover {
|
||||
// transform: scale(0.9);
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.allmainflex {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.brand {
|
||||
background: url(/img/home/img5.jpg) no-repeat 50% 50%;
|
||||
background-size: 100%;
|
||||
padding: 100px 0;
|
||||
position: relative;
|
||||
// z-index: -1;
|
||||
}
|
||||
|
||||
.brandcover {
|
||||
background-color: transparent;
|
||||
background-image: linear-gradient(300deg, #000000BD 83%, var(--rootColor) 60%);
|
||||
opacity: 0.95;
|
||||
z-index: 9;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.brand_txt {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
z-index: 99;
|
||||
width: 45%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.brand_txt h2 {
|
||||
margin-bottom: 30px;
|
||||
font-size: 48px;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
z-index: 99;
|
||||
line-height: 58px;
|
||||
}
|
||||
|
||||
.brand_txt p {
|
||||
font-size: 18px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 28px;
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
.brand_more {
|
||||
display: block;
|
||||
padding: 15px 60px;
|
||||
background-color: var(--rootColor);
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
margin: 50px auto 0 auto;
|
||||
z-index: 99;
|
||||
transition: all 0.35s ease-in-out;
|
||||
-webkit-transition: all 0.35s ease-in-out;
|
||||
-moz-transition: all 0.5s ease-in-out;
|
||||
-ms-transition: all 0.35s ease-in-out;
|
||||
-o-transition: all 0.35s ease-in-out;
|
||||
}
|
||||
|
||||
.brand_more:hover {
|
||||
padding: 15px 90px;
|
||||
transform: scale(1.1);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.brand_txt a {
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
.bcard {
|
||||
background: url(/img/home/img2.jpg) no-repeat 50% 50%;
|
||||
background-size: 100%;
|
||||
padding: 100px 0 100px 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
// .bcard_li {
|
||||
// position: absolute;
|
||||
// top: 0;
|
||||
// left: 0;
|
||||
// width: 100%;
|
||||
// height: 100%;
|
||||
// background-color: #000;
|
||||
// opacity: 0.8;
|
||||
// }
|
||||
.bcardcover {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #000;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.bcard_title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-bottom: 60px;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.bcard_title span {
|
||||
font-size: 24px;
|
||||
color: var(--rootColor);
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
display: block;
|
||||
margin-bottom: 15px;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.bcard_title h2 {
|
||||
font-size: 48px;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.bcard_box {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.bcardicon {
|
||||
display: block;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
border-radius: 50%;
|
||||
background-color: var(--rootColor);
|
||||
margin-right: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bcardicon i {
|
||||
font-size: 40px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bcard_txt {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.bcard_txt h3 {
|
||||
font-size: 24px;
|
||||
color: #fff;
|
||||
margin-bottom: 10px;
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.bcard_txt p {
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.bcard_more {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
margin-top: 15px;
|
||||
transition: all 0.35s ease-in-out;
|
||||
-webkit-transition: all 0.35s ease-in-out;
|
||||
-moz-transition: all 0.5s ease-in-out;
|
||||
-ms-transition: all 0.35s ease-in-out;
|
||||
-o-transition: all 0.35s ease-in-out;
|
||||
}
|
||||
|
||||
.bcard_more h4 {
|
||||
font-size: 18px;
|
||||
color: var(--rootColor);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.bcard_more i {
|
||||
font-size: 18px;
|
||||
color: var(--rootColor);
|
||||
margin-left: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.bcard_li {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.bcard_more:hover {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.number {
|
||||
background-color: var(--rootColor);
|
||||
|
||||
}
|
||||
|
||||
.number_con {
|
||||
background-color: var(--rootColor);
|
||||
// box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.5);
|
||||
padding: 30px 30px 20px;
|
||||
// margin-bottom: -20px;
|
||||
position: relative;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.number_con ul {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.number_con li {
|
||||
// width: calc((100% - 20px) / 4);
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
// flex-direction: column;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.number_con li i {
|
||||
color: var(--rootColor);
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.number_con li span {
|
||||
padding-left: 1px;
|
||||
margin-right: 5px;
|
||||
background-color: #fff;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--rootColor);
|
||||
font-weight: bold;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
font-family: "impact";
|
||||
display: block;
|
||||
}
|
||||
|
||||
.number_con li p {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
margin-bottom: 0;
|
||||
|
||||
}
|
||||
|
||||
.videocard {
|
||||
padding: 100px 0;
|
||||
}
|
||||
|
||||
.videocard_title span {
|
||||
font-size: 24px;
|
||||
color: var(--rootColor);
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.videocard_title h2 {
|
||||
font-size: 48px;
|
||||
color: #0B2154;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.videocard_title p {
|
||||
font-size: 16px;
|
||||
color: #666;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.videocard_list {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.videocard_list ul {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.videocard_list li {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
margin-bottom: 15px;
|
||||
width: 48%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.videocard_list li span {
|
||||
margin-top: 5px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--rootColor);
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.videocard_list li i {
|
||||
font-size: 16px;
|
||||
color: var(--rootColor);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.videocard_list li p {
|
||||
font-size: 16px;
|
||||
color: #0B2154;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.videocard_right_img img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.videoimgbtn {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.videoimgbtn img {
|
||||
width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.videocardflex {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.videoplay {
|
||||
animation: scale2 2s infinite;
|
||||
position: absolute;
|
||||
top: 10%;
|
||||
left: 10%;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
line-height: 100px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--rootColor);
|
||||
}
|
||||
|
||||
.point2 {
|
||||
position: absolute;
|
||||
top: 8%;
|
||||
left: 8%;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
border-radius: 50%;
|
||||
background-color: var(--rootColor);
|
||||
}
|
||||
|
||||
.point2 i {
|
||||
font-size: 35px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 60%;
|
||||
transform: translate(-60%, -50%);
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
.videomain {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
z-index: 9999999999999999999999;
|
||||
}
|
||||
|
||||
.videoclose {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 50px;
|
||||
}
|
||||
|
||||
.videoclose img {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.videobox {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.videobox video {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.videobbb {
|
||||
animation: scale2 2s infinite;
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 40%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 130px;
|
||||
height: 130px;
|
||||
line-height: 130px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--rootColor);
|
||||
}
|
||||
|
||||
@keyframes scale2 {
|
||||
0% {
|
||||
transform: scale(0.9);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.acard {
|
||||
padding: 100px 0;
|
||||
}
|
||||
|
||||
.acardflex {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.acard_right {
|
||||
align-self: flex-end;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.acardimg {
|
||||
box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.acardimg img {
|
||||
width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.acard_list {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.acard_list ul {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.acard_list li {
|
||||
width: 31%;
|
||||
overflow: hidden;
|
||||
box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.1);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.acardli {
|
||||
padding: 15px 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.acardlicover {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 0%;
|
||||
background-color: var(--rootColor);
|
||||
transition: all 0.35s ease-in-out;
|
||||
-webkit-transition: all 0.35s ease-in-out;
|
||||
-moz-transition: all 0.5s ease-in-out;
|
||||
-ms-transition: all 0.35s ease-in-out;
|
||||
-o-transition: all 0.35s ease-in-out;
|
||||
}
|
||||
|
||||
.acardli i {
|
||||
font-size: 50px;
|
||||
color: var(--rootColor);
|
||||
text-align: center;
|
||||
z-index: 999;
|
||||
transition: all 0.35s ease-in-out;
|
||||
-webkit-transition: all 0.35s ease-in-out;
|
||||
-moz-transition: all 0.5s ease-in-out;
|
||||
-ms-transition: all 0.35s ease-in-out;
|
||||
-o-transition: all 0.35s ease-in-out;
|
||||
}
|
||||
|
||||
.acardli p {
|
||||
z-index: 999;
|
||||
font-size: 18px;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
margin-top: 10px;
|
||||
color: #0B2154;
|
||||
transition: all 0.35s ease-in-out;
|
||||
-webkit-transition: all 0.35s ease-in-out;
|
||||
-moz-transition: all 0.5s ease-in-out;
|
||||
-ms-transition: all 0.35s ease-in-out;
|
||||
-o-transition: all 0.35s ease-in-out;
|
||||
}
|
||||
|
||||
.acard_list li:hover .acardlicover {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.acard_list li:hover .acardli i,
|
||||
.acard_list li:hover .acardli p {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
// .acard_list ul li:nth-child(2) .acardlicover {
|
||||
// height: 100%;
|
||||
// }
|
||||
|
||||
// .acard_list ul li:nth-child(2) .acardli i,
|
||||
// .acard_list ul li:nth-child(2) .acardli p {
|
||||
// color: #fff;
|
||||
// }
|
||||
.blog {
|
||||
padding: 100px 0;
|
||||
}
|
||||
|
||||
.blog_title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.blog_title span {
|
||||
font-size: 24px;
|
||||
color: var(--rootColor);
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
margin-bottom: 15px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.blog_title h2 {
|
||||
font-size: 48px;
|
||||
color: #0B2154;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.blogflex {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.blog_box {
|
||||
position: relative;
|
||||
box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
transition: all 0.35s ease-in-out;
|
||||
-webkit-transition: all 0.35s ease-in-out;
|
||||
-moz-transition: all 0.5s ease-in-out;
|
||||
-ms-transition: all 0.35s ease-in-out;
|
||||
-o-transition: all 0.35s ease-in-out;
|
||||
}
|
||||
|
||||
.blog_img {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
padding-top: 67%;
|
||||
}
|
||||
|
||||
.blog_img img {
|
||||
width: 100%;
|
||||
vertical-align: middle;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
transition: all 0.35s ease-in-out;
|
||||
-webkit-transition: all 0.35s ease-in-out;
|
||||
-moz-transition: all 0.5s ease-in-out;
|
||||
-ms-transition: all 0.35s ease-in-out;
|
||||
-o-transition: all 0.35s ease-in-out;
|
||||
}
|
||||
|
||||
.blog_txt {
|
||||
padding: 30px 20px;
|
||||
}
|
||||
|
||||
.blog_txt h3 {
|
||||
font-size: 20px;
|
||||
color: #0B2154;
|
||||
font-weight: bold;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.blog_txt p {
|
||||
margin: 15px 0 30px 0;
|
||||
font-size: 16px;
|
||||
color: #666;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.blog_more {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
transition: all 0.35s ease-in-out;
|
||||
-webkit-transition: all 0.35s ease-in-out;
|
||||
-moz-transition: all 0.5s ease-in-out;
|
||||
-ms-transition: all 0.35s ease-in-out;
|
||||
-o-transition: all 0.35s ease-in-out;
|
||||
}
|
||||
|
||||
.blog_more span {
|
||||
font-size: 18px;
|
||||
color: var(--rootColor);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.blog_more i {
|
||||
font-size: 18px;
|
||||
color: var(--rootColor);
|
||||
font-weight: bold;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.blog_li {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.blogtime {
|
||||
background-color: var(--rootColor);
|
||||
padding: 5px 30px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
top: 35%;
|
||||
left: 0;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.blogtime span {
|
||||
font-size: 18px;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.blogtime p {
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.blog_li:hover .blog_img img {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
.blog_li:hover .blog_box {
|
||||
background-color: var(--rootColor);
|
||||
}
|
||||
|
||||
.blog_li:hover .blog_txt h3,
|
||||
.blog_li:hover .blog_txt p,
|
||||
.blog_li:hover .blog_more span,
|
||||
.blog_li:hover .blog_more i {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.blog_more:hover {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.partners_flex {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.partners_li {
|
||||
margin: 10px;
|
||||
width: 200px;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
// box-shadow: 0px 0px 6px #555;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.partners_li img {
|
||||
line-height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.Home-main {
|
||||
overflow: hidden;
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
//media.scss
|
||||
/*1440px*/
|
||||
/*大于*/
|
||||
@media screen and (min-width: 1440px) {
|
||||
}
|
||||
|
||||
/*小于*/
|
||||
@media screen and (min-width: 1440px) {
|
||||
}
|
||||
|
||||
/*1200px*/
|
||||
/*大于*/
|
||||
@media screen and (min-width: 1200px) {
|
||||
|
||||
}
|
||||
|
||||
/*小于*/
|
||||
@media screen and (max-width: 1200px) {
|
||||
.bcard, .brand, .move {
|
||||
background-size: auto 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/*880px*/
|
||||
/*大于*/
|
||||
@media screen and (min-width: 880px) {
|
||||
|
||||
}
|
||||
|
||||
/*小于*/
|
||||
@media screen and (max-width: 880px) {
|
||||
.img-box{
|
||||
width: 60vw!important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px){
|
||||
|
||||
}
|
||||
/*480px*/
|
||||
/*大于*/
|
||||
@media screen and (min-width: 480px) {
|
||||
|
||||
}
|
||||
|
||||
/*小于*/
|
||||
@media screen and (max-width: 480px) {
|
||||
.right-box{
|
||||
height: 40px!important;
|
||||
width: 40px!important;
|
||||
img{
|
||||
height: 30px!important;
|
||||
width: 30px!important;
|
||||
}
|
||||
}
|
||||
.left-box{
|
||||
height: 40px!important;
|
||||
width: 40px!important;
|
||||
img{
|
||||
height: 30px!important;
|
||||
width: 30px!important;
|
||||
}
|
||||
}
|
||||
.number_con li {
|
||||
width: 100%;
|
||||
}
|
||||
// .partners_li {
|
||||
// margin: 10px;
|
||||
// width: 100%;
|
||||
// // width: calc((100% - 20px) / 6);
|
||||
// // align-items: center;
|
||||
// display: block;
|
||||
// // align-items: center;
|
||||
// // box-shadow: 0px 0px 6px #555;
|
||||
// border-radius: 10px;
|
||||
// }
|
||||
// .partners_flex {
|
||||
// display: block;
|
||||
// // justify-content: space-evenly;
|
||||
// // flex-wrap: wrap;
|
||||
// }
|
||||
}
|
||||
|
@ -1,116 +1,186 @@
|
||||
.box{
|
||||
.box {
|
||||
width: 100%;
|
||||
// background-color: black;
|
||||
}
|
||||
|
||||
|
||||
// 米尔产品
|
||||
.product-big-box{
|
||||
background-color: #f8f8f8;
|
||||
padding: 100px 0 100px 0;
|
||||
}
|
||||
|
||||
.product-pos-box {
|
||||
margin: 0 auto;
|
||||
width: 85%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
|
||||
}
|
||||
|
||||
.product-title-box {}
|
||||
|
||||
.product-title {
|
||||
letter-spacing: 3px;
|
||||
font-size: 35px;
|
||||
h2 {
|
||||
margin: 0 0 45px;
|
||||
font-size: 25px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.product-type-box {
|
||||
h2 span {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
h2 i {
|
||||
position: absolute;
|
||||
right: -43px;
|
||||
top: -10px;
|
||||
background: var(--rootColor);
|
||||
padding: 2px 8px;
|
||||
border-radius: 20px 20px 20px 0;
|
||||
color: #fff;
|
||||
font-size: 10px;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
h2:after {
|
||||
content: " ";
|
||||
width: 30px;
|
||||
background: var(--rootColor);
|
||||
height: 3px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 45px;
|
||||
margin-left: calc(50% - 10px);
|
||||
border-radius: 1.5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 海报
|
||||
.poster-box {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
.poster-img-box {
|
||||
width: 100%;
|
||||
height: 180px;
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.poster-img-box img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
|
||||
// 精选推荐
|
||||
.update-big-box {
|
||||
margin-top: 35px;
|
||||
}
|
||||
|
||||
.content-list-box {
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
.content-box {
|
||||
width: 100%;
|
||||
height: 430px;
|
||||
float: left;
|
||||
background: #fff;
|
||||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.075);
|
||||
position: relative;
|
||||
border-radius: 15px;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
transition: all .3s ease 0s;
|
||||
margin-bottom: 40px;
|
||||
padding: 10px;
|
||||
margin: 30px 0px;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.product-typ-item {
|
||||
font-size: 18px;
|
||||
margin: 0px 50px 0px 0px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.product-content-box {
|
||||
width: 72%;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
margin-top: 20px;
|
||||
.content-box:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.product-content-left-box {
|
||||
.content-img-box {
|
||||
width: 100%;
|
||||
height: 70%;
|
||||
border-radius: 15px;
|
||||
overflow: hidden;
|
||||
height: 300px;
|
||||
width: 45%;
|
||||
box-shadow: rgb(219, 219, 219) 0px 0px 10px 1px;
|
||||
border-radius: 10px;
|
||||
|
||||
// transform: translateY(-10px);
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.product-content-left-box img {
|
||||
.content-img-box img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.product-content-right-box {
|
||||
height: 300px;
|
||||
width: 50%;
|
||||
.content-box-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.product-content-right-intro {
|
||||
font-size: 16px;
|
||||
color: rgb(155, 155, 155);
|
||||
.content-box-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.product-advantage-pos-box {
|
||||
.content-rate-box {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
margin: 50px 0 0 0px;
|
||||
}
|
||||
|
||||
.product-advantage-box {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.product-advantage-img-box {
|
||||
height: 45px;
|
||||
width: 45px;
|
||||
margin: 0px 0px 10px;
|
||||
}
|
||||
|
||||
.product-advantage-img-box img {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.product-advantage-text {
|
||||
width: 70px;
|
||||
font-size: 16px;
|
||||
color: rgb(130, 130, 130);
|
||||
text-align: center;
|
||||
|
||||
.content-rate-icon-box {
|
||||
display: flex;
|
||||
margin-right: 15px;
|
||||
align-items: center;
|
||||
font-size: 15px;
|
||||
color: #8FA0B7;
|
||||
}
|
||||
|
||||
.product-content-btn-box {
|
||||
margin-top: 30px;
|
||||
.content-rate-icon {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.content-line {
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background-color: #F7F7F7;
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.content-user-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.content-user-img-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.content-user-name{
|
||||
width: 120px;
|
||||
margin-left: 10px;
|
||||
font-size: 15px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.content-user-send-time{
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
color: grey;
|
||||
}
|
||||
|
||||
.btn-box{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.btn{
|
||||
width: 150px;
|
||||
font-size: 18px;
|
||||
border-radius: 20px;
|
||||
background-color: #3F3F3F;
|
||||
border: none;
|
||||
color: #fff;
|
||||
letter-spacing: 1.5px;
|
||||
}
|
@ -2,43 +2,40 @@
|
||||
/*1440px*/
|
||||
/*大于*/
|
||||
@media screen and (min-width: 1440px) {
|
||||
.container {
|
||||
max-width: 1560px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*小于*/
|
||||
@media screen and (min-width: 1440px) {
|
||||
}
|
||||
@media screen and (min-width: 1440px) {}
|
||||
|
||||
/*1200px*/
|
||||
/*大于*/
|
||||
@media screen and (min-width: 1200px) {
|
||||
|
||||
}
|
||||
@media screen and (min-width: 1200px) {}
|
||||
|
||||
/*小于*/
|
||||
@media screen and (max-width: 1200px) {
|
||||
|
||||
}
|
||||
@media screen and (max-width: 1200px) {}
|
||||
|
||||
/*880px*/
|
||||
/*大于*/
|
||||
@media screen and (min-width: 880px) {
|
||||
|
||||
}
|
||||
@media screen and (min-width: 880px) {}
|
||||
|
||||
/*小于*/
|
||||
@media screen and (max-width: 880px) {
|
||||
|
||||
}
|
||||
@media screen and (max-width: 880px) {}
|
||||
|
||||
|
||||
/*480px*/
|
||||
/*大于*/
|
||||
@media screen and (min-width: 480px) {
|
||||
|
||||
}
|
||||
@media screen and (min-width: 480px) {}
|
||||
|
||||
/*小于*/
|
||||
@media screen and (max-width: 480px) {
|
||||
|
||||
}
|
||||
|
||||
.box {
|
||||
margin-top: 90px !important;
|
||||
}
|
||||
|
||||
.poster-img-box {
|
||||
height: 150px !important;
|
||||
}
|
||||
}
|
@ -29,7 +29,7 @@
|
||||
<div class="HeaderNav-navItems-child-box dNone" @mouseleave.capture="enterNavLeave"
|
||||
v-if="item.children.length >= 1">
|
||||
<div v-for="_item in item.children" class="HeaderNav-navItems-child-items">
|
||||
<nuxt-link :to="getHerf(_item['href'])" class="font">
|
||||
<nuxt-link :to="getHerf(_item['href'])" class="font" @mouseenter="enterNavEnter">
|
||||
{{ _item.name }}
|
||||
<!-- <div v-if="_item.children">
|
||||
<div v-if="_item.children.length >= 1" @mouseenter="enterNavEnter"> ></div>
|
||||
@ -71,11 +71,11 @@ const enterNavEnter = e => {
|
||||
let ele = e.target.parentElement.getElementsByClassName('HeaderNav-navItems-child-box')[0]
|
||||
ele &&
|
||||
ele.classList.remove('dNone')
|
||||
// clearInterval(navTimer)
|
||||
// navTimer = setTimeout(() => {
|
||||
// ele &&
|
||||
// ele.classList.add('dNone')
|
||||
// }, 1000)
|
||||
clearInterval(navTimer)
|
||||
navTimer = setTimeout(() => {
|
||||
ele &&
|
||||
ele.classList.add('dNone')
|
||||
}, 1000)
|
||||
}
|
||||
const enterNavLeave = e => {
|
||||
let ele = e.target.parentElement.getElementsByClassName('HeaderNav-navItems-child-box')[0]
|
||||
|
@ -1,465 +0,0 @@
|
||||
<template>
|
||||
<div class="main">
|
||||
<section>
|
||||
<div class="acard">
|
||||
<div class="container">
|
||||
<div class="row acardflex">
|
||||
<div class="acard_left col-xs-12 col-sm-12 col-md-6 col-lg-6 right op0"
|
||||
data-animation="slide-in-blurred-left">
|
||||
<div class="videocard_title">
|
||||
<span> {{ $t('home.who.title') }} </span>
|
||||
<h2>{{ $t('home.who.company') }}</h2>
|
||||
<p>{{ $t('home.who.desc') }}</p>
|
||||
</div>
|
||||
<div class="acard_list">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="acardli">
|
||||
<i class="iconfont"></i>
|
||||
<p>{{ $t('home.who.tech') }}</p>
|
||||
<div class="acardlicover"></div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="acardli">
|
||||
<i class="iconfont"></i>
|
||||
<p>{{ $t('home.who.service') }}</p>
|
||||
<div class="acardlicover"></div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="acardli">
|
||||
<i class="iconfont"></i>
|
||||
<p>{{ $t('home.who.price') }}</p>
|
||||
<div class="acardlicover"></div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="acard_right col-xs-12 col-sm-12 col-md-6 col-lg-6 left op0"
|
||||
data-animation="slide-in-blurred-right">
|
||||
<div class="acardimg videoimgbtn videobtns">
|
||||
<img src="/img/home/about-2.jpg" alt="about">
|
||||
<a href="https://www.youtube.com/watch?v=2qpzCPHUv8g" target="_blank" rel="nofollow">
|
||||
<div class="videobbb">
|
||||
<div class="videoplay">
|
||||
<div class="point2">
|
||||
<i class="iconfont"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<div class="bcard">
|
||||
<div class="bcardcover"></div>
|
||||
<div class="container">
|
||||
<div class="bcard_title right">
|
||||
<span>{{ $t('home.service.our') }}</span>
|
||||
<h2>{{ $t('home.service.pro') }}</h2>
|
||||
</div>
|
||||
<div class="bcard_list op0 " data-animation="slide-in-blurred-left">
|
||||
<div class="row">
|
||||
|
||||
<div class="bcard_li col-xs-12 col-sm-6 col-md-4 col-lg-4">
|
||||
<div class="bcard_box">
|
||||
<span class="bcardicon"><i class="iconfont"></i></span>
|
||||
<div class="bcard_txt">
|
||||
<a href="javascrpit:;">
|
||||
<h3>{{ $t('home.service.items.1.title') }}</h3>
|
||||
</a>
|
||||
<p>{{ $t('home.service.items.1.desc') }}</p>
|
||||
<a href="javascrpit:;" class="bcard_more">
|
||||
<h4>{{ $t('home.service.more') }}</h4>
|
||||
<i class="iconfont"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bcard_li col-xs-12 col-sm-6 col-md-4 col-lg-4">
|
||||
<div class="bcard_box">
|
||||
<span class="bcardicon"><i class="iconfont"></i></span>
|
||||
<div class="bcard_txt">
|
||||
<a href="javascrpit:;">
|
||||
<h3>{{ $t('home.service.items.2.title') }}</h3>
|
||||
</a>
|
||||
<p>{{ $t('home.service.items.2.desc') }}</p>
|
||||
<a href="javascrpit:;" class="bcard_more">
|
||||
<h4>{{ $t('home.service.more') }}</h4>
|
||||
<i class="iconfont"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bcard_li col-xs-12 col-sm-6 col-md-4 col-lg-4">
|
||||
<div class="bcard_box">
|
||||
<span class="bcardicon"><i class="iconfont"></i></span>
|
||||
<div class="bcard_txt">
|
||||
<a href="javascrpit:;">
|
||||
<h3>{{ $t('home.service.items.3.title') }}</h3>
|
||||
</a>
|
||||
<p>{{ $t('home.service.items.3.desc') }}</p>
|
||||
<a href="javascrpit:;" class="bcard_more">
|
||||
<h4>{{ $t('home.service.more') }}</h4>
|
||||
<i class="iconfont"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bcard_li col-xs-12 col-sm-6 col-md-4 col-lg-4">
|
||||
<div class="bcard_box">
|
||||
<span class="bcardicon"><i class="iconfont"></i></span>
|
||||
<div class="bcard_txt">
|
||||
<a href="javascrpit:;">
|
||||
<h3>{{ $t('home.service.items.4.title') }}</h3>
|
||||
</a>
|
||||
<p>{{ $t('home.service.items.4.desc') }}</p>
|
||||
<a href="javascrpit:;" class="bcard_more">
|
||||
<h4>{{ $t('home.service.more') }}</h4>
|
||||
<i class="iconfont"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bcard_li col-xs-12 col-sm-6 col-md-4 col-lg-4">
|
||||
<div class="bcard_box">
|
||||
<span class="bcardicon"><i class="iconfont"></i></span>
|
||||
<div class="bcard_txt">
|
||||
<a href="javascrpit:;">
|
||||
<h3>{{ $t('home.service.items.5.title') }}</h3>
|
||||
</a>
|
||||
<p>{{ $t('home.service.items.5.desc') }}</p>
|
||||
<a href="javascrpit:;" class="bcard_more">
|
||||
<h4>{{ $t('home.service.more') }}</h4>
|
||||
<i class="iconfont"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bcard_li col-xs-12 col-sm-6 col-md-4 col-lg-4">
|
||||
<div class="bcard_box">
|
||||
<span class="bcardicon"><i class="iconfont"></i></span>
|
||||
<div class="bcard_txt">
|
||||
<a href="javascrpit:;">
|
||||
<h3>{{ $t('home.service.items.6.title') }}</h3>
|
||||
</a>
|
||||
<p>{{ $t('home.service.items.6.desc') }}</p>
|
||||
<a href="javascrpit:;" class="bcard_more">
|
||||
<h4>{{ $t('home.service.more') }}</h4>
|
||||
<i class="iconfont"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
<div class="number bottom op0" data-animation="slide-in-elliptic-top-fwd">
|
||||
<div class="container">
|
||||
<div class="number_con">
|
||||
<ul>
|
||||
<li>
|
||||
<i class="iconfont"></i>
|
||||
<span class="timer numadd" data-to="125" data-speed="3000">{{ _timer_data[0] }}</span>
|
||||
<p>{{ $t('home.statistics.expert') }}</p>
|
||||
</li>
|
||||
<li>
|
||||
<i class="iconfont"></i>
|
||||
<span class="timer numadd" data-to="1250" data-speed="3000">{{ _timer_data[1] }}</span>
|
||||
<p>{{ $t('home.statistics.project') }}</p>
|
||||
</li>
|
||||
<li>
|
||||
<i class="iconfont"></i>
|
||||
<span class="timer numadd" data-to="850" data-speed="3000">{{ _timer_data[2] }}</span>
|
||||
<p>{{ $t('home.statistics.satisfied') }}</p>
|
||||
</li>
|
||||
<li>
|
||||
<i class="iconfont"></i>
|
||||
<span class="timer numadd" data-to="135" data-speed="3000">{{ _timer_data[3] }}</span>
|
||||
<p>{{ $t('home.statistics.award') }}</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section>
|
||||
<div class="videocard">
|
||||
<div class="container">
|
||||
<div class="row videocardflex">
|
||||
<div class="videocard_left col-xs-12 col-sm-12 col-md-6 col-lg-6 right op0"
|
||||
data-animation="slide-in-blurred-left">
|
||||
<div class="videoleftmain">
|
||||
<div class="videocard_title">
|
||||
<span>{{ $t('home.why.title') }}</span>
|
||||
<h2>{{ $t('home.why.company') }}</h2>
|
||||
<p>{{ $t('home.why.desc') }}</p>
|
||||
</div>
|
||||
<div class="videocard_list">
|
||||
<ul>
|
||||
<li>
|
||||
<span><i class="iconfont"></i></span>
|
||||
<p>{{ $t('home.why.series.1') }}</p>
|
||||
</li>
|
||||
<li>
|
||||
<span><i class="iconfont"></i></span>
|
||||
<p>{{ $t('home.why.series.2') }}</p>
|
||||
</li>
|
||||
<li>
|
||||
<span><i class="iconfont"></i></span>
|
||||
<p>{{ $t('home.why.series.3') }}</p>
|
||||
</li>
|
||||
<li>
|
||||
<span><i class="iconfont"></i></span>
|
||||
<p>{{ $t('home.why.series.4') }}</p>
|
||||
</li>
|
||||
<li>
|
||||
<span><i class="iconfont"></i></span>
|
||||
<p>{{ $t('home.why.series.5') }}</p>
|
||||
</li>
|
||||
<li>
|
||||
<span><i class="iconfont"></i></span>
|
||||
<p>{{ $t('home.why.series.6') }}</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="videocard_right col-xs-12 col-sm-12 col-md-6 col-lg-6 left op0"
|
||||
data-animation="slide-in-blurred-right">
|
||||
<div class="videocard_right_img">
|
||||
<img src="/img/home/img4.jpg" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="videomain">
|
||||
<div class="videoclose">
|
||||
<img src="/img/home/closeBtn.png" alt="">
|
||||
</div>
|
||||
<div class="videobox">
|
||||
<!--<video src="" controls></video>-->
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/2qpzCPHUv8g?si=AjSckeq0WxEFPzH1"
|
||||
title="YouTube video player" frameborder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
allowfullscreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section>
|
||||
<div class="brand colormove" data-animation="slide-in-elliptic-top-fwd">
|
||||
<div class="brandcover"></div>
|
||||
<div class="brand_txt">
|
||||
<h2>{{ $t('home.for.title') }}</h2>
|
||||
<p>{{ $t('home.for.desc') }}</p>
|
||||
<a href="products/index.html" class="brand_more">{{ $t('home.for.start') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section>
|
||||
<div class="allmain">
|
||||
<div class="blog_title right op0" data-animation="slide-in-blurred-left">
|
||||
<span>{{ $t('home.products.title') }}</span>
|
||||
<h2>{{ $t('home.products.desc') }}</h2>
|
||||
</div>
|
||||
<div class="allmain_list">
|
||||
<div class="row allmainflex">
|
||||
|
||||
<div class="allmain_li col-xs-12 col-sm-6 col-md-6 col-lg-4" v-for="item in product_data">
|
||||
<div class="allmain_box">
|
||||
<div class="allmain_cover"></div>
|
||||
<a href="javascript:;" class="allmain_txt">
|
||||
<h3>{{ item.title }}</h3>
|
||||
<p>{{ item.abstract }}</p>
|
||||
</a>
|
||||
<a href="javascript:;" class="allmainimg">
|
||||
<img :src="item.img" alt="токарно фрезерный станок с чпу завод" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<div>
|
||||
<img width=100% src="/img/home/38a0b923.png" alt="图片1">
|
||||
</div>
|
||||
</section>
|
||||
<!-- 新闻 -->
|
||||
<section>
|
||||
<div class="blog">
|
||||
<div class="container">
|
||||
<div class="blog_title right" data-animation="slide-in-blurred-left">
|
||||
<span>{{ $t('home.news.title') }}</span>
|
||||
<h2>{{ $t('home.news.desc') }}</h2>
|
||||
</div>
|
||||
<div class="blog_main">
|
||||
<div class="row blogflex">
|
||||
|
||||
<div class="blog_li col-xs-12 col-sm-6 col-md-6 col-lg-4" v-for="(item, i) in new_data">
|
||||
<div class="blog_box">
|
||||
<div class="blogtime">
|
||||
<span>{{ item.news_issue_date }}</span>
|
||||
<p>{{ item.year }}</p>
|
||||
</div>
|
||||
<a :href='item.url' class="blog_img">
|
||||
<img :src="item.img" alt="" />
|
||||
</a>
|
||||
<div class="blog_txt">
|
||||
<a :href='item.url'>
|
||||
<h3> {{ item.title }}</h3>
|
||||
</a>
|
||||
<p>{{ item.news_intro }}
|
||||
</p>
|
||||
<a :href='item.url' class="blog_more">
|
||||
<span>Читать больше</span>
|
||||
<i class="iconfont"> </i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
let new_data = ref([{
|
||||
year: '2023',
|
||||
blogtime: '08-15',
|
||||
title: '2014 год',
|
||||
abstract: 'Первый фрезерный станок 4 + 4 с живым циклом был успешно разработан и подал з...',
|
||||
img: '/img/home/b50504e1.jpg',
|
||||
url: "javascript:;"
|
||||
|
||||
}, {
|
||||
year: '2023',
|
||||
blogtime: '08-15',
|
||||
title: 'В 2009 году',
|
||||
abstract: '2014 годПрервав технические барьеры для встроенных Y – осевых фрезерны...',
|
||||
img: '/img/home/b50504e1.jpg',
|
||||
url: "javascript:;"
|
||||
},
|
||||
])
|
||||
let product_data = ref([
|
||||
// {
|
||||
// url: '2023',
|
||||
// blogtime: '08-15',
|
||||
// title: 'токарный с чпу по металлу Производитель',
|
||||
// abstract: 'токарно фрезерный станок с чпуТокарно фрезерный станок с ЧПУ – это высокотехнологичное оборудование, котороеиспользуется вметаллообрабатывающей промышленности для выполнения различных видо...',
|
||||
// img: '/img/home/W7-8-6D.jpg'
|
||||
|
||||
// }
|
||||
])
|
||||
const { t, locale } = useI18n()
|
||||
|
||||
let timer_data = reactive(['125', '1250', '850', '135'])
|
||||
let _timer_data = reactive(['0', '0', '0', '0'])
|
||||
let i = ref('1')
|
||||
let key = ref(0)
|
||||
onMounted(() => {
|
||||
|
||||
const totalHeight = document.body.scrollHeight;
|
||||
|
||||
// 监听滚动事件
|
||||
window.addEventListener('scroll', function () {
|
||||
// 获取当前视窗的高度
|
||||
const viewportHeight = window.innerHeight;
|
||||
// 获取当前滚动位置
|
||||
const scrollPosition = window.scrollY;
|
||||
// 设置关键位置(例如页面高度的一半)
|
||||
const keyPosition = 1200
|
||||
// console.log(scrollPosition);
|
||||
// 检查是否滚动到关键位置
|
||||
if (scrollPosition >= keyPosition) {
|
||||
if (key.value == 0) {
|
||||
handleKeyPosition();
|
||||
key.value = 1
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// 处理到达关键位置的函数
|
||||
function handleKeyPosition() {
|
||||
for (let i = 0; i < _timer_data.length; i++) {
|
||||
if (_timer_data[i] != timer_data[i]) {
|
||||
_timer_data[i]++;
|
||||
setTimeout(() => {
|
||||
handleKeyPosition()
|
||||
}, 100);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
// const getlist = function () {
|
||||
// product_data.value = []
|
||||
let data = []
|
||||
useFetch('/api/product/getProductList', { params: { locale: locale.value } }).then(res => {
|
||||
// total.value = JSON.parse(res.data.value).count || 0
|
||||
// product_list.value = JSON.parse(res.data.value).data || []
|
||||
// console.log(product_list.value[0],'@@@@@');
|
||||
JSON.parse(res.data.value).data.forEach(element => {
|
||||
element.product_img = element.product_img.split(",")[0];
|
||||
data.push(element)
|
||||
});
|
||||
console.log(data);
|
||||
if (data.length <= 6) {
|
||||
product_data.value = data
|
||||
for (let s = 0; s <= 6 - data.length; s++) {
|
||||
// console.log(data[s], '@@')
|
||||
product_data.value.push(data[s])
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
product_data.value = data.slice(0, 6)
|
||||
}
|
||||
})
|
||||
// }
|
||||
// getlist()
|
||||
</script>
|
||||
|
||||
|
||||
<style scoped src="~/assets/css/IndexDetail/index.scss"></style>
|
||||
<style scoped src="~/assets/css/IndexDetail/media.scss"></style>
|
||||
<style scoped src="~/assets/css/index/font/iconfont.css"></style>
|
||||
<style scoped src="~/assets/css/index/font2/iconfont.css"></style>
|
3
package-lock.json
generated
3
package-lock.json
generated
@ -7,6 +7,7 @@
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@amap/amap-jsapi-loader": "^1.0.1",
|
||||
"@element-plus/icons-vue": "^2.3.1",
|
||||
"@intlify/unplugin-vue-i18n": "^4.0.0",
|
||||
"animate.css": "^4.1.1",
|
||||
"bootstrap": "^5.3.0-alpha1",
|
||||
@ -753,7 +754,7 @@
|
||||
},
|
||||
"node_modules/@element-plus/icons-vue": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@element-plus/icons-vue/-/icons-vue-2.3.1.tgz",
|
||||
"resolved": "https://registry.npmmirror.com/@element-plus/icons-vue/-/icons-vue-2.3.1.tgz",
|
||||
"integrity": "sha512-XxVUZv48RZAd87ucGS48jPf6pKu0yV5UCg9f4FFwtrYxXOwWuVJo6wOvSLKEoMQKjv8GsX/mhP6UsC1lRwbUWg==",
|
||||
"peerDependencies": {
|
||||
"vue": "^3.2.0"
|
||||
|
@ -18,6 +18,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@amap/amap-jsapi-loader": "^1.0.1",
|
||||
"@element-plus/icons-vue": "^2.3.1",
|
||||
"@intlify/unplugin-vue-i18n": "^4.0.0",
|
||||
"animate.css": "^4.1.1",
|
||||
"bootstrap": "^5.3.0-alpha1",
|
||||
@ -29,4 +30,4 @@
|
||||
"v3-lazyload-hyw": "^1.5.7",
|
||||
"vue-awesome-swiper": "^5.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
301
pages/index.vue
301
pages/index.vue
@ -12,259 +12,104 @@
|
||||
<div class="Home-main">
|
||||
<div class="main">
|
||||
|
||||
<!-- 公司简介 -->
|
||||
<!-- 四个海报 -->
|
||||
<section>
|
||||
<div class="acard">
|
||||
<div class="container">
|
||||
<div class="row acardflex">
|
||||
<div class="acard_left col-xs-12 col-sm-12 col-md-6 col-lg-6 right op0"
|
||||
data-animation="slide-in-blurred-left">
|
||||
<div class="videocard_title">
|
||||
<span> {{ $t('home.who.title') }} </span>
|
||||
<h2>{{ $t('home.who.company') }}</h2>
|
||||
<p>{{ $t('home.who.desc') }}</p>
|
||||
</div>
|
||||
<div class="acard_list">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="acardli">
|
||||
<i class="iconfont3"></i>
|
||||
<p>{{ $t('home.who.tech') }}</p>
|
||||
<div class="acardlicover"></div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="acardli">
|
||||
<i class="iconfont"></i>
|
||||
<p>{{ $t('home.who.service') }}</p>
|
||||
<div class="acardlicover"></div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="acardli">
|
||||
<i class="iconfont"></i>
|
||||
<p>{{ $t('home.who.price') }}</p>
|
||||
<div class="acardlicover"></div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="container poster-box">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-6">
|
||||
<div class="poster-img-box">
|
||||
<img src="/img/home/card1.jpg" alt="" srcset="">
|
||||
</div>
|
||||
<div class="acard_right col-xs-12 col-sm-12 col-md-6 col-lg-6 left op0"
|
||||
data-animation="slide-in-blurred-right">
|
||||
<!-- <div class="acardimg videoimgbtn videobtns"> -->
|
||||
<!-- <div class="acard_video"> -->
|
||||
<video ref="videoPlay" class="acardimg" controls width="100%" autoplay muted="muted"
|
||||
:poster="video_url?.home_video_cover ? video_url?.home_video_cover : '/img/home/about-2.jpg'">
|
||||
<source :src="video_url?.home_video_url">
|
||||
</video>
|
||||
<!-- </div> -->
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-6">
|
||||
<div class="poster-img-box">
|
||||
<img src="/img/home/card2.jpg" alt="" srcset="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-6">
|
||||
<div class="poster-img-box">
|
||||
<img src="/img/home/card3.jpg" alt="" srcset="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-6">
|
||||
<div class="poster-img-box">
|
||||
<img src="/img/home/card4.jpg" alt="" srcset="">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 优质服务 -->
|
||||
<section>
|
||||
<div class="bcard">
|
||||
<div class="bcardcover"></div>
|
||||
<div class="container">
|
||||
<div class="bcard_title right">
|
||||
<span>{{ $t('home.service.our') }}</span>
|
||||
<h2>{{ $t('home.service.pro') }}</h2>
|
||||
</div>
|
||||
<div class="bcard_list op0 " data-animation="slide-in-blurred-left">
|
||||
<div class="row">
|
||||
|
||||
<div class="bcard_li col-xs-12 col-sm-6 col-md-4 col-lg-4" v-for="item in Professional_data">
|
||||
<div class="bcard_box">
|
||||
<span class="bcardicon"><i class="iconfont2" v-html="item.professional_service_icon"></i></span>
|
||||
<div class="bcard_txt">
|
||||
<a href="javascrpit:;">
|
||||
<h3>{{ item.professional_service_title }}</h3>
|
||||
</a>
|
||||
<p>{{ item.professional_service_describe }}</p>
|
||||
<nuxt-link class="bcard_more" :to="item.professional_service_link">
|
||||
<h4>{{ $t('home.service.more') }}</h4>
|
||||
<i class="iconfont"></i>
|
||||
</nuxt-link>
|
||||
<!-- 精选推荐 -->
|
||||
<section>
|
||||
<div class="container update-big-box">
|
||||
|
||||
<div class="update-title-box">
|
||||
<h2><span>精选推荐<i>NEW</i></span></h2>
|
||||
</div>
|
||||
|
||||
<div class="row content-list-box">
|
||||
<div v-for="item in 5" class="col-lg-3 col-md-6 col-sm-6 col-xs-6">
|
||||
<div class="content-box">
|
||||
<div class="content-img-box">
|
||||
<img src="https://img.alicdn.com/imgextra/i3/1856665554/O1CN01c03yxb1qtmhbG47Mv_!!1856665554.jpg"
|
||||
alt="">
|
||||
</div>
|
||||
|
||||
<div class="content-box-content">
|
||||
<div class="content-box-title f1">Blneder 微动态场景 旅途中</div>
|
||||
<div class="content-rate-box">
|
||||
<div class="content-rate-icon-box">
|
||||
<el-icon class="content-rate-icon">
|
||||
<View />
|
||||
</el-icon>
|
||||
<div class="content-rate-num">333</div>
|
||||
</div>
|
||||
<div class="content-rate-icon-box">
|
||||
<el-icon class="content-rate-icon">
|
||||
<ChatLineRound />
|
||||
</el-icon>
|
||||
<div class="content-rate-num">2</div>
|
||||
</div>
|
||||
<div class="content-rate-icon-box">
|
||||
<el-icon class="content-rate-icon">
|
||||
<Download />
|
||||
</el-icon>
|
||||
<div class="content-rate-num">12</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content-line"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 高光 -->
|
||||
<section>
|
||||
<div class="number bottom op0" data-animation="slide-in-elliptic-top-fwd">
|
||||
<div class="container">
|
||||
<div class="number_con">
|
||||
<ul>
|
||||
<li v-for="item in heightlight_data">
|
||||
<span><i class="iconfont"></i></span>
|
||||
<p>{{ item.highlights_title }}</p>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section>
|
||||
<div class="double_banner">
|
||||
|
||||
<div style="margin-bottom:20px">
|
||||
|
||||
<InfiniteRotation
|
||||
:openMargin="true"
|
||||
:slidesPerView="slidesPerView" :Infinite="true" :direction='false'
|
||||
:bannerList="bannerListUp">
|
||||
</InfiniteRotation>
|
||||
</div>
|
||||
<!-- <div>-->
|
||||
|
||||
<!-- <InfiniteRotation :slidesPerView="slidesPerView" :direction='true' :bannerList="bannerListDown">-->
|
||||
<!-- </InfiniteRotation>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- 第二横幅 -->
|
||||
<section>
|
||||
<div class="brand colormove" data-animation="slide-in-elliptic-top-fwd">
|
||||
|
||||
<div class="brand_txt">
|
||||
<h2>{{ $t('home.for.title') }}</h2>
|
||||
<p>{{ $t('home.for.desc') }}</p>
|
||||
|
||||
<nuxt-link :to="getHerf('/product/product_list/0-1')">
|
||||
<div class="brand_more">
|
||||
|
||||
{{ $t('home.for.start') }}
|
||||
</div>
|
||||
</nuxt-link>
|
||||
|
||||
<!-- <a href="products/index.html" class="brand_more">{{ $t('home.for.start') }}</a> -->
|
||||
</div>
|
||||
<div class="brandcover"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 产品列表 -->
|
||||
<section>
|
||||
<div class="allmain">
|
||||
<div class="blog_title right op0" data-animation="slide-in-blurred-left">
|
||||
<span>{{ $t('home.products.title') }}</span>
|
||||
<h2>{{ $t('home.products.desc') }}</h2>
|
||||
</div>
|
||||
<div class="allmain_list">
|
||||
<div class="row allmainflex">
|
||||
|
||||
<div class="allmain_li col-xs-12 col-sm-6 col-md-6 col-lg-4" v-for="item in product_data">
|
||||
<nuxt-link :to="getHerf(getProductLink(item))" class="jump">
|
||||
<div class="allmain_box">
|
||||
<div class="allmain_cover"></div>
|
||||
<a href="javascript:;" class="allmain_txt">
|
||||
<h3>{{ item.product_name }}</h3>
|
||||
<p>{{ item.product_description }}</p>
|
||||
</a>
|
||||
<a href="javascript:;" class="allmainimg">
|
||||
<img :src="item.product_img" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</nuxt-link>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<div>
|
||||
<img width=100% src="/img/home/38a0b923.png" alt="图片1">
|
||||
</div>
|
||||
</section>
|
||||
<!-- 新闻 -->
|
||||
<section>
|
||||
<div class="blog">
|
||||
<div class="container">
|
||||
<div class="blog_title right" data-animation="slide-in-blurred-left">
|
||||
<span>{{ $t('home.news.title') }}</span>
|
||||
<h2>{{ $t('home.news.desc') }}</h2>
|
||||
</div>
|
||||
<div class="blog_main">
|
||||
<div class="row blogflex">
|
||||
|
||||
<div class="blog_li col-xs-12 col-sm-6 col-md-6 col-lg-4" v-for="(item, i) in newsList">
|
||||
<nuxt-link :to="getHerf(getNewsLink(item))" class="jump">
|
||||
<div class="blog_box">
|
||||
<div class="blogtime">
|
||||
<span>{{ item.news_issue_date_month }}-{{ item.news_issue_date_day }}</span>
|
||||
<p>{{ item.news_issue_year }}</p>
|
||||
</div>
|
||||
<span class="blog_img">
|
||||
<img :src="item.news_cover" alt="" />
|
||||
</span>
|
||||
<div class="blog_txt">
|
||||
|
||||
<h3> {{ item.news_title }}</h3>
|
||||
|
||||
<p>{{ item.news_intro }}
|
||||
</p>
|
||||
<span class="blog_more">
|
||||
<span>{{ $t('news.more') }}</span>
|
||||
<i class="iconfont"> </i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="content-user-box">
|
||||
<div class="content-user-img-box">
|
||||
<el-avatar class="content-user-img" :size="30"
|
||||
src="https://thirdwx.qlogo.cn/mmopen/vi_32/PiajxSqBRaEKo3fnCIM2dHYJnMj04OIHwFqgFs84camsicv6MticPsXKBsoQQPhSJCW6IiaUBZy7ib0LdUhwr9WuRuDI33ibN4xmZR6kia9r9zaaWCAxTia0yiawRWg/132" />
|
||||
<div class="content-user-name f1">西瓜西了西</div>
|
||||
</div>
|
||||
</nuxt-link>
|
||||
</div>
|
||||
<div class="content-user-send-time">2024-03-01</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<div class="blog">
|
||||
<div class="container">
|
||||
<div class="blog_title right" data-animation="slide-in-blurred-left">
|
||||
<span>{{ $t('home.partners.title') }}</span>
|
||||
<h2>{{ $t('home.partners.desc') }}</h2>
|
||||
</div>
|
||||
<div class="partners_main">
|
||||
<div class="partners_flex">
|
||||
<div class=" partners_li" v-for="item in partners_data">
|
||||
<!-- <div class="partners_div"> -->
|
||||
<img :src="item.partners_img" alt="">
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="btn-box">
|
||||
<el-button class="btn" type="primary" size="large">查看更多</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<PopupMessageUs></PopupMessageUs>
|
||||
<Final></Final>
|
||||
<!-- <Final></Final> -->
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@ -390,8 +235,6 @@ defineExpose({
|
||||
|
||||
<style scoped src="~/assets/css/index/index.scss"></style>
|
||||
<style scoped src="~/assets/css/index/media.scss"></style>
|
||||
<style scoped src="~/assets/css/IndexDetail/index.scss"></style>
|
||||
<style scoped src="~/assets/css/IndexDetail/media.scss"></style>
|
||||
<style scoped src="~/assets/css/index/font/iconfont.css"></style>
|
||||
<style scoped src="~/assets/css/index/iconfont/iconfont.css"></style>
|
||||
<style scoped src="~/assets/css/index/font2/iconfont.css"></style>
|
||||
|
9
plugins/element-icon.js
Normal file
9
plugins/element-icon.js
Normal file
@ -0,0 +1,9 @@
|
||||
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
||||
import {
|
||||
defineNuxtPlugin
|
||||
} from '#app'
|
||||
export default defineNuxtPlugin(nuxtApp => {
|
||||
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
||||
nuxtApp.vueApp.component(key, component)
|
||||
}
|
||||
})
|
@ -372,7 +372,7 @@
|
||||
|
||||
"@element-plus/icons-vue@^2.3.1", "@element-plus/icons-vue@>=0.2.6":
|
||||
version "2.3.1"
|
||||
resolved "https://registry.npmjs.org/@element-plus/icons-vue/-/icons-vue-2.3.1.tgz"
|
||||
resolved "https://registry.npmmirror.com/@element-plus/icons-vue/-/icons-vue-2.3.1.tgz"
|
||||
integrity sha512-XxVUZv48RZAd87ucGS48jPf6pKu0yV5UCg9f4FFwtrYxXOwWuVJo6wOvSLKEoMQKjv8GsX/mhP6UsC1lRwbUWg==
|
||||
|
||||
"@element-plus/nuxt@^1.0.8":
|
||||
|
Loading…
Reference in New Issue
Block a user