DESKTOP-GBVU60Q\dell vor 1 Jahr
Ursprung
Commit
6a2c0a75af
2 geänderte Dateien mit 10 neuen und 1 gelöschten Zeilen
  1. 2 1
      src/components/jt-popup/jt-popup.vue
  2. 8 0
      src/views/test/components/WeatherWatch.vue

+ 2 - 1
src/components/jt-popup/jt-popup.vue

@@ -312,8 +312,9 @@
 	@keyframes slide-bottom {
 		0% {
 			opacity: 0;
-			transform: translateY(100%)
+			transform: translateY(-100%)
 		}
+		
 
 		100% {
 			opacity: 1;

+ 8 - 0
src/views/test/components/WeatherWatch.vue

@@ -91,11 +91,19 @@
 		margin-left: 38rem;
 	}
 	
+	.main::-webkit-scrollbar {
+		width: 0px;
+		background-color: rgba(0,0,0,0);
+		// 滚动条整体样式
+		// 高宽分别对应横竖滚动条的尺寸
+	}
+	
 	.main{
 		width:100%;
 		height:100%;
 		display:flex;
 		margin-top: 10rem;
+		overflow:scroll;
 		flex:2;
 		flex-wrap: wrap;
 		justify-content: space-around;