shaogen1995 2 vuotta sitten
vanhempi
commit
42b510e04d
2 muutettua tiedostoa jossa 38 lisäystä ja 22 poistoa
  1. 5 5
      H5场景/public/static/css/oldVer/main0.css
  2. 33 17
      定制化热点/src/views/Home.vue

+ 5 - 5
H5场景/public/static/css/oldVer/main0.css

@@ -93,13 +93,13 @@ iframe {
 }
 
 #closepop {
-	background: url('../../images/phone_step_01.png') no-repeat;
-	width: 60px;
-	height: 60px;
+	background: url(../../images/phone_step_01.png) no-repeat;
+	width: 30px;
+	height: 30px;
 	cursor: pointer;
 	position: absolute;
-	right: 30px;
-	top: 30px;
+	right: 20px;
+	top: 10px;
 	text-indent: -999em;
 	background-size: 100% 100%;
 }

+ 33 - 17
定制化热点/src/views/Home.vue

@@ -114,23 +114,7 @@ export default {
     height: calc(100% - 50px);
     width: 100%;
     overflow-y: auto;
-    // &::-webkit-scrollbar {
-    //   /*滚动条整体样式*/
-    //   width: 3px; /*高宽分别对应横竖滚动条的尺寸*/
-    //   height: 1px;
-    // }
-    // &::-webkit-scrollbar-thumb {
-    //   /*滚动条里面小方块*/
-    //   border-radius: 10px;
-    //   -webkit-box-shadow: inset 0 0 5px transparent;
-    //   background: #ccc;
-    // }
-    // &::-webkit-scrollbar-track {
-    //   /*滚动条里面轨道*/
-    //   -webkit-box-shadow: inset 0 0 5px transparent;
-    //   border-radius: 10px;
-    //   background: transparent;
-    // }
+
     .imgBox {
       height: 80vh;
       position: relative;
@@ -189,4 +173,36 @@ export default {
     }
   }
 }
+@media screen and (min-width: 1200px) {
+  .Home {
+    .main {
+      &::-webkit-scrollbar {
+        /*滚动条整体样式*/
+        width: 3px; /*高宽分别对应横竖滚动条的尺寸*/
+        height: 1px;
+      }
+      &::-webkit-scrollbar-thumb {
+        /*滚动条里面小方块*/
+        border-radius: 10px;
+        -webkit-box-shadow: inset 0 0 5px transparent;
+        background: #ccc;
+      }
+      &::-webkit-scrollbar-track {
+        /*滚动条里面轨道*/
+        -webkit-box-shadow: inset 0 0 5px transparent;
+        border-radius: 10px;
+        background: transparent;
+      }
+      .imgBox {
+        .warpper {
+          .swiper-wrapper {
+            img {
+              cursor: pointer;
+            }
+          }
+        }
+      }
+    }
+  }
+}
 </style>