lyh
5 天以前 c60e141e9b43be2eb5122eaa7da13bc0cf3848cd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<template>
  <div>
      <router-view></router-view>
    <!--<HelloWorld></HelloWorld>-->
    </div>
</template>
 
<script>
export default {
 
  data() {
    return {
      name: 'app'
    }
  },
  methods: {
 
   },
  created: function(newPath) {
  }
}
</script>
 
<style>
  * {
    -webkit-user-select:text;
    padding: 0;
    margin: 0;
  }
  ::-webkit-scrollbar {
width:1vh; /*滚动条宽度*/
height: 1vh; /*滚动条高度*/
background-color: white;
}
 
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background-color: rgba(221, 222, 224); /*滚动条的背景颜色*/
border-radius:5%;
}
</style>