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

Loading…
Cancel
Save