|
@@ -1,4 +1,5 @@
|
|
@import "../base/utils";
|
|
@import "../base/utils";
|
|
|
|
+@import "cus-website-common";
|
|
|
|
|
|
@mixin setWebsitePage() {
|
|
@mixin setWebsitePage() {
|
|
/******** describe: 网站首页 author: TX date:2020-07-30 ********/
|
|
/******** describe: 网站首页 author: TX date:2020-07-30 ********/
|
|
@@ -129,7 +130,7 @@
|
|
|
|
|
|
/* 产品和服务 */
|
|
/* 产品和服务 */
|
|
.products-services-box{
|
|
.products-services-box{
|
|
- margin-top: 136px;
|
|
|
|
|
|
+ margin: 136px 0 30px;
|
|
li{
|
|
li{
|
|
width: 33.33%;
|
|
width: 33.33%;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
@@ -137,37 +138,71 @@
|
|
position: relative;
|
|
position: relative;
|
|
//头部图片
|
|
//头部图片
|
|
.products-services-img{
|
|
.products-services-img{
|
|
- width: 148px;
|
|
|
|
height: 173px;
|
|
height: 173px;
|
|
position: absolute;
|
|
position: absolute;
|
|
top: -80px;
|
|
top: -80px;
|
|
left: 50%;
|
|
left: 50%;
|
|
- margin-left: -74px;
|
|
|
|
- background-image: url("~@/assets/images/website/index/" + "index-products-kaoshi.png");
|
|
|
|
|
|
+ transition: .3s all linear;
|
|
|
|
+ i{
|
|
|
|
+ display: block;
|
|
|
|
+ position: absolute;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ //内容区域
|
|
|
|
+ .products-services-content{
|
|
|
|
+ padding: 120px 32px 48px 32px;
|
|
|
|
+ transition: .3s all linear;
|
|
|
|
+ @include setFontStyle(-4);
|
|
|
|
+ h2{@include setFontStyle(4);color: rgba(0,0,0,0.85);text-align: center;margin-bottom: 24px;}
|
|
|
|
+ p{line-height: 24px;color: rgba(0,0,0,0.65);margin-bottom: 56px;text-align: justify;min-height: 144px;@include multi-line-ellipsis(6);}
|
|
|
|
+ a{background: #2B5CFD;border-radius: 4px;color: rgba(255, 255, 255, 0.85);cursor: pointer;width: 120px;height: 32px;line-height: 32px;display: block;text-align: center;margin: 0 auto;}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
li:nth-child(1){
|
|
li:nth-child(1){
|
|
-
|
|
|
|
|
|
+ .products-services-img{
|
|
|
|
+ width: 148px;
|
|
|
|
+ margin-left: -74px;
|
|
|
|
+ background-image: url("~@/assets/images/website/index/" + "index-products-kaoshi.png");
|
|
|
|
+ i{width:57px;height:41px;top: 28px;left: 50px;background-image: url("~@/assets/images/website/index/" + "index-products-kaoshi-icon.png");animation: 3s servicesImgUpDown linear infinite;}
|
|
|
|
+ }
|
|
}
|
|
}
|
|
li:nth-child(2){
|
|
li:nth-child(2){
|
|
-
|
|
|
|
|
|
+ .products-services-img{
|
|
|
|
+ width: 138px;
|
|
|
|
+ margin-left: -69px;
|
|
|
|
+ background-image: url("~@/assets/images/website/index/" + "index-products-peixun.png");
|
|
|
|
+ i{width:31px;height:45px;top: 28px;left: 60px;background-image: url("~@/assets/images/website/index/" + "index-products-peixun-icon.png");animation: 3s servicesImgUpDown linear infinite;}
|
|
|
|
+ }
|
|
}
|
|
}
|
|
li:nth-child(3){
|
|
li:nth-child(3){
|
|
-
|
|
|
|
- }
|
|
|
|
- //内容区域
|
|
|
|
- .products-services-content{
|
|
|
|
- padding: 120px 32px 48px 32px;
|
|
|
|
- transition: .3s all linear;
|
|
|
|
- h2{@include setFontStyle(4);color: rgba(0,0,0,0.85);text-align: center;}
|
|
|
|
- a{@include setFontStyle(-4);background: #2B5CFD;border-radius: 4px;color: rgba(255, 255, 255, 0.85);cursor: pointer;width: 120px;height: 32px;line-height: 32px;display: block;text-align: center;margin: 0 auto;}
|
|
|
|
|
|
+ .products-services-img{
|
|
|
|
+ width: 155px;
|
|
|
|
+ margin-left: -77px;
|
|
|
|
+ background-image: url("~@/assets/images/website/index/" + "index-products-kejian.png");
|
|
|
|
+ i{width:48px;height:48px;top: 35px;left: 45px;background-image: url("~@/assets/images/website/index/" + "index-products-kejian-icon.png");transform:rotate(0);animation: 4s servicesImgRotate linear infinite;}
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- .products-services-content:hover{
|
|
|
|
- cursor: default;
|
|
|
|
- box-shadow: 0 4px 8px 0 rgba(214,214,214,0.76);
|
|
|
|
- border-radius: 8px;
|
|
|
|
|
|
+ //小图标动画效果
|
|
|
|
+ //饼图动画效果
|
|
|
|
+ @keyframes servicesImgUpDown {
|
|
|
|
+ 0%, to {top: 28px}
|
|
|
|
+ 50% {top: 40px;}
|
|
|
|
+ }
|
|
|
|
+ @keyframes servicesImgRotate{
|
|
|
|
+ from {transform:rotate(0);}
|
|
|
|
+ to {transform:rotate(360deg);}
|
|
|
|
+ }
|
|
|
|
+ // li-鼠标悬浮效果
|
|
|
|
+ li:hover{
|
|
|
|
+ //头部图片
|
|
|
|
+ .products-services-img{top: -100px;}
|
|
|
|
+ //内容区域
|
|
|
|
+ .products-services-content{
|
|
|
|
+ cursor: default;
|
|
|
|
+ box-shadow: 0 4px 8px 0 rgba(214,214,214,0.76);
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|