Browse Source

改变滚动方向

master
[liang] 3 years ago
parent
commit
7fba7a438e
  1. 14
      src/components/seamless/index.vue

14
src/components/seamless/index.vue

@ -38,16 +38,11 @@ export default {
},
data() {
return {
}
},
computed: {
optionSetting() {
return {
optionSetting: {
step: 0.5, //
limitMoveNum: 2, // this.dataList.length
limitMoveNum: this.listData.length, // this.dataList.length
hoverStop: false, // stop
direction: 1, // 0 1 2 3
direction: 0, // 0 1 2 3
// autoPlay: false,
openWatch: true, // dom
singleHeight: 0, // (0) direction => 0/1
@ -55,6 +50,9 @@ export default {
waitTime: 1000 // (1000ms)
}
}
},
computed: {
},
mounted() {

Loading…
Cancel
Save