MrShi
2025-01-02 77d8f6ccb72cb64c29e77c39fcc8298781d008bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<template>
  <vue-scroll :ops="options">
    <slot></slot>
  </vue-scroll>
</template>
 
<script>
import VueScroll from 'vuescroll'
export default {
  name: 'Scrollbar',
  components: { VueScroll },
  data () {
    return {
      options: {
        bar: {
          background: 'rgba(20,20,20,.3)'
        }
      }
    }
  }
}
</script>