2 Revize f8f99227fd ... b6e4ca3a3a

Autor SHA1 Zpráva Datum
  林旭祥 b6e4ca3a3a Merge branch 'dev' of http://git.trops-global.com/linxuxiang/tropsCode into dev před 4 týdny
  林旭祥 9795514103 添加滚动条 před 4 týdny
1 změnil soubory, kde provedl 21 přidání a 0 odebrání
  1. 21 0
      src/views/train/multiple.vue

+ 21 - 0
src/views/train/multiple.vue

@@ -1666,6 +1666,27 @@ $waiPadding: 6.51rem;
   $listMargin: 5vw;
   $listWidth: calc((100% - $listMargin) / 10);
 
+  height: calc((($listMargin / 10) + 14vh) * 5);
+  overflow-y: scroll;
+
+  &::-webkit-scrollbar {
+    width: 10px;
+  }
+
+  &::-webkit-scrollbar-thumb {
+    border-width: 2px;
+    border-radius: 4px;
+    border-style: dashed;
+    border-color: transparent;
+    background-color: rgba(26, 62, 78, 0.9);
+    background-clip: padding-box;
+  }
+
+  &::-webkit-scrollbar-button:hover {
+    border-radius: 6px;
+    background: rgba(26, 62, 78, 1);
+  }
+
   .ul {
     width: 100%;
     height: 14vh;