zengyicheng 2 лет назад
Родитель
Сommit
cdcba0d656
1 измененных файлов с 20 добавлено и 0 удалено
  1. 20 0
      src/components/components/pdf2.vue

+ 20 - 0
src/components/components/pdf2.vue

@@ -261,4 +261,24 @@ export default {
   color: #fff;
   background-color: #066ebe;
 }
+
+.pdf::-webkit-scrollbar {
+  /*滚动条整体样式*/
+  width: 6px;
+  /*高宽分别对应横竖滚动条的尺寸*/
+  height: 6px;
+}
+
+/*定义滚动条轨道 内阴影+圆角*/
+.pdf::-webkit-scrollbar {
+  border-radius: 10px;
+  background-color: #B8BDC9;
+}
+
+/*定义滑块 内阴影+圆角*/
+.pdf::-webkit-scrollbar-thumb {
+  border-radius: 10px;
+  -webkit-box-shadow: inset 0 0 6px rgb(96, 125, 184);
+  background-color: #2c5ab3;
+}
 </style>