lex hace 1 año
padre
commit
69984b8555
Se han modificado 1 ficheros con 12 adiciones y 13 borrados
  1. 12 13
      src/views/courseware-list/index.module.less

+ 12 - 13
src/views/courseware-list/index.module.less

@@ -5,8 +5,7 @@
   width: 100vw;
   height: 100vh;
   overflow: hidden;
-  background: url('../../common/images/icon_bg.png') no-repeat center center /
-    cover;
+  background: url('../../common/images/icon_bg.png') no-repeat center center / cover;
   display: flex;
   flex-direction: column;
 }
@@ -268,18 +267,14 @@
     height: 100%;
     z-index: 2;
     background-repeat: no-repeat;
-    background-image: linear-gradient(
-        to right,
+    background-image: linear-gradient(to right,
         rgba(0, 0, 0, 0.2) 0,
         rgba(255, 255, 255, 0.08) 0%,
-        transparent 0.5%
-      ),
-      linear-gradient(
-        to right,
+        transparent 0.5%),
+      linear-gradient(to right,
         rgba(0, 0, 0, 0.1) 0.3%,
         rgba(255, 255, 255, 0.09) 1.1%,
-        transparent 1.3%
-      );
+        transparent 1.3%);
     background-size: 50% 100%, 50% 100%;
     background-position: 0% top, 9% top;
   }
@@ -292,6 +287,7 @@
       transition: opacity 0.3s ease-in-out;
     }
   }
+
   &.loaded {
     img {
       opacity: 1;
@@ -337,7 +333,7 @@
   padding-top: 12px;
 
   .searchList {
-    padding: 0 0px 0 11px;
+    padding: 0 4px 0 11px;
     max-height: 58vh;
     overflow-x: hidden;
     overflow-y: auto;
@@ -368,16 +364,19 @@
     // gap: 8px 9px;
     padding-top: 11px;
     padding-bottom: 14px;
+    margin-left: -4px;
+    margin-right: -4px;
 
     :global {
       .van-tag {
-        padding: 7px 24px;
+        padding: 7px 22px;
         height: 30px;
         font-size: 12px;
         background: #f6f6f6;
         border: none;
         color: #333333;
-        margin-right: 8px;
+        margin-right: 4px;
+        margin-left: 4px;
         margin-bottom: 9px;
       }