SKY-20221114TUK\Administrator 1 year ago
parent
commit
4216dd1427
2 changed files with 18 additions and 15 deletions
  1. 18 12
      src/views/components/solution.vue
  2. 0 3
      src/views/index.vue

+ 18 - 12
src/views/components/solution.vue

@@ -228,10 +228,15 @@
 	transition: all .5s;
 	transition: all .5s;
 	&>.title{
 	&>.title{
 		height: 3vw;
 		height: 3vw;
-		background-color: blue;
 		font-size: 1.5vw;
 		font-size: 1.5vw;
+		line-height: 3vw;
+		width: 100%;
+		padding-left: 3vw;
+		&>span{
+			float:left;
 		}
 		}
-		& >ul{
+	}
+	& >ul{
 			position: absolute;
 			position: absolute;
 			top:3vw;
 			top:3vw;
 			left:100%;
 			left:100%;
@@ -239,7 +244,7 @@
 			width: 100%;
 			width: 100%;
 			height: 20vw;
 			height: 20vw;
 			/* 超出部分隐藏 */
 			/* 超出部分隐藏 */
-			// overflow: hidden;
+			overflow: hidden;
 			/* 过渡为0.3秒 */
 			/* 过渡为0.3秒 */
 			transition: all .5s;
 			transition: all .5s;
 			&>li{
 			&>li{
@@ -267,7 +272,7 @@
 					color: #fff;
 					color: #fff;
 					/* 文字遮罩层 */
 					/* 文字遮罩层 */
 					background-color: rgba(0, 0, 0, .3);
 					background-color: rgba(0, 0, 0, .3);
-					transition: all .3s;
+					transition: all .5s;
 				}
 				}
 				&>.item{
 				&>.item{
 					position: absolute;
 					position: absolute;
@@ -277,7 +282,6 @@
 					height: calc(100% - 0vw);
 					height: calc(100% - 0vw);
 					transform-style: preserve-3d;
 					transform-style: preserve-3d;
 					perspective: 25vw;
 					perspective: 25vw;
-					// transition: all 2s;
 					&>div{
 					&>div{
 						position: absolute;
 						position: absolute;
 						top:0;
 						top:0;
@@ -298,26 +302,28 @@
 							z-index:14;
 							z-index:14;
 							opacity: 1;
 							opacity: 1;
 							background:url("../../assets/images/solution/swcs/1.jpg") no-repeat center center;
 							background:url("../../assets/images/solution/swcs/1.jpg") no-repeat center center;
-							background-size:  contain;
+							background-size:  cover;
 						}
 						}
 						&>.item12{
 						&>.item12{
 							z-index:14;
 							z-index:14;
 							opacity: 0;
 							opacity: 0;
 							position: absolute;
 							position: absolute;
 							top:0;
 							top:0;
-							left:0;
+							right:0;
+							background-color: #aa55ff;
 							width: calc(100% - 0vw);
 							width: calc(100% - 0vw);
 							height: calc(100% - 0vw);
 							height: calc(100% - 0vw);
 							background:url("../../assets/images/solution/swcs/2.jpg") no-repeat center center;
 							background:url("../../assets/images/solution/swcs/2.jpg") no-repeat center center;
-							background-size:  contain;
+							background-size:  cover;
 							transform: rotateY(180deg);
 							transform: rotateY(180deg);
 						}
 						}
 					}
 					}
 					&>.item2{
 					&>.item2{
 						z-index:3;
 						z-index:3;
 						background:url("../../assets/images/solution/swcs/3.jpg") no-repeat center center;
 						background:url("../../assets/images/solution/swcs/3.jpg") no-repeat center center;
-						background-size:  contain;
+						background-size: cover;
 						opacity: 0;	
 						opacity: 0;	
+						background-color: antiquewhite;
 					}
 					}
 					&>.item3{
 					&>.item3{
 						transform-origin: 100% 50%;
 						transform-origin: 100% 50%;
@@ -330,7 +336,7 @@
 							width: calc(100% - 0vw);
 							width: calc(100% - 0vw);
 							height: calc(100% - 0vw);
 							height: calc(100% - 0vw);
 							background:url("../../assets/images/solution/swcs/5.jpg") no-repeat center center;
 							background:url("../../assets/images/solution/swcs/5.jpg") no-repeat center center;
-							background-size:  contain;
+							background-size:  cover;
 						}
 						}
 						&>.item32{
 						&>.item32{
 							z-index:12;
 							z-index:12;
@@ -341,7 +347,7 @@
 							width: calc(100% - 0vw);
 							width: calc(100% - 0vw);
 							height: calc(100% - 0vw);
 							height: calc(100% - 0vw);
 							background:url("../../assets/images/solution/swcs/4.jpg") no-repeat center center;
 							background:url("../../assets/images/solution/swcs/4.jpg") no-repeat center center;
-							background-size:  contain;
+							background-size:  cover;
 							transform: rotateY(180deg);
 							transform: rotateY(180deg);
 							
 							
 						}
 						}
@@ -365,7 +371,7 @@
 	    height: 43vw
 	    height: 43vw
 	}
 	}
 	.box:hover ul {
 	.box:hover ul {
-	    height: 4vw;
+	    height: 43vw;
 		animation-play-state: paused;
 		animation-play-state: paused;
 	
 	
 	}
 	}

+ 0 - 3
src/views/index.vue

@@ -3,9 +3,6 @@
 	import product from './components/product.vue'
 	import product from './components/product.vue'
 	import videos from './components/videos.vue'
 	import videos from './components/videos.vue'
 	import solution from './components/solution.vue'
 	import solution from './components/solution.vue'
-
-	
-	
 </script>
 </script>
 
 
 <template>
 <template>