reifne
This commit is contained in:
parent
0f9774f5cf
commit
606bb7e7b5
|
@ -17,7 +17,6 @@ export default {
|
|||
methods: {
|
||||
handleScroll(e) {
|
||||
const eventDelta = e.wheelDelta || -e.deltaY * 40
|
||||
console.log(eventDelta)
|
||||
const $scrollWrapper = this.$refs.scrollContainer.$refs.wrap
|
||||
$scrollWrapper.scrollLeft = $scrollWrapper.scrollLeft + eventDelta / 4
|
||||
},
|
||||
|
|
|
@ -144,6 +144,9 @@ export default {
|
|||
&:first-of-type {
|
||||
margin-left: 15px;
|
||||
}
|
||||
&:last-of-type {
|
||||
margin-right: 15px;
|
||||
}
|
||||
&.active {
|
||||
background-color: #42b983;
|
||||
color: #fff;
|
||||
|
|
Loading…
Reference in New Issue